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

系统安装、升级讨论
回复
头像
阿卟
帖子: 416
注册时间: 2007-09-29 7:36
送出感谢: 0
接收感谢: 0

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

#1

帖子 阿卟 » 2008-04-24 22:28

怕破坏grub 所以我用ghost安装xp到一个分区上 但是现在开机的话grub只有ubuntu启动选择 不能选择xp


============
看http://forum.ubuntu.org.cn/viewtopic.php?p=713730#713730 已经解决
上次由 阿卟 在 2008-04-25 1:30,总共编辑 1 次。
头像
阿卟
帖子: 416
注册时间: 2007-09-29 7:36
送出感谢: 0
接收感谢: 0

#2

帖子 阿卟 » 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
liangfaxiang
帖子: 48
注册时间: 2007-06-04 21:08
送出感谢: 0
接收感谢: 0

#3

帖子 liangfaxiang » 2008-04-24 23:36

grub还在的话好办

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

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

应该就没问题了
头像
阿卟
帖子: 416
注册时间: 2007-09-29 7:36
送出感谢: 0
接收感谢: 0

#4

帖子 阿卟 » 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





但是重启后不行阿
回复

回到 “系统安装和升级”