解决办法:
现在是可以进fedora的,但是不能进ubuntu,因为ubuntu先前的grub已经被fedora安装时覆盖,这样
只需进fedora,挂载ubuntu的那个分区(可能已经自动挂载了)然后在ubuntu的/boot/grub/menu.lst里找到
title ubuntu-xxx
root (hd0,y)
kernel xxx
initrd xxx
把这几行添加到fedora的/boot/grub/menu.lst里面大概格式是:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,5)
# kernel /boot/vmlinuz-version ro root=/dev/sda6
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora
root (hd0,x)
kernel /boot/vmlinuz-xxx
initrd /boot/initrd-xxx
title Ubuntu #这里是需要添加的行数,
root (hd0,y) #具体添加什么请参照你上面找到的ubuntu里的menu.lst
kernel /boot/vmlinuz-xxx #这里是需要添加的行数,
initrd /boot/initrd-xxx #具体添加什么请参照你上面找到的ubuntu里的menu.lst
title windows
rootnoverify (hd0,0)
chainloader +1
如果是先安装的fedora后安装的ubuntu解决办法是一样的,其实早在http://www.linuxdiyf.com/bbs/viewthread.php?tid=106888&page=1&extra=page%3D里我已经写过了如何引导多系统,只是没详细写过程,感觉可以推理出来==!
flyerwang 于 2008-11-21 21:40:05发表:
谢谢7楼的朋友,我会找个时间试试
wzl7222504 于 2008-11-21 08:20:28发表:
为什么这样?
当你安装windows和linux双系统时,linux会自动将windows写入启动项,因为grub里会自动添加两行 rootnoverify (hd0,0) chainloader +1全盘查找windows系统
当你安装fedora和ubuntu时,由于二者都是linux,不可能自动添加全盘查找linux所以要手动添加启动项
解决办法:
现在是可以进fedora的,但是不能进ubuntu,因为ubuntu先前的grub已经被fedora安装时覆盖,这样
只需进fedora,挂载ubuntu的那个分区(可能已经自动挂载了)然后在ubuntu的/boot/grub/menu.lst里找到
title ubuntu-xxx
root (hd0,y)
kernel xxx
initrd xxx
把这几行添加到fedora的/boot/grub/menu.lst里面大概格式是:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,5)
# kernel /boot/vmlinuz-version ro root=/dev/sda6
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora
root (hd0,x)
kernel /boot/vmlinuz-xxx
initrd /boot/initrd-xxx
title Ubuntu #这里是需要添加的行数,
root (hd0,y) #具体添加什么请参照你上面找到的ubuntu里的menu.lst
kernel /boot/vmlinuz-xxx #这里是需要添加的行数,
initrd /boot/initrd-xxx #具体添加什么请参照你上面找到的ubuntu里的menu.lst
title windows
rootnoverify (hd0,0)
chainloader +1
如果是先安装的fedora后安装的ubuntu解决办法是一样的,其实早在http://www.linuxdiyf.com/bbs/viewthread.php?tid=106888&page=1&extra=page%3D里我已经写过了如何引导多系统,只是没详细写过程,感觉可以推理出来==!
[ 本帖最后由 wzl7222504 于 2008-11-21 08:32 编辑 ]
wotacid 于 2008-11-21 00:45:30发表:
用虚拟机比较稳妥
flyerwang 于 2008-11-18 13:47:07发表:
该怎么修改menu.lst。
或者启动项怎么修复
小辉贼 于 2008-11-18 12:07:16发表:
:0wl;l1 修复一下启动引导
Rh小鸟 于 2008-11-18 12:01:06发表:
额...
:0w5ty(1
我都装的win2003和rhel5
微宝贝 于 2008-11-18 10:35:40发表:
进入fedora然后看看你的分区,找到ubuntu 的分区,然后自己把ubuntu 的启动参数什么的加如menu.lst就可以了。具体情况看你的分区的了,根据分区情况来编写你的ubuntu启动参数