Boot after kernel recompile

Juan L. Pastor seguridadlinux at yahoo.es
Sat Sep 4 21:19:11 UTC 2004


Hello,

The kernel that comes with my Fedora Core 2 is 2.6.5-1.358. I have
recompiled and installed kernel 2.6.6-1.435.2.3. The problem is that
after make mrproper, make xconfig, sudo make modules_install install and
editing /etc/grub.conf so that I restart with the new kernel, I get a
kernel panic. 

This is my /etc/grub.conf file, as it was automatically created after
recompiling the kernel:

default=0
timeout=10
splashimage=(hd2,0)/grub/splash.xpm.gz
title Fedora Core (2.6.6-1.435.2.3custom)
        root (hd2,0)
        kernel /vmlinuz-2.6.6-1.435.2.3custom ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.6-1.435.2.3custom.img
title Fedora Core (2.6.5-1.358)
        root (hd2,0)
        kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.5-1.358.img
title Windows 2000
        rootnoverify (hd0,0)
        chainloader +1

I have changed the root=LABEL=/ parameter of the first entry by
root=/dev/hdc2 and the problem has disappeared. My question is why it
works for the default installation and not after having recompiled a new
kernel.

Juan

-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosop2.6.5-1.358hy/no-word-attachments.html





More information about the fedora-list mailing list