|
eleee
初级用户
 
积分 109
发帖 3
注册 2005-3-10
状态 离线
|
『第 61 楼』:
使用 LLM 解释/回答一下
我使用的grub_for_dos-0.4.0pre4.tar.gz这个包,拷贝到虚拟机的硬盘上执行
ROOT (FD0)
SETUP (FD0)
将GRUB安装到软盘,然后我把软盘上的所有文件都删除,只保留了GRLDR,作了IMA镜像成功在虚拟机上引导,作了ISO也成功在虚拟机上引导。不过blue所说的问题确实很奇怪,我用他提供的IMG文件也可以从软盘引导,但是做成ISO也不能从光盘引导。
以上试验都在VPC2004(VIRTUAL PC 2004)下进行。
I used the grub_for_dos-0.4.0pre4.tar.gz package, copied it to the hard disk of the virtual machine and executed
ROOT (FD0)
SETUP (FD0)
Install GRUB to the floppy disk. Then I deleted all the files on the floppy disk and only kept GRLDR. I made an IMA image and successfully booted in the virtual machine. I also made an ISO and successfully booted in the virtual machine. However, the problem mentioned by blue is really strange. I can boot from the floppy disk using the IMG file he provided, but I can't boot from the CD-ROM when making it into an ISO.
All the above experiments were carried out under VPC2004 (VIRTUAL PC 2004).
|
|
2005-3-12 00:00 |
|
|
eleee
初级用户
 
