LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 827|回复: 5

菜鸟问一个三系统grub引导的问题

[复制链接]
发表于 2006-3-5 22:00:31 | 显示全部楼层 |阅读模式
我现在装了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,8)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=10
splashimage=(hd0,8)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,8)
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啊?
发表于 2006-3-5 22:41:52 | 显示全部楼层
root (hd0,10)
kernel /vmlinuz ro root=/dev/sda11
initrd /initrd
这样写SUSE的信息 看看
黑屏可能是参数显示问题
要是盘符不对或者RAMDISK不对 有提示信息的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-5 22:44:27 | 显示全部楼层
Post by cxfcxf
root (hd0,10)
kernel /vmlinuz ro root=/dev/sda11
initrd /initrd
这样写SUSE的信息 看看
黑屏可能是参数显示问题
要是盘符不对或者RAMDISK不对 有提示信息的


好的,我去试试,谢谢啊:)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-5 23:04:16 | 显示全部楼层
不行啊
出来的信息是这样的。。。
root (hd0,10)
Filesystem type is reiserfs partition type 0x83
kernel /boot/vmlinuz ro root=/dev/sda11
         [Linux-bzImage  setup=0x1e00, size= 0x176657]
initrd /boot/initrd
         [Linux-initrd @ 0x37e33000, 0x1bc474 bytes]
Uncompressing Linux......
   invalid compressed format  (err=2)
  --System halted
回复 支持 反对

使用道具 举报

发表于 2006-3-6 07:24:16 | 显示全部楼层
vga=0x31a selinux=0 resume=/dev/sda10 splash=silent showopts
可能是选项问题 这些选项选择添加 看看

其实看提示 应该是系统读不了你的initrd 可能FS类型么指明
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-6 16:57:45 | 显示全部楼层
Post by cxfcxf
vga=0x31a selinux=0 resume=/dev/sda10 splash=silent showopts
可能是选项问题 这些选项选择添加 看看

其实看提示 应该是系统读不了你的initrd 可能FS类型么指明

那应该怎么指明啊?怎么解决这个问题啊?
回复 支持 反对

使用道具 举报

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

本版积分规则

快速回复 返回顶部 返回列表