Re: 2.6 kernel upgrade fail...

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

 



On Mon, 29 Dec 2003 10:59:46 -0500
"Joe Szilagyi" <lists@xxxxxxxxxxx> wrote:

> Hello, I tried to upgrade my RH 9 box's kernel to 2.6, and upon reboot
> it failed to come back. When I rebooted again and went to terminal grub
> only offered the original 2.4 kernel, not the new one. On top of it, the
> box won't read my keyboard as far as I can tell now. Once the countdown

Joe,

It sounds like you have more than one problem.   Obviously you'll have to
concentrate on getting the machine to boot and worry about using 2.6
afterward.

> finishes it boots, but then dies loading the kernel with this error:
> 
> mount: error 19 mounting ext3
> pivotroot: pivot_root (/sysroot,/sysroot/initrd) failed: 2
> mount: /initrd/proc failed: 2
> seeing unused kernel memory: 232k found
> kernel panic: No init found. Try passing init= option to kernel
> 

Since you did not get the option to boot the 2.6 kernel I guess these
errors are being reported by your existing 2.4 kernel.   Nothing should
have really changed.  Hopefully you tried to _add_ the 2.6 kernel and not
_replace_ your existing 2.4 kernel.

Perhaps you made a mistake hand-editing your grub configuration file?
If this is the case you'll need to manually supply the proper information
to grub at boot time or use the installation CD rescue mode option and
repair Grub.   Here is a working example entry that might be just what 
you need:

title Redhat 9 Kernel (2.4.20-27.9)
        root (hd0,0)
        kernel /vmlinuz-2.4.20-27.9 ro root=LABEL=/ 
        initrd /initrd-2.4.20-27.9.img


If your keyboard is not working at the Grub menu then there is a problem
that occurs before Linux is involved.   I'd suggest turning the power off
for a short while to make sure everything completely resets. 

Since Grub did not offer you the option of booting the 2.6 kernel your
installation must have been incomplete.    You'll have to update
/boot/grub/menu.lst and add an entry for the new kernel.  You don't
give much information on how you tried to install the 2.6 kernel but make
sure you provide a working initrd image as well. There is some concern
that the current mkinitrd rpm contains a bug and you may need an older
version instead, see:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112623


All of these problems have happened before you've ever booted a 2.6 kernel
so it's a bit of a head-scratcher.   The keyboard problem sounds
completely incidental and may have just got yanked from its socket when
you pounded on it in frustration ;o)

Good luck,
Sean.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux