|
我的U盘使用ntldr引导,从boot.ini进入grldr。
从grldr载入内置菜单正常。
但是当选择某项启动的时候,提示can not find file.
U盘被识别为(fd0) fat16
为试验U盘到底是什么
menu.list如下
default 0
timeout 5
color yellow/blue
title 1KEY GHOST v8.3
map --mem /boot/ghos/ghost83.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title pe(fd0)
root (fd0)
chainloader /PELDR
title pe(hd0,0)
root (hd0,0)
chainloader /PELDR
title pe(hd1,0)
root (hd1,0)
chainloader /PELDR
title DOS
root (fd0)/RDOS.IMG
map --mem /RDOS.IMG (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
map --floppies=1
title Boot From NT Loader
find --set-root /NTLDR
chainloader /NTLDR
title Grub Command Line
commandline
title Reboot Computer
reboot
title Shutdown
halt
各选项中Boot From NT Loader可以从硬盘启动系统,重启和关闭都可以
但是其它每个选项得到的结果都是can not find file 或can not mount partition
后进行如下试验:
So, let's say that you have (besides your /Windows or whatever folder) the files on the stick:
NTLDR
NTDETECT.COM
BOOT.INI
and that you can see (boot normally) the BOOT.INI choices.
Now add to boot.ini a line like:
C:\grldr="Grub4Dos"
Download from here:
http://grub4dos.jot.com/WikiHome
0.4.2pre9:
http://grub4dos.jot.com/WikiHome/grub_for_dos-0.4.2pre9.zip
Extract from the zip:
grldr
menu.lst
and copy them to the stick.
Boot from the stick, choose the grub4dos entry in boot.ini, you should get to the Grub boot menu.
Now press c (for command line) and input
find ( tab
the above is "find"+[SPACE]+open left parenthesis+[TAB]
You should have a result like:
Possible drives are (fd0) (cd) (rd)
Try pressing f [TAB], it should autocomplete to
find (fd0)
add a / (slash) and press [TAB] again, it should autocomplete to something like to
Possible files are: NTLDR, NTDETECT.COM, BOOT.INI, grldr, menu.lst,....
The above is to make sure that the stick is seen as first floppy (fd0) and you have NO hard disks connected.
Now input this commands (press [ENTER] at the end of each line:
map --read-only (fd0) (hd0,0)
map --hook
chainloader (hd0,0)/NTLDR
boot
You should get again to the BOOT.INI choice, try this time booting the "normal" windows entry.
Report what happens.
It's just an idea, mind you , but we are trying to fool NTLDR and NTDETECT.COM that the stick is first hard disk (hd0,0) instead of floppy (fd0).
但走到
find ( tab
the above is "find"+[SPACE]+open left parenthesis+[TAB]
You should have a result like:
时返回结果却是
Possible drives are hd0, rd
被识别为fd0,却返回hd0,于是我的menulist进行了多种尝试
曾经使用
find --set-root /PELDR
来查找U盘,但是不成功。
我用的老毛桃用的那个grldr,曾经试过0.43版grub中的grldr,未能加载菜单,到CMAIN().....下面有一串代码就不走了,连热启动都不能重启计算机
之前,我用NTLDR直接读取WINNT.XPE来加载winPE.is_成功单引导至PE成功。
请问各位,这又如何解决
[ 本帖最后由 kohain 于 2007-11-18 09:33 AM 编辑 ] |
|