免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2322 | 回复: 17
打印 上一主题 下一主题

三系统grub引导的问题,大家帮帮我吧 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-05 22:01 |只看该作者 |倒序浏览
我现在装了xp FC4 suse10三个系统,但是装完suse10,FC4的引导就出问题,用rescue重新修复FC4后,suse10又进不去了。在FC4下修改grub里的menu.lst,把suse10的引导文件加进去了,但是重启进入suse10时,黑屏,一点反映都没有(但是机子没有死机),这是怎么回事啊?怎么样实现三系统共存啊(应该怎么在FC4下添加suse10,suse10安装在/dev/sda11下)?
大家帮帮忙啊,在此多谢了

在windows xp 和FC4下,安装完suse10.0后,suse的grub文件配置如下:

kernel /boot/vmlinuz root=/dev/sda11 vga=0x31a selinux=0 resume=/dev/sda10 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd0,10)
kernel /boot/vmlinuz root=/dev/sda11 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd

然后我用FC4的光盘rescue后,在FC4下修改grub文件,改成如下:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=10
splashimage=(hd0,/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1
title SUSE LINUX 10.0
root (hd0,10)
kernel /boot/vmlinuz ro root=/dev/sda11 vga=0x31a selinux=0 resume=/dev/sda10 splash=silent showopts
initrd /boot/initrd
title Failsafe -- SUSE LINUX 10.0
root (hd0,10)
kernel /boot/vmlinuz ro root=/dev/sda11 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd


但是这样改了之后suse就进不去了。。。应该怎么修改grub啊?

[ 本帖最后由 qingfengzealot 于 2006-3-7 14:36 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-03-05 22:02 |只看该作者
晕,(hd0, 8 )为什么是笑脸了。。。

论坛徽章:
0
3 [报告]
发表于 2006-03-05 22:08 |只看该作者
你把sda11改成sda10做什么?

论坛徽章:
0
4 [报告]
发表于 2006-03-05 22:40 |只看该作者
原帖由 kelela 于 2006-3-5 22:08 发表
你把sda11改成sda10做什么?


没有改成sda10啊,大哥,那个是(hd0,10 )就是sda11,没错吧

论坛徽章:
0
5 [报告]
发表于 2006-03-05 23:06 |只看该作者
原帖由 qingfengzealot 于 2006-3-5 22:01 发表
root (hd0,10)
kernel /vmlinuz ro root=/dev/sda11 vga=0x31a selinux=0 resume=/dev/sda10 splash=silent showopts

这个地方为什么要resume?

论坛徽章:
0
6 [报告]
发表于 2006-03-05 23:08 |只看该作者
原帖由 kelela 于 2006-3-5 23:06 发表

这个地方


因为当时在windows xp 和FC4下,安装完suse10.0后,suse的grub文件配置就是这样的,sda10是suse的交换区,我想可能它这个参数的意思是指明交换区吧,当时装好的时候suse是可以进去的,但就是FC4进不了

kernel /boot/vmlinuz root=/dev/sda11 vga=0x31a selinux=0 resume=/dev/sda10 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd0,10)
kernel /boot/vmlinuz root=/dev/sda11 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd

论坛徽章:
0
7 [报告]
发表于 2006-03-05 23:13 |只看该作者
fc4怎么用了逻辑卷?
贴出硬盘分区信息看看
今天先zzZZZzz了

论坛徽章:
0
8 [报告]
发表于 2006-03-05 23:17 |只看该作者
原帖由 kelela 于 2006-3-5 23:13 发表
fc4怎么用了逻辑卷?
贴出硬盘分区信息看看
今天先zzZZZzz了


谢谢你的帮忙
我的分区是这样的:
sda1 windows
sda3 linux FC4
sda11 suse10.0根分区
sda10 suse交换分区

FC4是安装在主分区的吧,sda5后面的才是逻辑分区啊,对吧:)

论坛徽章:
0
9 [报告]
发表于 2006-03-05 23:31 |只看该作者
sda9是FC4的/boot分区吧。
修改FC4的grub.conf里suse的那项,去掉resume=/dev/sda10那个选项看看。

[ 本帖最后由 egret 于 2006-3-5 23:32 编辑 ]

论坛徽章:
0
10 [报告]
发表于 2006-03-06 02:13 |只看该作者
原帖由 qingfengzealot 于 2006-3-5 22:01 发表
我现在装了xp FC4 suse10三个系统,但是装完suse10,FC4的引导就出问题,用rescue重新修复FC4后,suse10又进不去了。在FC4下修改grub里的menu.lst,把suse10的引导文件加进去了,但是重启进入suse10时,黑屏,一点 ...


关注中........
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP