分页: 1 / 1

[已解决]求助先安装ubuntu后用ghost安装xp为双系统怎么引导xp?

发表于 : 2008-04-24 22:28
阿卟
怕破坏grub 所以我用ghost安装xp到一个分区上 但是现在开机的话grub只有ubuntu启动选择 不能选择xp


============
看http://forum.ubuntu.org.cn/viewtopic.php?p=713730#713730 已经解决

发表于 : 2008-04-24 22:57
阿卟
tt@tt-desktop:~$ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x28612860

Device Boot Start End Blocks Id System
/dev/sda1 * 1 11478 92197003+ 83 Linux
/dev/sda2 19128 19457 2650725 5 Extended
/dev/sda3 11479 12625 9213277+ c W95 FAT32 (LBA)
/dev/sda4 12626 19127 52227315 b W95 FAT32
/dev/sda5 19128 19457 2650693+ 82 Linux swap / Solaris

Partition table entries are not in disk order

发表于 : 2008-04-24 23:36
liangfaxiang
grub还在的话好办

在你的menu.lst 加上这样一段

title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root /ntldr
chainloader /ntldr
savedefault --wait=2

应该就没问题了

发表于 : 2008-04-24 23:57
阿卟
## ## End Default Options ##

title Ubuntu hardy (development branch), kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=c24a7215-5b67-4a5c-815a-5868662adae0 ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.24-16-generic
quiet

title Ubuntu hardy (development branch), kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=c24a7215-5b67-4a5c-815a-5868662adae0 ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu hardy (development branch), kernel 2.6.24-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-15-generic root=UUID=c24a7215-5b67-4a5c-815a-5868662adae0 ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.24-15-generic
quiet

title Ubuntu hardy (development branch), kernel 2.6.24-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-15-generic root=UUID=c24a7215-5b67-4a5c-815a-5868662adae0 ro single
initrd /boot/initrd.img-2.6.24-15-generic

title Ubuntu hardy (development branch), kernel 2.6.24-12-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-12-generic root=UUID=c24a7215-5b67-4a5c-815a-5868662adae0 ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.24-12-generic
quiet

title Ubuntu hardy (development branch), kernel 2.6.24-12-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-12-generic root=UUID=c24a7215-5b67-4a5c-815a-5868662adae0 ro single
initrd /boot/initrd.img-2.6.24-12-generic

title Ubuntu hardy (development branch), memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root /ntldr
chainloader /ntldr
savedefault --wait=2

### END DEBIAN AUTOMAGIC KERNELS LIST





但是重启后不行阿