Re: 2.6 kernel upgrade fail...

From: Sean Estabrooks (seanlkml_at_rogers.com)
Date: 12/29/03

  • Next message: Sean Estabrooks: "Re: How to recover root password"
    To: redhat-list@redhat.com
    Date: Mon, 29 Dec 2003 12:17:47 -0500
    
    

    On Mon, 29 Dec 2003 10:59:46 -0500
    "Joe Szilagyi" <lists@szilagyi.us> 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@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Sean Estabrooks: "Re: How to recover root password"

    Relevant Pages

    • Re: Help 10.3 a mess After YOU Upgrade
      ... In the mean time I'll try to see the rpm of latest kernel update. ...  The MAIN installation is marked in GRUB as the ... grub what to boot if you don't choose anything, but you can have more than ... If you use 'Windows duplicate' it will boot windows, ...
      (alt.os.linux.suse)
    • Re: Anf?nger, blutig
      ... in welchen Runlevel mein Linux booten soll. ... >und der Dokumentation zu Grub ueberfordert? ... >Kernel laden und starten. ... Booten dem Kernel irgendwelche Parameter mit auf den Weg gegeben ...
      (de.comp.os.unix.linux.misc)
    • Re: Linux von einer auf andere Platte portieren?
      ... Kernel, der nicht in lilo.conf eingetragen ist? ... vielen von mir betreuten Rechnern das Booten von CD-ROM, ... dass grub etwas auf die Platte schreibt. ... Rechner, die von anderen Leuten benutzt werden. ...
      (de.comp.os.unix.linux.misc)
    • Re: Problem with the serial port in Fedora Core 6
      ... I've never seen the labels that you have added in grub and wonder ... expecting a pair of around the word 'menu', or maybe a kernel ... bugzilla the missing ttyS's, but bugzilla didn't like my password. ... and serial ports which appears to be exactly your issue and a suggestion ...
      (Fedora)
    • how to find FC4 kernel filename for grub?
      ... I am a Linux newbie. ... I installed Fedora Core 4 onto a new partition but did not install grub because ... Then I need to identify the FC4 kernel. ... I used the FC4 rescue disk to mount my installation and browse (using my ...
      (linux.redhat.install)