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

    kernel panic after compiling the kernel 2.6.5

    I compiled the new kernel linux-2.6.5,but when i want to boot the new
    kernel is halting with this messge:
    mountig root file system
    mount error 19 mounting ex3
    pivootrootivot_root(/sysroot,/sysroot,/initrd) failed:2
    freeing unused kernel memory:124k freed
    kernel panic:No init found.Try passing init=option to kernel
    the grub menu.lst is as:
    # grub.conf generated by anaconda
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and initrd paths are relative to /boot/, eg.
    # root (hd0,4)
    # kernel /vmlinuz-version ro root=/dev/hda10
    # initrd /initrd-version.img
    title Red Hat 9 (2.4.20-
    root (hd0,4)
    kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ devfs=mount
    initrd /initrd-2.4.20-8.img
    title DOS
    rootnoverify (hd0,0)
    chainloader +1

    title new linuxs
    root (hd0,4)
    kernel /vmlinuz-2.6 ro root=LABEL=/ devfs=mount
    initrd /initrd-2.6.5.img
    plz help me.

  2. #2
    You don't really need the initrd /initrd-2.6.5.img so you could comment out that line if you want or change it to initrd /initrd-2.4.20-8.img and see what happens.

    P.S. I think this is in the wrong section

  3. #3
    Linux Guru
    Join Date
    Apr 2003
    London, UK
    PLEASE STOP POSTING TECHNICAL QUESTIONS IN "Linux Forums Site News / Comments / Feedback / Suggestions" !

    Choose post in the appropriate section for the topic of your post.

    Moved to "The Linux 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