|
引用光盘上的文件,使用绝对路径。
同时要注意大小些。
下面是我用的grub菜单,仅供参考。
------------------------------------
color white/green yellow/green
timeout 3
password --md5 $1$5$jsGtVo0c88ndMdo6JZfrJ0
title 0, GGhost 2008 [Ghost v11] (map-mem)
map --mem (cd)/boot/grub/gghost.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title 1, GGhost 2008 [Ghost v11] (memdisk)
fallback 0
kernel (cd)/boot/grub/memdisk.gz c=280 h=2 s=36 floppy
initrd (cd)/boot/grub/gghost.img c=280 h=2 s=36 floppy
title 2, GGhost 2008 [PQDI v5.7] (map-mem)
map --mem (cd)/boot/grub/gpqdi.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title 3, GGhost 2008 [PQDI v5.7] (memdisk)
fallback 2
kernel (cd)/boot/grub/memdisk.gz
initrd (cd)/boot/grub/gpqdi.img
title 4, GGhost 2008 [TIDOS] (map-mem)
map --mem (cd)/boot/grub/gtidos.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title 5, GGhost 2008 [TIDOS] (memdisk)
fallback 4
kernel (cd)/boot/grub/memdisk.gz
initrd (cd)/boot/grub/gtidos.img
title 6, Boot NT/2000/XP/2003
find --set-root /ntldr
chainloader /ntldr
title 7, Boot Vista
find --set-root /bootmgr
chainloader /bootmgr
title 8, Boot from Hard Drive (hd0,0)
root (hd0,0)
chainloader +1
title 9, Boot from Hard Drive (hd0,1)
root (hd0,1)
chainloader +1
title 10, Reboot
reboot
title 11, Shutdown
halt
title 12, Boot TEST.ISO
find --set-root /test.iso
map --mem /test.iso (0xff)
map --hook
chainloader (0xff)
title 13, test
map --mem (cd)/test.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0) |
|