Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Exclamation Kernel panic on boot after recompiling kernel

    I'm writing because I've a problem when I compile my kernel.
    I've Red Hat Enterprise 4 (now my kernel is 2.6.9-22). I downloaded kernel from The Linux Kernel Archives. I used these commands (as root):

    cd /usr/src
    tar -jxvf /home/thecell/Desktop/linux-
    cd linux-
    cp /home/thecell/Desktop/config- .config   # I already have a config file to compile
    cp arch/i386/boot/bzImage /boot/vmlinuz-
    make modules_install
    cp .config /boot/config-
    mkinitrd -v /boot/inird.img-
    cp /boot/
    cp vmlinux /boot/vmlinux-
    I edited /boot/grub/menu.lst for my new kernel.
    On booting, the result was:

      Booting 'Red Hat Enterprise Linux (
    root (hd1,0)
     Filesystem type is ext2fs, partition type 0x83
    kernel /vmlinuz- ro root=/dev/VolGroup00/LogVol00 rhgb quiet
       [Linux-bzImage, setup=0x3000, size=0x227320]
    initrd /initrd.img-
       [Linux-initrd - 0x1fde4000, 0xfb36c bytes]
    Red Hat nash version starting
    Unable to find device-mapper major/minor
      Reading all physical volumes.  This may take a while...
      No volume groups found
      Unable to find volume group "VolGroup00"
    ERROR: /bin/lvm exited abnormally! (pid 883)
    mount: error 6 mounting ext3
    mount: error 2 mounting none
    switchroot: mount failed: 22
    umount /initrd/dev failed: 2
    [    5.516193] Kernel panic - not syncing: Attempted to kill init!

    Moreover, I want to say that i'm not an expert, that when I installed red hat I used default partitioning suggested from red hat (but I know something about partitioning), and that i'm using vmware. I hope you can help me, because i searched in the web, but i didn't find anything that resolved my problem.

    P.S. Sorry if my English isn't perfect

  2. #2


    Nobody can help me...

  3. #3


    Ok, I renounce...
    I won't recompile kernel...

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts