sunytbit 发表于 2002-9-24 13:28:27

如何修改grub的文件?

我用的是redhat7.3,我编译了一下内核,我用的是grub引导启动,我不知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/hda11
#          initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,8)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-3)
        root (hd0,8)
        kernel /vmlinuz-2.4.18-3 ro root=/dev/hda11 hdc=ide-scsi
        initrd /initrd-2.4.18-3.img
title Windows XP
        rootnoverify (hd0,0)
        chainloader +1

Anomymous 发表于 2002-9-24 14:02:50

加入
title New Kernel(2.4.18-3)
root (hd0,8)
kernel /link_to_your_new_kernel ro root=/dev/hda11 hdc=ide-scsi
initrd /initrd-2.4.18-3.img

然后把Systemp.map链接到你内核目录里的Systemp.map
页: [1]
查看完整版本: 如何修改grub的文件?