怎么更新RH 9的GRUB?
如题........ ~_~ 举一个例子# 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,8)
# kernel /boot/vmlinuz-version ro root=/dev/hda9
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,8)/boot/grub/splash.xpm.gz
title Windows 98th
rootnoverify (hd0,0)
chainloader +1
title Red Hat Linux (2.4.20-19.9)
root (hd0,8)
kernel /boot/vmlinuz-2.4.20-19.9 ro root=LABEL=/1
initrd /boot/initrd-2.4.20-19.9.img
title RedFlag Linux (2.4.20-8)
root (hd0,7)
kernel /boot/vmlinuz-2.4.20-8 ro root=/dev/hda8
initrd /boot/initrd-2.4.20-8.img
这是我在redhat linux 9.0的grub.conf上改写,其中title redflag下的vmlinuz-2.4.20-8和initrd-2.4.20-8.img是从redflag linux下的/boot中拷贝过来放在redhat linux的/boot下(注意!!不要和redhat linux下的文件冲突),root(hd0,7)和root=/dev/hda8 是因为我的redflag linux在hda8上所以这样写,其实配置grub是非常简单的^_^
:mrgreen::mrgreen::mrgreen:
补充
注意!!上文中的那个cool表情,替换为8) 多谢多谢~昨天XM的网络有问题~市外的都无法访问~现在才看到~多谢了~~~~~
:D 没注意看....这个是edit grub吧....我是说update grub的版本.....
up一下 看仔细了 :!:
我一般是用up2date redhat自带的更新服务来update grub的
你也可以去http://www.gnu.org/software/grub/上下载最新的grub进行编译和配置:idea:
页:
[1]