积分 109
发帖 3
注册 2005-3-10
状态 离线
|
『第 62 楼』:
使用 LLM 解释/回答一下
有一点我觉得奇怪,我把grldr删除掉(这个时候看上去就像一张空白磁盘),完全依靠软盘的引导信息也可以引导到grub的菜单界面。
但是blue所描述的情况我也遇到了,换句话说不是每次都能成功的引导,我这里更严重,有时候连做成的软盘IMA映像也无法引导(这个时候软盘也无法引导,只出现GRUB这4个字符闪现)。
目前正在进一步测试中。
又试了一次,成功了,步骤如下:
在A:建立BOOT\GRUB目录,拷贝STAGE1和STAGE2到这个目录下
从C:运行GRUB.EXE,执行安装到软盘的命令
然后删除掉BOOT目录,作IMA引导成功,作ISO引导成功。
希望能有更多的朋友来测试。
最后我想请教一下不点和blue,能否从光盘上#直接#运行GRUB,而不是把它做成引导软盘IMG,然后将它集成到光盘上,如果有的话能否告知方法和相关的下载,谢谢!我知道通过使用BootLoader for Grub或者EASYBOOT可以实现。
There is one thing that I find strange. I deleted grldr (at this time it looks like a blank disk), and I can still boot to the GRUB menu interface completely relying on the boot information of the floppy disk. But I also encountered the situation described by blue. In other words, it is not successful every time to boot. Here, it is more serious. Sometimes even the made floppy disk IMA image cannot be booted (at this time, the floppy disk cannot be booted, and only the 4 characters "GRUB" flash). Currently, further testing is in progress. Tried again and succeeded. The steps are as follows:
Establish the BOOT\GRUB directory in A:, and copy STAGE1 and STAGE2 to this directory.
Run GRUB.EXE from C:, and execute the command to install to the floppy disk.
Then delete the BOOT directory, and the IMA boot is successful, and the ISO boot is successful.
Hope more friends can test.
Finally, I would like to ask Budian and blue, can I directly run GRUB from the CD instead of making it into a boot floppy IMG and then integrating it into the CD? If there is, can you inform the method and related downloads? Thank you! I know that it can be achieved by using BootLoader for Grub or EASYBOOT.
|
|
2005-3-12 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 63 楼』:
使用 LLM 解释/回答一下
>我是在虚拟机VPC5.2版下测试的,光盘制作工具就是用UltraISO,您提到的三种可能都不存在.这样吧,我将我做的grldr.img上传上来,该镜像用的是您ftp上3月9日最新的grldr制作的,用在软驱上(真实的,虚拟的,虚拟机的)都可正常启动,但做成启动光盘就不能启动了.麻烦您试验下看看究竟是什么原因?
我刚刚用你提供的这个 grldr.img 制作了光盘,用 qemu 启动,正常显示其中的 menu , 用真实机启动,也是同样正常的。这就基本可以肯定是你们所用的虚拟机太次了。要不,你们也用真实机测试,看看是否正常呢?或者你们换一种虚拟机测试,看看如何?
> I tested it under the virtual machine VPC version 5.2. The CD-making tool is UltraISO. The three possibilities you mentioned do not exist. Well, I will upload the grldr.img I made. This image uses the latest grldr from your FTP on March 9. It can start normally when used on a floppy drive (real, virtual, virtual machine), but cannot start when made into a bootable CD. Please test it to see what the reason is?
I just made a CD with the grldr.img you provided. It is displayed normally in the menu when started with qemu, and also normally when started with a real machine. This basically can confirm that the virtual machine you are using is too bad. Otherwise, you can also test with a real machine to see if it is normal? Or you can change to another virtual machine to test, see how it is?
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-12 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 64 楼』:
使用 LLM 解释/回答一下
> 我使用的grub_for_dos-0.4.0pre4.tar.gz这个包,拷贝到虚拟机的硬盘上执行
> ROOT (FD0)
> SETUP (FD0)
> 将GRUB安装到软盘,然后我把软盘上的所有文件都删除,只保留了GRLDR,.......
看到这里不用再看下去了。这个做法是错误的。你的安装是采用老式的 GNU GRUB 的方式(root, setup 之类的),而你却想引导GRLDR,这是不可能的。你必须按照 GRLDR 的安装方式(自己找相关说明,比如 http://grub.linuxeden.com/),才可以引导 GRLDR,否则,你只能引导旧式的 stage2 文件而已。
> I used the grub_for_dos-0.4.0pre4.tar.gz package, copied it to the virtual machine's hard drive and executed
> ROOT (FD0)
> SETUP (FD0)
> Install GRUB to the floppy disk, then I deleted all the files on the floppy disk and only kept GRLDR, .......
> You don't need to read further. This approach is wrong. Your installation uses the old-fashioned GNU GRUB method (root, setup, etc.), but you want to boot GRLDR, which is impossible. You must follow the GRLDR installation method (find relevant instructions yourself, such as http://grub.linuxeden.com/), only then can you boot GRLDR, otherwise, you can only boot the old-fashioned stage2 file.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-12 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 65 楼』:
使用 LLM 解释/回答一下
> 又试了一次,成功了,步骤如下:
> 在A:建立BOOT\GRUB目录,拷贝STAGE1和STAGE2到这个目录下
> 从C:运行GRUB.EXE,执行安装到软盘的命令
> 然后删除掉BOOT目录,作IMA引导成功,作ISO引导成功。
你把含有 stage2 的目录删掉,居然也能启动到 GRUB,这正是原来旧式的 GNU GRUB安装方式的滑稽之处,这是不安全的。一旦你拷贝文件覆盖掉 stage2 文件所占据的物理空间,你的引导立即宣告失败。因此,虽然你删掉了 boot目录,但是,你并不可以利用这些空间来存放其它文件。
> 最后我想请教一下不点和blue,能否从光盘上#直接#运行GRUB,而不是把它做成引导软盘IMG,然后将它集成到光盘上,如果有的话能否告知方法和相关的下载,谢谢!我知道通过使用BootLoader for Grub或者EASYBOOT可以实现。
“直接运行 GRUB”,好像有歧义吧。怎么才叫做直接呢?如果你是指 no-emulation mode 的光盘启动标准,那么在搜索引擎中搜stage2_eltorito 就可以知道将 GRUB 直接安装到光盘的方法的。我刚刚也上载了 pre4 的 stage2_eltorito文件到 FTP 空间:
ftp://ftp.linuxeden.com/tinybit/stage2_eltorito
你在读完你搜索到的相关文章之后,可以用这个文件来制作你的GRUB可引导光盘。
> Tried it again, and it succeeded. The steps are as follows:
> Create the BOOT\GRUB directory in A:, and copy STAGE1 and STAGE2 to this directory
> Run GRUB.EXE from C:, and execute the command to install to the floppy disk
> Then delete the BOOT directory, the IMA boot is successful, and the ISO boot is successful.
You deleted the directory containing stage2, and it can still boot to GRUB. This is the funny thing about the original old-fashioned GNU GRUB installation method, which is unsafe. Once you copy a file to overwrite the physical space occupied by the stage2 file, your boot will immediately fail. Therefore, although you deleted the boot directory, you cannot use these spaces to store other files.
> Finally, I want to ask BuDian and blue, can I run GRUB directly from the CD, instead of making it into a bootable floppy disk IMG and then integrating it into the CD? If there is any, can you inform the method and related downloads, thank you! I know that this can be achieved by using BootLoader for Grub or EASYBOOT.
"Run GRUB directly" seems ambiguous. How is it considered direct? If you mean the no-emulation mode CD boot standard, then searching for stage2_eltorito in a search engine will let you know the method to install GRUB directly to the CD. I just uploaded the pre4 stage2_eltorito file to the FTP space:
ftp://ftp.linuxeden.com/tinybit/stage2_eltorito
After reading the relevant articles you searched, you can use this file to make your GRUB bootable CD.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-12 00:00 |
|
|
hnlyzhd
高级用户
   
积分 544
发帖 164
注册 2004-10-17
状态 离线
|
『第 66 楼』:
使用 LLM 解释/回答一下
关于做GRUB引导的光盘请到下面下载http://bbs.wuyou.com/cgi-bin/topic.cgi?forum=34&topic=7376然后 把这个文件做为光盘引导文件,用ULTRAISO加载,或用EZB调用都可以,只是要放一个STAGE2文件在光盘的BOOT文件夹中,要不启动文件找不到STAGE2,就无法启动GRUB了,还有就是你的MENU.LST中的文件路径(cd)/后面的所有路径全部要大写,OK?
For the GRUB bootable CD, please download it from the following link: http://bbs.wuyou.com/cgi-bin/topic.cgi?forum=34&topic=7376. Then, use this file as the CD boot file. You can load it with ULTRAISO or call it with EZB. Just make sure to place a STAGE2 file in the BOOT folder of the CD. Otherwise, the boot file won't find STAGE2 and GRUB won't be able to start. Also, all the paths after (cd)/ in your MENU.LST need to be in uppercase. OK?
|

我的留言簿
http://hnlyzhd.ys168.com 我的网络盘
|
|
2005-3-12 00:00 |
|
|
Esme
初级用户
 
积分 170
发帖 35
注册 2005-2-24
状态 离线
|
『第 67 楼』:
使用 LLM 解释/回答一下
现在的pre4版本好繁琐啊,开机时如果不手动按键的话,非要等5秒boot mbr,再等5秒find grldr,0.4.0pre和以前的就不用,说实话mbr功能对我的电脑来说是鸡肋,因为我是单一硬盘单一分区我看过grldr的代码,呵呵,本人很菜,看不懂,但为什么写在boot previous MBR前面的,可以设置menu.lst的默认路径的代码无论怎么设置都得不到执行呢,还有什么办法或者怎么修改才能不用等那两个5秒?通过修改哪段代码可以让这两段命令的timeout由5变成0?
The current pre4 version is quite cumbersome. When booting, if you don't press a key manually, you have to wait 5 seconds for the boot MBR and then another 5 seconds to find grldr. The 0.4.0pre and previous versions don't need that. To be honest, the MBR function is a chicken rib for my computer because I have a single hard disk and a single partition. I've looked at the code of grldr, hehe, I'm very amateurish and can't understand it, but why is the code that can set the default path of menu.lst written before boot previous MBR, and no matter how I set it, it doesn't get executed? What other methods are there or how to modify it so that I don't have to wait those two 5 seconds? Which part of the code can be modified to change the timeout of these two commands from 5 to 0?
|
|
2005-3-20 00:00 |
|
|
lilo1024
初级用户
 
积分 118
发帖 1
注册 2004-3-2
状态 离线
|
『第 68 楼』:
使用 LLM 解释/回答一下
grub4dos相对于软盘来说还是太大了,改用syslinux吧,配合memdisk,什么dos下的exe/sys压缩工具都不需要了,因为memdisk支持zip、gz格式。我自己做的启动软盘就非常简洁,根目录下就只ldlinux.sys、memdisk、syslinux.cfg、dos.zip、sbm.gz、cia.gz六个文件,其中三个是镜像。当然,syslinux的功能少了点,但用在软盘上正合适。至于grub4dos,我看还是用在硬盘、光盘或者优盘上比较好。
GRUB4DOS is still too large compared to floppy disks. Let's switch to SYSLINUX, combined with MEMDISK. No need for any DOS EXE/SYS compression tools, because MEMDISK supports ZIP and GZ formats. The boot floppy disk I made myself is very concise, with only six files in the root directory: LDLINUX.SYS, MEMDISK, SYSLINUX.CFG, DOS.ZIP, SBM.GZ, CIA.GZ. Among them, three are images. Of course, SYSLINUX has fewer functions, but it's just right for floppy disks. As for GRUB4DOS, I think it's better to use it on hard disks, CDs, or USB drives.
|
|
2005-3-20 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 69 楼』:
使用 LLM 解释/回答一下
Esme:
pre4是测试用的,在正式版时,默认不再优先执行 previous MBR 了。现在如果你把 GRLDR开头的第三个字节 00 改成十六进制的 80,那么就禁止了该功能,正式版也将这么做。不提供修改 timeout值的方法,要想修改的话,只有自己直接修改源程序了。
今后由我发布的版本将不再查找 boot/grub/ 之下的 menu 了,而只查找根目录下的 menu.lst 文件。所以,以前在boot/grub/ 目录的菜单,都会失效的。之所以现在就这么改,是因为我发现 NTFS模块存在很大的问题,它有时不能正确打开子目录下的文件,而可以正常打开根目录下的文件。顺便说,大家如果要仿真运行某个 img文件,注意要把该文件放在 NTFS 的根目录,否则,可能会在打开它时失败,或者虽然能打开,但得到的文件内容是错的。
Esme:
pre4 is for testing. In the official version, the previous MBR will no longer be executed by default. Now if you change the third byte 00 at the beginning of GRLDR to hexadecimal 80, then this function is disabled, and the official version will do so. There is no way to modify the timeout value. If you want to modify it, you can only directly modify the source code.
In the future, the versions released by me will no longer look for menu under boot/grub/, but only look for the menu.lst file in the root directory. So the menus in the boot/grub/ directory before will all become invalid. The reason for changing it now is because I found that there are big problems with the NTFS module. Sometimes it cannot correctly open files in subdirectories, but can open files in the root directory normally. By the way, if everyone wants to simulate and run a certain img file, please note that put the file in the root directory of NTFS, otherwise, it may fail to open it, or although it can be opened, the file content obtained is wrong.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-20 00:00 |
|
|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 70 楼』:
使用 LLM 解释/回答一下
dear tinybit,wish you release the new version of grldr as soon as posible! <img src="images/smilies/face-laugh.png" align="absmiddle" border="0">
dear tinybit,wish you release the new version of grldr as soon as possible! :)
|
|
2005-3-20 00:00 |
|
|
Esme
初级用户
 
