|
重新编译原内核,我的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,10)
# kernel /vmlinuz-version ro root=/dev/hdc12
# initrd /initrd-version.img
#boot=/dev/hdc
default=0
timeout=10
splashimage=(hd0,9)/grub/splash.xpm
title Red Hat Linux (2.4.20-
root (hd0,9)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title Red Hat Linux hy
root (hd0,9)
kernel /vmlinuz-2.4.20-8custom ro root=/dev/hdc9
title windows xp
rootnoverify (hd0,0)
chainloader +1
起动不了
我把kernel /vmlinuz-2.4.20-8custom ro root=/dev/hdc9 改为
kernel /vmlinuz-2.4.20-8custom ro
能起动,但是boot文件夹里就只有一个什么kerner.h的文件 什么也没有了 |
|