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
    Linux User
    Join Date
    Aug 2008

    unable to boot an new kernel

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

    #cd /usr/src/linux-
    #make menuconfig
    #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

    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- root=/dev/hda1 ro

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

    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
    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.

    It looks like the "make-kpkg --initrd --append-to-version=" 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
    I just realized that this is a duplicate post. That is forbidden by forum rules. The original post can be found here:

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

  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