Find the answer to your Linux question:
Results 1 to 3 of 3
Hi..i am using ubuntu 7.10 distro...in that the preinstalled kernel is "linux-2.6.22-14 generic"...after that i planned to compile an new kernel...so i downloaded from kernel.org....the new kernel which i download ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    312

    unable to boot an new kernel


    Hi..i am using ubuntu 7.10 distro...in that the preinstalled kernel is "linux-2.6.22-14 generic"...after that i planned to compile an new kernel...so i downloaded from kernel.org....the new kernel which i download is "linux-2.6.22.14"...so i compiled that new kernel an d\tried to install...so that i followed the below steps

    #cd /usr/src/linux-2.6.22.14
    #make menuconfig
    #make
    #make modules
    #make modules_install
    #make install


    after this commands i opened this /boot/grub/menu.lst and i added the below lines extra which i given in the block letters...

    title Ubuntu 7.10, kernel 2.6.22-14-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=7ef4f8ec-7dd3-4c02-9f24-c9438e6b8bce ro quiet splash
    initrd /boot/initrd.img-2.6.22-14-generic
    quiet

    title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=7ef4f8ec-7dd3-4c02-9f24-c9438e6b8bce ro single
    initrd /boot/initrd.img-2.6.22-14-generic

    title My Custom Kernel
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.22.14 root=/dev/hda1 ro


    title Ubuntu 7.10, memtest86+
    root (hd0,0)
    kernel /boot/memtest86+.bin
    quiet

    but now i am unable to boot from new kernel..when i select the new kernel means i am getting the following error

    starting up.....
    uncompressing linux...ok,booting the kernel
    [ 53.987716]kernel panic - not syncing: VFS : unable to mount root fs on unknown -block(0.0)


    so i dont know what to do...can any one suggest me what to do and how to do...cause i am new to linux...
    Thanks in advance...

  2. #2
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    It looks as if you are missing the initrd file. I don't know how to create it in Ubuntu, but here are two Ubuntu How-To's, with slightly different methods listed.

    https://wiki.ubuntu.com/KernelCustomBuild
    https://help.ubuntu.com/community/Kernel/Compile

    It looks like the "make-kpkg --initrd --append-to-version=2.6.24.14" is the command that would do it. You may want to follow the How-To's more closely, as I have no experience doing this in Ubuntu/Debian. I'm a Fedora/SuSE guy.
    Please do not send Private Messages to me with requests for help. I will not reply.

  3. #3
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    I just realized that this is a duplicate post. That is forbidden by forum rules. The original post can be found here:

    http://www.linuxforums.org/forum/ubu...ew-kernel.html

    I am closing and locking this thread.
    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

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