LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   kernel panic: VFS unable to mount root fs on unknown-block(3,1) (https://www.linuxquestions.org/questions/linux-from-scratch-13/kernel-panic-vfs-unable-to-mount-root-fs-on-unknown-block-3-1-a-334126/)

koolgentoo 06-16-2005 02:43 AM

kernel panic: VFS unable to mount root fs on unknown-block(3,1)
 
built LFS 6.0 using nALFS and a profile from NALFS.

Code:

partition info:


hda1 = ext3
hda5 = ext3
hda6 = swap

grub:
root (hd0,0)
setup (hd0)


any idea what might be causing this?

madluther 06-16-2005 11:21 AM

The message means the kernel cannot find the root file system, make sure that grub is parsing the correct root=/dev/???? parameter, make sure that the device exists and that the kernel has driver support for the device compiled in.

Mad.

comtux 06-21-2005 01:22 AM

I had the same problem useing reiserfs untill i found that i had forgot to compile in reiserfs support into my kernel:)

Netcrow 06-29-2006 12:56 PM

i fixed it!!!!!!!!!!!11
 
hi
well i had that problem, but what i did was create an initial ram drive to init
i mean

mkinitrd -c -k 2.6.13 -m reiserfs

thats of course because i have kernel 2.6.13, in slackware, with reiserfs and i was in /boot


and then i added next line to /boot/grub/menu.lst after the kernel calling

initrd /boot/initrd.gz

and that was that

luckybtn 08-15-2008 05:47 AM

bash: mkinitrd: command not found
 
hi,

i want to install initrd on my new lfs but the command not found error comes on the screen how to overcome the problem, is there any solution for it please forward it to me.

Thanx

Pouer 08-15-2008 07:06 AM

Hi,

The best documentation on this has been written by kernel developper Greg Kroah-Hartman. His book "the linux kernel in a nutshell" deals with all you have to know to build a kernel by yourself. You can finf this book (free documentation) here : http://www.kroah.com/lkn/

The solution of your problem is detailled in "Chapter 7: Customizing a Kernel" but the whole book is worth reading.

Pouer


All times are GMT -5. The time now is 12:52 PM.