积分 170
发帖 35
注册 2005-2-24
状态 离线
|
『第 71 楼』:
使用 LLM 解释/回答一下
谢谢!我将00改为80后确实不再执行previous MBR了但是我又发现了新问题,似乎pre4和ntfsdos pro在中断上存在冲突,我用虚拟的软驱img正常启动后执行ntfsdos pro,显示成功发现ntfs盘,盘符被设为c。可是接下来无论我再执行什么命令(在虚拟的a盘下),甚至dir,cd..这样普通的命令,都会死机。pre版本则没有这个问题,一切正常
Thanks! After I changed 00 to 80, the previous MBR is indeed no longer executed, but I found a new problem. It seems there is a conflict between pre4 and ntfsdos pro. After I use the virtual floppy disk img to boot normally and execute ntfsdos pro, it shows that the ntfs disk is successfully found and the drive letter is set to c. But then no matter what command I execute next (under the virtual drive a), even commands like dir, cd.., the computer will crash. The pre version has no such problem and everything is normal.
|
|
2005-3-20 00:00 |
|
|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 72 楼』:
使用 LLM 解释/回答一下
ntfs4dos is much better than ntfs pro
ntfs4dos is much better than ntfs pro
|
|
2005-3-21 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 73 楼』:
使用 LLM 解释/回答一下
大家不要着急,pre4没有大的问题。我本来是打算把它作为正式版发布的。不过目前看来,还有一些小的地方需要作出补充或完善。其一是刚才所说的previous MBR, 默认将不再优先执行(而是在查找GRLDR失败后才执行);其二是以前的版本都漏掉了 stage2_eltorito文件,这是用来制作 no-emulation 模式的可引导光盘的,下一个发布将包括它。
> 但是我又发现了新问题,似乎pre4和ntfsdos pro在中断上存在冲突,
> 我用虚拟的软驱img正常启动后执行ntfsdospro,显示成功发现ntfs盘,
> 盘符被设为c。可是接下来无论我再执行什么命令(在虚拟的a盘下),
> 甚至dir,cd..这样普通的命令,都会死机。pre版本则没有这个问题,一切正常
这我就不太清楚了。pre4 比 pre在磁盘仿真代码方面,做了很多改进,去除了很多错误,目前我觉得在仿真代码部分是很强健的,不应当再有什么大大小小的问题了。注意我们的 --mem都是利用 int15 来处理内存的各种操作,例如,确定扩展内存的大小,在常规内存和扩展内存之间移动内存块等等。如果某个软件有BUG,当然它有可能在新的版本下失败。我编写这段仿真程序时,将业界规范都已经看过了,我搜集到的这些规范在http://grub.linuxeden.com/ 上都能够找到。
不过问题既然出现了,我们还是应当尽力去找到原因的,如果能够找到的话。在 pre4 之前还发布了 pre2 和 pre3,请你进一步看看它们有没有问题,把测试结果报告一下,我好据以判断出产生该问题的根本原因,先谢谢了。
Don't worry everyone, there are no major issues with pre4. I originally intended to release it as the official version. But it seems there are still some small areas that need to be supplemented or improved. The first is that the previously mentioned previous MBR will no longer be executed preferentially (but will be executed only after failing to find GRLDR); the second is that the stage2_eltorito file was omitted in previous versions, which is used to make bootable CDs in no-emulation mode, and it will be included in the next release.
> But I found a new problem, it seems there is a conflict between pre4 and ntfsdos pro in interrupts.
> After I normally boot with the virtual floppy img and execute ntfsdospro, it shows that the ntfs disk is successfully found, and the drive letter is set to c. But then no matter what command I execute next (under the virtual A drive), even commands like dir, cd.., the computer will crash. The pre version has no such problem and everything is normal.
I'm not very clear about this. Pre4 has made a lot of improvements in the disk emulation code compared to pre, removing many errors. Currently, I think the emulation code part is very robust and there shouldn't be any problems, big or small. Note that our --mem all use int15 to handle various memory operations, such as determining the size of extended memory, moving memory blocks between conventional memory and extended memory, etc. If a software has a BUG, of course it may fail under the new version. When I wrote this emulation program, I have read all the industry specifications, and these specifications I collected can be found on http://grub.linuxeden.com/.
But since the problem has occurred, we should still try our best to find the reason, if possible. Before pre4, pre2 and pre3 were also released. Please further check if they have any problems and report the test results, so that I can judge the root cause of the problem. Thank you in advance.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-21 00:00 |
|
|
Esme
初级用户
 
积分 170
发帖 35
注册 2005-2-24
状态 离线
|
『第 74 楼』:
使用 LLM 解释/回答一下
呵呵,我不知道去哪能下到pre2和pre3,甚至pre,因为下了pre4就把之前的删掉了新dos那只有最新的,论坛上那个ftp打不开
Hehe, I don't know where to download pre2 and pre3, or even pre, because after downloading pre4, I deleted the previous ones. The new DOS only has the latest one, and the FTP on the forum can't be opened.
|
|
2005-3-21 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 75 楼』:
使用 LLM 解释/回答一下
这个 FTP 可以打开,如果打不开,等半小时之后再试:
ftp://ftp.linuxeden.com/tinybit/
This FTP can be opened. If it can't be opened, try again after half an hour:
ftp://ftp.linuxeden.com/tinybit/
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-21 00:00 |
|
|