I have ubuntu 10.04 running on VMware on a windows host. I am learning linux device drivers programming. So in the process, I was trying to set up a linux source tree and build and load a custom kernel. I made the two .deb packages (custom kernel) and installed them using dpkg (http://www.howtoforge.com/kernel_compilation_ubuntu_p2). Then when I rebooted, it says : kernel panic, unable to mount root fs on unknown-block(0,0). Please guide what should I do ?
My system has GRUB2.
Also please tell which is the best linux distribution to learn linux device drivers programming. I am finding Ubuntu somewhat difficult as most of the tutorials that I am finding on internet for building kernels are written for generic linux but Ubuntu has a different way. There is not much help available.
man mkinitramfs
and try creating one for the new kernel.