XP与UBUNTU的引导问题

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
hwzbritney
帖子: 3
注册时间: 2009-07-21 23:31

XP与UBUNTU的引导问题

#1

帖子 hwzbritney » 2009-07-22 12:16

划了个20GB的分区安装UBUNTU9.04,用的是把ISO放到C盘和grub引导的方法,安装后无法进入XP,只有3个ubuntu的选项,后来在论坛上看到一些方法后手动添加XP到menu.lst,并且移动到default的第一个,能够默认进入XP了。现在有些问题,放在c盘的grub的文件能否删除,并在xp的boot.ini中去掉grub;还有如果GHOST恢复C盘后还能否进入UBUNTU。
yansheng1003
帖子: 83
注册时间: 2008-07-26 14:13

Re: XP与UBUNTU的引导问题

#2

帖子 yansheng1003 » 2009-07-22 13:44

c盘中的引导文件可以删除,还要boot.ini你加的一项可以删除.
如果用ghost恢复C盘的话不能进入ubuntu,得改boot.ini
你首先得想办法到你原来的ubuntu下拷贝/boot/grub 下的menu.list拷贝到你的xp系统中
然后下载grub4dos中的grldr 和menu.list到c盘根目录 然后拷贝你ubuntu中的menu.list中的类似如下的东西

代码: 全选

title		Ubuntu 9.04, kernel 2.6.28-13-generic
uuid		09f1c043-d843-4c11-b69f-4cdfd4a4f261
kernel		/vmlinuz-2.6.28-13-generic root=UUID=fe10dbec-ce71-4e7a-b3dd-1e550499840a ro quiet splash 
initrd		/initrd.img-2.6.28-13-generic
quiet

title		Ubuntu 9.04, kernel 2.6.28-13-generic (recovery mode)
uuid		09f1c043-d843-4c11-b69f-4cdfd4a4f261
kernel		/vmlinuz-2.6.28-13-generic root=UUID=fe10dbec-ce71-4e7a-b3dd-1e550499840a ro  single
initrd		/initrd.img-2.6.28-13-generic

title		Ubuntu 9.04, kernel 2.6.28-11-generic
uuid		09f1c043-d843-4c11-b69f-4cdfd4a4f261
kernel		/vmlinuz-2.6.28-11-generic root=UUID=fe10dbec-ce71-4e7a-b3dd-1e550499840a ro quiet splash 
initrd		/initrd.img-2.6.28-11-generic
quiet

title		Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid		09f1c043-d843-4c11-b69f-4cdfd4a4f261
kernel		/vmlinuz-2.6.28-11-generic root=UUID=fe10dbec-ce71-4e7a-b3dd-1e550499840a ro  single
initrd		/initrd.img-2.6.28-11-generic

title		Ubuntu 9.04, memtest86+
uuid		09f1c043-d843-4c11-b69f-4cdfd4a4f261
kernel		/memtest86+.bin
quiet
以上是我的,当然要拷贝你自己的
最后在boot.ini中加C:/grldr="GRUB FOR Linux" GRUB FOR Linux你自己换你自己喜欢的
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

Re: XP与UBUNTU的引导问题

#3

帖子 HuntXu » 2009-07-22 13:47

看来你把grub装到mbr了?
那c盘那个是用不着的了,可以删掉...
另外,ghost的貌似要看情况,有些ghost不会动mbr,所以会一切正常...
HUNT Unfortunately No Talent...
hwzbritney
帖子: 3
注册时间: 2009-07-21 23:31

Re: XP与UBUNTU的引导问题

#4

帖子 hwzbritney » 2009-07-22 16:26

问题解决了,修改menu.lst,手动添加XP的启动,如果放到default的首项那就默认启动winXP。
回复