how to enter the recompiled fc5 kernel?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 i recompiled the fc5 kernel according http://www.brandonhutchinson.com/Recompiling_the_Fedora_Core_kernel.html
   but when i rebooted the system, it warned 'cann't find '/' : No such
   directory'!
   but the setting of the new kernel in grub.conf is the same with the old
   one,and the old one can boot well.
   can you tell me how can i do?

[root@localhost boot]# ls -l
\total 6756
-rw-r--r-- 1 root root   63847 Mar 15  2006 config-2.6.15-1.2054_FC5smp
drwxr-xr-x 2 root root    4096 Oct  7 00:50 grub
-rw-r--r-- 1 root root 1024167 Aug 16 21:23 initrd-2.6.15-1.2054_FC5smp.img
-rw-r--r-- 1 root root  836452 Oct  6 23:46 initrd-2.6.15-oss.img
-rw-r--r-- 1 root root   94600 Feb  8  2006 memtest86+-1.65
lrwxrwxrwx 1 root root      21 Oct  6 23:46 System.map -> System.map-2.6.15-oss
-rw-r--r-- 1 root root  831559 Mar 15  2006 System.map-2.6.15-1.2054_FC5smp
-rw-r--r-- 1 root root  831559 Oct  6 23:46 System.map-2.6.15-oss
lrwxrwxrwx 1 root root      18 Oct  6 23:46 vmlinuz -> vmlinuz-2.6.15-oss
-rw-r--r-- 1 root root 1564844 Mar 15  2006 vmlinuz-2.6.15-1.2054_FC5smp
-rw-r--r-- 1 root root 1564344 Oct  6 23:46 vmlinuz-2.6.15-oss

[root@localhost grub]# cat 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,7)
#          kernel /boot/vmlinuz-version ro root=/dev/sda8
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=2
timeout=5
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core ( 2.6.15-oss)
        root (hd0,7)
        kernel /boot/vmlinuz-2.6.15-oss ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.15-oss.img
title Fedora Core (2.6.15-1.2054_FC5smp)
        root (hd0,7)
        kernel /boot/vmlinuz-2.6.15-1.2054_FC5smp ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.15-1.2054_FC5smp.img
title Windows Xp
        rootnoverify (hd0,0)
        chainloader +1

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux