|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 46 楼』:
使用 LLM 解释/回答一下
多谢不点兄,我用WinHex将grldr的第4扇区覆盖软盘的第1扇区,并恢复了事先保存的软盘第1扇区第3到第62这60个字节到原位置,在虚拟机中成功启动,但问题又来了,我发现将此image做成可引导CD,在虚拟机中却不能启动,而之前用stage1,stage2方式制作的image做成可引导CD,在虚拟机中启动很顺利.还有一点,用虚拟软驱vFloppy虚拟启动后,如下项目不可用了:
title Boot from image file (hd0,0)/floppy.img
map --mem (hd0,0)/floppy.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title Smart Boot Manager
map --mem /sbm.gz (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title Memtest86+
kernel /memtest.gz
Thanks, Mr. Budian. I used WinHex to overwrite the 4th sector of grldr with the first sector of the floppy disk, and restored the original positions of the 60 bytes from the 3rd to the 62nd in the first sector of the floppy disk that I had saved in advance. It started successfully in the virtual machine, but then another problem arose. I found that when making this image into a bootable CD, it couldn't start in the virtual machine, while the previous image made using the stage1, stage2 method started smoothly in the virtual machine. Also, after using the virtual floppy drive vFloppy to boot virtually, the following items are unavailable:
title Boot from image file (hd0,0)/floppy.img
map --mem (hd0,0)/floppy.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title Smart Boot Manager
map --mem /sbm.gz (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title Memtest86+
kernel /memtest.gz
|
|
2005-3-7 00:00 |
|
|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 47 楼』:
使用 LLM 解释/回答一下
酷啊!grub_for_dos-0.4.0pre4支持单分区代替整个硬盘的image镜像在内存里仿真运行了!不点兄辛苦了!
Cool! grub_for_dos-0.4.0pre4 supports running image images of single partitions instead of the entire hard disk in memory for simulation! Brother Budian has worked hard!
|
|
2005-3-9 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 48 楼』:
使用 LLM 解释/回答一下
> 在虚拟机中成功启动,但问题又来了,我发现将此image做成可引导CD,在虚拟机中却不能启动,menu.lst界面出不来.
”不能启动“ 与 ”menu.lst界面出不来“ 这说得有些含糊。究竟是”启动了但只能进入命令行“呢?还是根本就不能启动(比如死机)?
如果是前者,这就不算是太大的问题。新的 GRLDR 不再查找 boot/grub/menu.lst 而只查找根目录的menu.lst,所以如果你的软盘根目录没有 menu.lst ,则进入命令行是正确的。现在我们不需要 boot/grub/这个目录了,直接删除它吧。
---------------------------------------------------
> 还有一点,grldr方式的image用虚拟软驱vFloppy虚拟启动后,如下项目不可用了。
这个问题我目前还感到不可思议,按道理是不应当出现的。我接下来会研究一下产生这个问题的原因。但你也可以提供更进一步的信息,帮助解决这一问题。我相信,最终问题应当能够得到解决,因为我们从中似乎发现不了“必然失败”的理由。blue兄也辛苦了,非常地谢谢你。
> Successfully booted in the virtual machine, but the problem arises again. I found that when making this image into a bootable CD, it cannot boot in the virtual machine, and the menu.lst interface does not appear.
"The inability to boot" and "the menu.lst interface not appearing" are somewhat vague. Is it "booted but only entering the command line"? Or is it simply unable to boot (such as crashing)?
If it is the former, this is not too big of an issue. The new GRLDR no longer looks for boot/grub/menu.lst but only looks for menu.lst in the root directory. So if there is no menu.lst in the root directory of your floppy disk, entering the command line is correct. Now we don't need the boot/grub/ directory anymore, just delete it.
---------------------------------------------------
> There is another point. After using the grldr -style image to boot virtually with the virtual floppy drive vFloppy, the following items are no longer available.
I am currently still amazed by this problem. According to reason, it should not occur. I will next study the reason for this problem. But you can also provide more detailed information to help solve this problem. I believe that ultimately the problem should be solvable because we don't seem to find a reason for "inevitably failing" from this. Brother blue has also worked hard, thank you very much.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-10 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 49 楼』:
使用 LLM 解释/回答一下
你可以在命令行之下逐个敲如这些命令序列,看看究竟那个命令返回失败的信息。
你的第一个例子,应当是成功的。
title Boot from image file (hd0,0)/floppy.img
map --mem (hd0,0)/floppy.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
这第二个例子,如果失败的话,可能是缺少 root 造成的。像如下这样添加上就应当好了。
title Smart Boot Manager
map --mem (hd0,0)/sbm.gz (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)这第三个例子,和上述第二个一样,也是缺少 root,添加上就应当行了。
title Memtest86+
kernel (hd0,0)/memtest.gz
很抱歉关于 GRLDR 以及 GRUB4DOS 的操作方式目前缺乏详细的技术说明。的确,GRUB4DOS 和 GNU GRUB 有差异。比如以下这一点:
GRLDR 的位置是活动的,它不是像 stage2 那样完全是死定的(stage2的物理扇区位置被记录到 stage1 或者stage1.5 中)。如此的差别,就使得 GRUB4DOS在启动后不能确定它的”当前“驱动器,也就是说,其”当前“驱动器是一个无效的概念。而stage1,stage2 这种 GNU GRUB在setup 的时候就硬性确定了”当前“的 boot设备,所以,它具有”当前“这个概念。我猜想,主要是这个差别,导致了以上问题的出现,解决的办法就是在菜单中用root命令明确设定默认为”当前“的设备,或者在每个文件名之前都加上它所在的设备名,这样就不会打开文件时失败了。
You can type these command sequences one by one in the command line and see which command returns a failure message.
Your first example should be successful.
title Boot from image file (hd0,0)/floppy.img
map --mem (hd0,0)/floppy.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
This second example, if it fails, may be due to the lack of root. Just add it as follows.
title Smart Boot Manager
map --mem (hd0,0)/sbm.gz (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)This third example is the same as the second above, also lacking root, and adding it should work.
title Memtest86+
kernel (hd0,0)/memtest.gz
I'm sorry that there is currently a lack of detailed technical explanations about the operation methods of GRLDR and GRUB4DOS. Indeed, there are differences between GRUB4DOS and GNU GRUB. For example, the following point:
The location of GRLDR is active, and it is not completely fixed like stage2 (the physical sector location of stage2 is recorded in stage1 or stage1.5). Such a difference makes GRUB4DOS unable to determine its "current" drive after booting, that is, its "current" drive is an invalid concept. However, in GNU GRUB, stage1 and stage2 hard - determine the "current" boot device during setup, so it has the concept of "current". I guess, mainly this difference leads to the above problems. The solution is to explicitly set the default "current" device with the root command in the menu, or add the device name where each file is located before each file name, so that there will be no failure when opening the file.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-10 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 50 楼』:
使用 LLM 解释/回答一下
> 酷啊!grub_for_dos-0.4.0pre4支持单分区代替整个硬盘的image镜像在内存里仿真运行了!
是的,这个功能已经具备了。但我本人还没有完全测试这个功能。我只是简单做了如下测试:
我用一个 win98 的 1.44M 软盘镜像文件 win98dos.img 来仿真硬盘 (hd0) 是成功的。
map --mem (hd0,0)/win98dos.img (hd0)
map --hook
chainloader (hd0)+1
rootnoverify (hd0)
boot
由于软盘映象和硬盘分区的格式没有太大的差别,所以,这样也就等于测试了硬盘分区的仿真功能。似乎 memdisk 以及其它类似软件还没能提供这个功能。希望这个功能可以给大家带来方便。
> Cool! grub_for_dos-0.4.0pre4 supports running an image of a single partition instead of the entire hard drive in memory for emulation!
Yes, this function is already available. But I haven't fully tested this function myself. I just did the following simple test:
I successfully emulated a hard drive (hd0) using a 1.44M floppy disk image file of win98, win98dos.img.
map --mem (hd0,0)/win98dos.img (hd0)
map --hook
chainloader (hd0)+1
rootnoverify (hd0)
boot
Since the format of the floppy disk image and the hard drive partition are not much different, this also equals testing the emulation function of the hard drive partition. It seems that memdisk and other similar software haven't provided this function yet. I hope this function can bring convenience to everyone.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-10 00:00 |
|
|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 51 楼』:
使用 LLM 解释/回答一下
不点兄,十分感谢你认真详细的回答,可能我表达意思不够明确:
用grldr引导的Image,做成可启动光盘后,用在虚拟机启动,机器自检后根本就无法启动了,一直黑屏.
更正一下:不仅仅是grldr引导的image经vFloppy模拟启动后上述项目不能用,就是stage1,stage2方式引导的image经vFloppy模拟启动后上述项目也不能用,而只要不用vFloppy模拟启动,不论是grldr或是stage1,stage2引导的image用在真实软驱,虚拟机软驱,以及做成可启动光盘,上述项目都可以用.我想是否和vFloppy自身模拟方式有关?vFloppy好像是用memdsk方式模拟运行image的,而grub用memdrive方式,不能嵌套重复模拟?不知我的瞎猜能否给您提供一个解决方向?谢谢!
Brother Budian, I'm very grateful for your serious and detailed answer. Maybe my expression wasn't clear enough:
After making an Image bootable with a CD using grldr boot, when booting in a virtual machine, the machine can't boot at all after the self-check, just a black screen all the time.
Correcting: Not only the Image booted by grldr through vFloppy simulation can't use the above items, but also the Image booted by the stage1, stage2 method through vFloppy simulation can't use the above items. But as long as it's not booted through vFloppy simulation, whether it's the Image booted by grldr or stage1, stage2, used in a real floppy drive, a virtual machine floppy drive, or made into a bootable CD, the above items can all be used. I wonder if it's related to the simulation method of vFloppy itself? vFloppy seems to simulate the operation of the Image in the memdsk way, while grub uses the memdrive way, and can't nest and simulate repeatedly? I don't know if my random guess can provide you with a solution direction? Thanks!
|
|
2005-3-10 00:00 |
|
|
hnlyzhd
高级用户
   
积分 544
发帖 164
注册 2004-10-17
状态 离线
|
『第 52 楼』:
使用 LLM 解释/回答一下
不点兄,这几天好忙,今天下载了你的GRLDR可以正确引导扩展FAT分区上的GRLDR了,真的很好,并且载取其引导扇区后,可以正确加载GANDLAF的中文GRLDR,但他的不支持自动寻找各分区根目录的MENU.LST,希望你能在最终版时放出个中文的GRLDR,还有你上面提到的只找根目录的LST不太好,我认为应该在根目录上和原来那样自动找BOOT及GRUB文件夹下和MENU.LST文件...
Bu Dian bro, I've been really busy these past few days. Today I downloaded your GRLDR and it can correctly boot the GRLDR on the extended FAT partition. It's really good. And after extracting its boot sector, I can correctly load GANDLAF's Chinese GRLDR. But his doesn't support automatically finding the MENU.LST in each partition's root directory. I hope you can release a Chinese GRLDR in the final version. Also, the LST you mentioned earlier that only looks for the root directory isn't very good. I think it should look in the root directory and also automatically find the MENU.LST files in the BOOT and GRUB folders as before...
|

我的留言簿
http://hnlyzhd.ys168.com 我的网络盘
|
|
2005-3-10 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 53 楼』:
使用 LLM 解释/回答一下
> 用grldr引导的Image,做成可启动光盘后,用在虚拟机启动,机器自检后根本就无法启动了,一直黑屏.
这段话理解起来也不是太容易,可能你是想简而言之,少费笔墨。
做成可启动光盘,这应当能够启动到 GRUB 的状态。你说的问题,大概是说此时无法再用这个 GRUB来引导一个虚拟仿真的启动设备,而启动常规的非虚拟设备是正常的。如果情况是这样的,我觉得有很多种可能,比如说,你用的命令序列有什么不对的,或者BIOS 有什么问题,或者你启动的操作系统有问题,等等吧。如果 BIOS 不支持int15/eax=e820h调用,或者这个调用存在BUG,或者BIOS可启动光驱本身的软盘仿真部分也有问题,那么就无法正常使用GRUB4DOS所提供的仿真功能。不光是 grub4dos 有问题,你用 memdisk 或者其它类似软件也照样会出现同样问题的。
> 还有,grldr引导的软盘,不是直接寻找menu.lst,而是经过搜寻5,6个os_setup什么的再最终调出menu.lst.怎么和您ftp里qlinux_setup.img引导方式一样啊?qlinux_setup.img引导后立即搜寻os_setup可以理解,但grldr为何也这样呢?
最新的 pre4 已经去掉 os_setup 这些了,只留下 /menu.lst 一个了。就连 /boot/grub/menu.lst 都不再支持了。
> 更正一下我昨天的"误报军情":不仅仅是grldr引导的image经vFloppy模拟启动后上述项目不能用,就是stage1,stage2方式引导的image经vFloppy模拟启动后上述项目也不能用,而只要不用vFloppy模拟启动,不论是grldr或是stage1,stage2引导的image用在真实软驱,虚拟机软驱,以及做成可启动光盘,上述项目都可以用.我想是否和vFloppy自身模拟方式有关?vFloppy好像是用memdsk方式模拟运行image的,而grub用memdrive方式,不能嵌套重复模拟?不知我的瞎猜能否给您提供一个解决方向?谢谢!
这么说来问题就在 vFloppy 本身了。vFloppy 不是开放源码的软件,外界恐怕不容易把握它的一些深层的东西吧。所以我觉得应当向 vFloppy 的开发者询问,才比较容易获得一个满意的答复。我很早都知道有 vFloppy 这个软件,但我本人并没有用过 vFloppy,因而也不能给您提供点什么帮助。谢谢您提供的这些信息,让我对此能够有所了解。
> After using grldr to boot an Image and making it into a bootable CD, when booting in a virtual machine, the machine fails to boot after POST and remains black screen all the time.
This passage is not too easy to understand. Maybe you want to be concise and save words.
Making it into a bootable CD, it should be able to boot to the GRUB state. The problem you mentioned probably means that at this time, you can no longer use this GRUB to boot a virtual simulation startup device, while booting a regular non-virtual device is normal. If this is the case, there are many possibilities, such as incorrect command sequence you used, or BIOS issues, or problematic operating system you booted, etc. If the BIOS does not support int15/eax=e820h call, or this call has a bug, or the floppy emulation part of the BIOS bootable CD-ROM itself is also problematic, then the emulation function provided by GRUB4DOS cannot be used normally. Not only is grub4dos problematic, but the same problem will also occur if you use memdisk or other similar software.
> Also, the floppy disk guided by grldr does not directly look for menu.lst, but searches for 5 or 6 os_setup, etc. before finally bringing up menu.lst. Why is it the same as the boot method of qlinux_setup.img in your ftp? qlinux_setup.img can be understood to search for os_setup immediately after booting, but why does grldr also do this?
The latest pre4 has removed these os_setup and others, leaving only /menu.lst. Even /boot/grub/menu.lst is no longer supported.
> Correct my "false alarm" yesterday: It's not only that the items above cannot be used when the image guided by grldr is simulated and started by vFloppy, but also that the items above cannot be used when the image guided by stage1 and stage2 is simulated and started by vFloppy. And as long as it is not simulated and started by vFloppy, whether it is the image guided by grldr or stage1 and stage2, when used in a real floppy drive, virtual machine floppy drive, and made into a bootable CD, the above items can be used. I wonder if it has something to do with the simulation method of vFloppy itself? vFloppy seems to simulate the operation of the image in memdsk mode, while GRUB uses memdrive mode, and nested repeated simulation is not possible? I don't know if my guess can provide you with a solution direction? Thank you!
In that case, the problem is with vFloppy itself. vFloppy is not open source software, and it is difficult for outsiders to grasp some of its deep things. So I think you should ask the developer of vFloppy to get a satisfactory answer more easily. I have known about the vFloppy software for a long time, but I have not used vFloppy myself, so I can't provide you with any help. Thank you for providing these information, which makes me have some understanding of this.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-10 00:00 |
|
|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 54 楼』:
使用 LLM 解释/回答一下
"用grldr引导的Image,做成可启动光盘后,用在虚拟机启动,机器自检后根本就无法启动了,一直黑屏."
就是说用您介绍的方法将grldr安装在软盘上,保存为Image,此Image可以在真实软驱中,虚拟机软驱中正常启动;但如果将此Image作为引导文件做成启动光盘,此光盘却根本不能启动.
但是,用root (fd0),setup (fd0)方式,将/boot/grub/stage1,stage2安装在软盘上,保存为Image,此Image则可以用在所有场合.此Image作为引导文件做成启动光盘完全可以启动.
我的疑问是,为何用grldr引导方式的Image,作为引导文件做成启动光盘无法启动?
"The Image guided by grldr, after making it into a bootable CD, when booted in a virtual machine, the machine fails to boot completely after self-testing, and it's always a black screen."
That is to say, using the method you introduced to install grldr on a floppy disk and save it as an Image, this Image can start normally in a real floppy drive and a virtual machine floppy drive; but if this Image is made into a boot CD as a boot file, this CD cannot boot at all.
However, using the method of root (fd0), setup (fd0) to install /boot/grub/stage1, stage2 on a floppy disk and save it as an Image, this Image can be used in all occasions. This Image made into a boot CD as a boot file can start completely.
My question is, why does the Image guided by the grldr method fail to boot when made into a boot CD as a boot file?
|
|
2005-3-10 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 55 楼』:
使用 LLM 解释/回答一下
> 载取其引导扇区后,可以正确加载GANDLAF的中文GRLDR,但他的不支持自动寻找各分区根目录的MENU.LST,希望你能在最终版时放出个中文的GRLDR, .......
我不打算做中文版的,至少目前没有时间。我得把 linux 的分区给彻底支持了才行,我认为这个才要紧。等我们支持了 linux的分区之后,我们也就准备开始淘汰老式的 GNU GRUB 的过程了。我们的游动式查找方法,比 GNU GRUB的固定式查找方法要优越得多,也强健得多,理应逐步得到大家的认同。这话我本来不想说的,但是这里确实有不少人关心中文化,而对 linux不很关心,大家可能偏重于希望有个中文化的 GRUB版本,因此我也就把我的打算说出来了,我个人认为,中文化可以以后再考虑也不迟,现在GRLDR(安装到MBR)对linux的支持应当是迫切的。虽然linux的各种文件系统都有源代码,但是,支持它们并非容易的事情。
另外我认为,Gandalf 不可能彻底离开 GRUB 的开发,他迟早还会发布新版本的。诸位如果能代替他发布,也是可以的呀,为什么不可以呢?世界上的事情,只有想不到,没有做不到。
> 还有你上面提到的只找根目录的LST不太好,我认为应该在根目录上和原来那样自动找BOOT及GRUB文件夹下和MENU.LST文件...
是的,现在只支持根目录了。短期看,这会存在兼容性问题,但是长期看,这是值得的。微软的习惯是把所有与系统启动有关的重要东西都放在根目录,我比较赞成遵从微软这个习惯。当初 GNU GRUB 把启动目录设定在 /boot/grub/,我认为是不太恰当的。也许他们这么做也有道理,那便是,那些用来支持各种文件系统的 stage1_5 文件竟然不下于十个,如果把这许多的stages 文件都放在根目录,那也不很雅观,所以开发者开辟了一个目录 boot 用来专门存放这些文件。
我们现在不同了,那些 stages 文件,一个也用不上,全部要废弃,我们只要一个 GRLDR,外加一个 menu.lst,全部都解决了。不为别的,就为美观,也得废弃掉 boot 目录。
After extracting its boot sector, the Chinese GRLDR of GANDLAF can be loaded correctly, but its MENU.LST that does not support automatically finding the root directories of each partition is hoped. I don't plan to make a Chinese version, at least not having time for now. I have to thoroughly support the Linux partitions. I think this is the most important. After we support Linux partitions, we are also ready to start the process of phasing out the old GNU GRUB. Our mobile search method is much more superior and robust than GNU GRUB's fixed search method and should gradually be recognized by everyone. I didn't want to say this, but there are indeed many people here concerned about Chinese localization but not very concerned about Linux. Everyone may prefer to have a Chinese localized GRUB version, so I'll just state my plan. Personally, I think Chinese localization can be considered later. Now, the support for Linux by GRLDR (installed to MBR) should be urgent. Although there are source codes for various file systems of Linux, it's not easy to support them.
In addition, what you mentioned above that only finding the LST in the root directory is not good. I think it should automatically find the MENU.LST file in the root directory and the BOOT and GRUB folders as before...
Yes, now it only supports the root directory. In the short term, this will have compatibility issues, but in the long term, it's worth it. Microsoft's habit is to put all important things related to system startup in the root directory, and I relatively agree to follow this Microsoft habit. Originally, GNU GRUB set the boot directory at /boot/grub/, which I think is not very appropriate. Maybe they have their reasons, that is, those stage1_5 files used to support various file systems are as many as more than ten. If all these many stages files are placed in the root directory, it's not very elegant, so the developer opened a directory boot to specifically store these files.
We are different now. Those stages files, none are needed, all to be discarded. We just need a GRLDR and a menu.lst, all solved. Not for other reasons, just for elegance, we have to discard the boot directory.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-10 00:00 |
|
|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 56 楼』:
使用 LLM 解释/回答一下
实在不好意思,我前天用的grldr不是最新pre4版的,我今天用最新版安装到软盘,启动先出来如下界面:
find /menu.lst
enter commandline mode
5秒倒计时后就出来了menu.lst界面.我的误报,给您添麻烦了.
但是,还有个问题依旧没解决,就是将该软盘保存为image,将此image作为引导文件做成启动光盘,在虚拟机中测试,依然不能启动,除了机器自检,什么界面都出不来.
如果老方法制作的含stage1,stage2的image,做成启动光盘则可以顺利启动,调出menu.lst.
I'm really sorry. The grldr I used the day before yesterday wasn't the latest pre4 version. I installed the latest version onto a floppy disk today. When booting, the following interface appeared first:
find /menu.lst
enter commandline mode
After a 5-second countdown, the menu.lst interface came out. It was my false alarm, causing you trouble.
But there's still one problem that hasn't been solved. That is, saving this floppy disk as an image, using this image as the boot file to make a bootable CD, and testing it in a virtual machine still can't boot. No interface appears except the machine self-test.
If the old method is used to make an image containing stage1 and stage2, making it into a bootable CD can boot smoothly and bring up menu.lst.
|
|
2005-3-10 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 57 楼』:
使用 LLM 解释/回答一下
> 我的疑问是,为何用grldr引导的Image,做成可启动光盘后无法启动?
今天有别的事情,这个问题估计也不容易马上能有个解决,明天再谈。
> 还有我的确是用pre4的最新3月9日的grldr安装在软盘上的,启动后在menu.lst出来之前还是出现了一系列 os_setup 等,最后才调出menu.lst,因此很不解,请教原因.
这不会吧,一定是你搞错了。我已经试验过了很多台机器,都是只有 find /menu.lst 出现了。
> My question is, why does the Image booted by grldr fail to boot after being made into a bootable CD?
I have other things to do today. This problem probably won't be solved immediately, let's talk about it tomorrow.
> Also, I did install the latest grldr from pre4 on March 9th on a floppy disk. Before the menu.lst appeared after booting, a series of os_setup and other things appeared, and then menu.lst was called up. Therefore, I am very puzzled, please ask the reason.
This can't be. You must have made a mistake. I have tested many machines, and only find /menu.lst appears.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-10 00:00 |
|
|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 58 楼』:
使用 LLM 解释/回答一下
实在不好意思,我前天用的grldr不是最新pre4版的,我今天用最新版安装到软盘,启动先出来如下界面:
find /menu.lst
enter commandline mode
5秒倒计时后就出来了menu.lst界面.我的误报,给您添麻烦了.
但是,还有个问题依旧没解决,就是将该软盘保存为image,将此image作为引导文件做成启动光盘,在虚拟机中测试,依然不能启动,除了机器自检,什么界面都出不来.
如果老方法制作的含stage1,stage2的image,做成启动光盘则可以顺利启动.
I'm really sorry. The grldr I used the day before yesterday wasn't the latest pre4 version. I installed the latest version onto a floppy disk today. When I booted up, the following interface appeared first:
find /menu.lst
enter commandline mode
After a 5-second countdown, the menu.lst interface came up. It was my false alarm, causing you trouble.
But there's still one problem that hasn't been solved. That is, saving this floppy disk as an image and using this image as the boot file to make a bootable CD-ROM, when tested in a virtual machine, it still can't boot. Except for the machine self-test, no interface appears.
If I use the old method to make an image containing stage1 and stage2 and make a bootable CD-ROM, it can boot smoothly.
|
|
2005-3-11 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 59 楼』:
使用 LLM 解释/回答一下
我又检查了一遍 GRLDR 第四扇区的代码,未发现任何错误。
我制作了一个用 grldr 来引导的光盘,在虚拟机和真实机中都能成功启动并进入通常的 menu 界面。我采用的虚拟机是 qemu软件。由此看来,你所遇到的错误估计还是由于你自己的什么失误造成的。如果你能确认绝对不是由于你自己的失误造成的,那还可能有以下一些原因:
1。你所用的虚拟机不能完全遵守 BIOS 启动规范(这是多年以来早已被广泛认可的工业标准),比如在从 CDROM 引导的时候,不能正确地将 DL=0 传递给光盘中软盘映象的引导代码。这也就是说,虚拟机的BIOS存在BUG。
2。你所用的虚拟机不能完全遵守 BIOS 启动规范(这是多年以来早已被广泛认可的工业标准),比如在从 CDROM 引导的时候,不能正确地将软盘规格数据(C/H/S) 传递给光盘中软盘映象的引导代码,导致该引导代码在调用 int13时出现误读或失败。这也就是说,虚拟机的BIOS存在BUG。
3。你的光盘制作工具,或者ISO文件制作工具含有未知的 (或者随机的) BUG,比如将软盘映象的位置搞错,从而制作出了一个无效的、不可引导的光盘。
大致情况应当就是这样的,除了上述这些情况以外,应当不会再有其它的可能了。
I rechecked the code in the fourth sector of GRLDR and found no errors.
I made a CD that is booted by grldr, and it can successfully start in both the virtual machine and the real machine and enter the usual menu interface. The virtual machine I used is the qemu software. It seems that the error you encountered is probably caused by some mistake of your own. If you can confirm that it is definitely not caused by your own mistake, there may be the following some reasons:
1. The virtual machine you use cannot fully comply with the BIOS boot specification (this has been a widely recognized industry standard for many years). For example, when booting from CDROM, it cannot correctly pass DL=0 to the boot code of the floppy disk image in the CD. That is to say, the BIOS of the virtual machine has a bug.
2. The virtual machine you use cannot fully comply with the BIOS boot specification (this has been a widely recognized industry standard for many years). For example, when booting from CDROM, it cannot correctly pass the floppy disk specification data (C/H/S) to the boot code of the floppy disk image in the CD, resulting in misreading or failure when the boot code calls int13. That is to say, the BIOS of the virtual machine has a bug.
3. The CD making tool or ISO file making tool you use has an unknown (or random) bug. For example, it misplaces the floppy disk image, thus making an invalid and unbootable CD.
The general situation should be like this. Except for the above situations, there should be no other possibilities.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-11 00:00 |
|
|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 60 楼』:
使用 LLM 解释/回答一下
不点兄,老是打扰麻烦你,真是不好意思,我是在虚拟机VPC5.2版下测试的,光盘制作工具就是用UltraISO,您提到的三种可能都不存在.这样吧,我将我做的grldr.img上传上来,该镜像用的是您ftp上3月9日最新的grldr制作的,用在软驱上(真实的,虚拟的,虚拟机的)都可正常启动,但做成启动光盘就不能启动了.麻烦您试验下看看究竟是什么原因? 打开附件
Brother Budian, I'm really sorry to keep bothering you. I'm testing under the virtual machine VPC 5.2 version. The disc - making tool is UltraISO. The three possibilities you mentioned don't exist. Well, I'll upload the grldr.img I made. This image is made with the latest grldr from your FTP on March 9th. It can start normally when used on a floppy drive (real, virtual, or in a virtual machine), but it can't start when made into a bootable disc. Could you please test it to see what the reason is? Open the attachment
|
|
2005-3-11 00:00 |
|
|