Resolve LFS kernel Panic-not syncing:VFS:Unable to mount Root fs on Unknown-block (0,0) April 16, 2011 Saturday 15:50 reprint from Sunteach final edit Sunteach
Finally solve the problem of LFS kernel Panic-not syncing:VFS:Unable to mount Root fs on Unknown-block (0,0), this problem is solved, which means LFS successfully built.
First, explain several possible causes of LFS kernel Panic-not syncing:VFS:Unable to mount Root fs on Unknown-block (0,0):
1./etc/fstab file configuration error, this profile is to record the hard disk partition files, configuration is wrong, of course, there may be unable to mount root FS ~ ~ ~ The solution to this problem is to find a LiveCD launched the system, and then modify the contents of this file, very simple , as long as the text editor opened the file, and then a serious study to understand how to do, if there is a UUID and things like that, then to the/dev/disk/by-uuid/directory to find, as long as each mount point and the partition corresponding can.
2.menu.lst. It is also possible to/boot/grub/menu.lst this file with errors. When this error occurs, you may want to see if the file is configured correctly. such as SDA and HDA problem, SDA not, just try Hda Bai ~ ~ ~
3.INITRD not started. After the kernel is loaded into memory, some systems will execute the INITRD file, and if it does not start, the problem that this article will address appears. Of course LFS did not do initrd file, so ignore this problem. If your error is here, then you start with LiveCD, and then go to the/boot/directory to see if there are any initrd similar files, and if so, add Initrd (hdx,y)/BOOT/INITRD to the startup entry of the Menu.lst file so that it can be solved ~ ~~
4. Kernel compile time does not add the corresponding hardware module ~ ~ This problem is not easy to say, because compiling a kernel is really too simple ~ ~ ~ Haha ~ ~ ~ Ha ~ ~ There is a must be able to compile the success of the method, is, if you use a version of Linux, the/proc/ Config.gz the file, unzip it, and then rename it to. config (note that there is a point in front of it ~ ~ ~ ~). Copy to the kernel source file that will be compiled, and then make directly, of course, if you want to add other modules in the kernel, you can start with Menuconfig. Of course, the option can only be increased not to reduce Luo ~ ~ ~ ~ ~ ~ ~, this method I have not tested, but according to the truth is possible, at least the same version of the kernel is certainly successful, unless different versions of the. config file format is not the same ~ ~ ~
If you really want to recompile the kernel, please refer to my other article ~ ~ ~ is the successful compilation of Linux kernel that article ~ ~ ~
OK ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~