compile kernel on Ubuntu 5.10

Bob Nielsen nielsen at
Fri Jan 20 07:00:51 UTC 2006

On Jan 19, 2006, at 7:50 PM, A. Andria wrote:

> Hi all,
> Is there anybody succedded compile kernel on Ubuntu 5.10 ?
> I'm stuck ..... it's never work.
> I have trying
> # download source (with apt-get source even from
> # cp /boot/config-`uname -r` ./.config
> # make menuconfig
> # make clean;make bzImage;make modules;make modules_install;make  
> install;update-grub
> # reboot
> And always says .... "Kernel panic - not syncing : VFS : Unable to  
> mount root fs on unknown-block (0,0)"

It looks like you did not make an initrd image.  Try the following  
(after the make-menuconfig step):

make-kpkg clean
make-kpkg --initrd kernel_image

This will create a .deb file of the new kernel complete with all the  
necessary additional files, modules, etc., just as if you had  
downloaded a compiled kernel .deb package.  You then install this  
with 'dpkg -i <packagename>' and it will be installed along with the  
initrd, modules, etc.

It has always worked for me (except when I have forgotten the '-- 
initrd' part!)

I upgraded one of my Ubuntu 5.10 boxes to kernel 2.6.15 using vanilla  
source from a few days ago.

More information about the ubuntu-users mailing list