我没装linux之前,xp装在第一个分区内,就是(hd0,0)。
同时还装有一键ghost和winPE。
boot.ini 文件如下:
引用:
[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(1)\windows
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\windows="Microsoft Windows Vista" /noexecute=optin /fastdetect
c:\ghldr=一键Ghost v11.0
C:\MAOTAO\MAOTAO.BIN="WinPE By: 老毛桃"
后用PM重新分区并且安装了Ubuntu在(hd0,1)中,同时安装了Grub,分区情况如下:
现在准备用Grub引导一键ghost和PE。捣鼓了一阵只搞定了一键ghost。
PE的引导怎么也弄不对。。。
同时我还想加上Boot from CDROM的引导项。
诸位给看看,因该怎么弄。。。
附上我的menu.lst:
引用:
......
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=8354d44f-7483-4e4a-bf6b-04913aec23e9 ro quiet splash locale=zh_CN vga=769
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=8354d44f-7483-4e4a-bf6b-04913aec23e9 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP or PE
root (hd0,0)
savedefault
makeactive
chainloader +1
title ONE KEY GHOST V11.0
clear
password --md5 $1$2$LfEFgkv1I94s.rzSFXss.1
kernel (hd0,0)/dosh/ghos/memdisk c=8640 h=4 s=36 floppy
initrd (hd0,0)/dosh/ghos/ghost.img
#title WinPE
#不会弄。。。
#title Boot from CDROM
#也不会弄。。。
title Shutdown My Laptop
halt
[
本帖最后由 凭栏听潮 于 2008-3-28 13:01 编辑 ]