|
1022版
- debug off
- timeout 9
- default 0
- find --set-root --devices=h --ignore-floppies --ignore-cd /grub/menu.lst && call set mdr = %@root^%
- font %mdr%/grub/ft.gz
- splashimage %mdr%/grub/f.gz
- write 0x8274 0x2001
- title DOS
- map --mem %mdr%/grub/dos.img(fd0)
- map --hookchainloader (fd0)+1
- rootnoverify (fd0)
- boot
- iftitle [find --set-root --devices=h /my.img && call set mr=%@root^%] myimg %mr%:\\my.img\n\
- map --mem %mr%/my.img (fd0)
- map --hookchainloader (fd0)+1
- rootnoverify (fd0)
- boot
- iftitle [find --set-root --devices=h /ntldr && call set dr=%@root^%] winxp\n\
- chainloader %dr%/ntldr
复制代码
同样是这样的菜单,MY.IMG和NTLDR在同一C盘根目录下,MY.IMG能搜索并显示出来及引导,而NTLDR就是怎么也搜索不到?并且也不显示WINXP菜单项,是不是因为NTLDR的文件属性问题呢?
[ 本帖最后由 木头人 于 2012-10-25 00:24 编辑 ] |
|