Find the answer to your Linux question:
Results 1 to 6 of 6
hi, 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 pivootroot ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2004
    Posts
    46

    kernel panic after compiling kernel 2.6.5



    hi,
    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
    #boot=/dev/hda5
    default=0
    timeout=10
    splashimage=(hd0,4)/grub/splash.xpm.gz
    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
    Linux Engineer
    Join Date
    Dec 2002
    Location
    New Zealand
    Posts
    766
    i know initrd's are supposed to fix this, but try compiling ext2/3 support into the kernel

  3. #3
    Just Joined!
    Join Date
    Apr 2004
    Posts
    46

    thanks for reply

    :o
    hi,
    i compiled the kernel with support of ex2 and ex3 .
    plz continue help me to solve the problem

  4. #4
    Just Joined!
    Join Date
    Aug 2003
    Location
    Sydney, Australia
    Posts
    52

    Re: kernel panic after compiling kernel 2.6.5

    >>

    Quote Originally Posted by mines2s

    hi,
    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
    #boot=/dev/hda5
    default=0
    timeout=10
    splashimage=(hd0,4)/grub/splash.xpm.gz
    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.
    >>

    Howdy, I'll just stab at this as a maybe. In my kernel
    sources, v2.4.18 error 19 is ENODEV. So i guess it carn't
    find it's root dev to pivot the initrd mount on. Seems the
    commented part of your Grub config has a root=/dev/hda10
    parameter but your uncommented part dosen't. Maybe it
    needs the actual device spelt out, as in the commented part.
    I don't do Grub so this is just a straw grab.

    jm

  5. #5
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    mines2s, If your still having problems on with the same issue, can you continue it in the original thread you started instead of starting a new thread all the time. You have 3 threads on exactly the same issue.

    The other 2 are now locked, continue with this problem in this thread.

    Thanks,

    Jason

  6. #6
    Just Joined!
    Join Date
    May 2004
    Posts
    1

    Compiling 2.6.5 kernel

    hi,
    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
    #boot=/dev/hda5
    default=0
    timeout=10
    splashimage=(hd0,4)/grub/splash.xpm.gz
    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.
    --------------------------

    Hi friend,
    compile the ext3fs as kernel not as modules. not clear?

    ok...Just edit the file .config which would be created once you do make config, and search for File Syatem and replace <M> by <Y>.

    Save and come out.
    Again make it .
    Now it shoul dbe ok...
    Mail me once it is done => ashokumar.a@radixs.com
    -

    Regards,
    Ashok.

Posting Permissions

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