|

楼主 |
发表于 2004-7-16 13:20:41
|
显示全部楼层
最初由 tri-h 发表
我的grub.conf配置如下:
- # 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,3)
- # kernel /boot/vmlinuz-version ro root=/dev/hda4
- # initrd /boot/initrd-version.img
- #boot=/dev/hda
- default=2
- timeout=10
- splashimage=(hd0,3)/boot/grub/splash.xpm.gz
- title Fedora Core (2.6.7-bk21)
- root (hd0,3)
- kernel /boot/vmlinuz-2.6.7-bk21 ro root=LABEL=/ rhgb quiet
- initrd /boot/initrd-2.6.7-bk21.img
- title Fedora Core (2.6.6-1.435.2.3)
- root (hd0,3)
- kernel /boot/vmlinuz-2.6.6-1.435.2.3 ro root=LABEL=/ rhgb quiet
- initrd /boot/initrd-2.6.6-1.435.2.3.img
- title Fedora Core (2.6.6-1.435.2.3smp)
- root (hd0,3)
- kernel /boot/vmlinuz-2.6.6-1.435.2.3smp ro root=LABEL=/ rhgb quiet
- initrd /boot/initrd-2.6.6-1.435.2.3smp.img
- title Fedora Core (2.6.5-1.358smp)
- root (hd0,3)
- kernel /boot/vmlinuz-2.6.5-1.358smp ro root=LABEL=/ rhgb quiet
- initrd /boot/initrd-2.6.5-1.358smp.img
- title Fedora Core-up (2.6.5-1.358)
- root (hd0,3)
- kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
- initrd /boot/initrd-2.6.5-1.358.img
- title Windows 98
- rootnoverify (hd0,1)
- chainloader +1
- title Windows XP
- rootnoverify (hd0,0)
- chainloader +1
复制代码
倒,你现在用几个内核呀?看的我都眼花了
如果是用:
title Fedora Core (2.6.7-bk21)
root (hd0,3)
kernel /boot/vmlinuz-2.6.7-bk21 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.7-bk21.img
这个内核的话,试着将root=LABEL=/ rhgb quiet 修改成:root=/dev/hda? 问号的意思是你的 / 所在的分区号。
另外我个人不建议在最后一步使用:make install来完成grub.conf的修改工作,我仍是用copy 来完成System and vmlinuz在/boot下的工作,然后再自己修改grub.conf,这样更安全,简单。
看我的grub.conf
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,4)
# kernel /vmlinuz-version ro root=/dev/hda1
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=2
splashimage=(hd0,4)/grub/splash.xpm.gz
title Fedora
root (hd0,4)
kernel /vmlinuz-2.6.7 ro root=/dev/hda1
简单吧, 因为我不用WINDOWS了:p :p :p
发一个你的硬盘发区图上来吧! |
|