VFS: cannot open root device "sda3" or unknown-block (0,0)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
VFS: cannot open root device "sda3" or unknown-block (0,0)
i just finished installing gentoo and after rebooting and able to boot, the booting process goes on for like 5 seconds and then it stops complaining that "sda3" is not real root.
here is the exact message
VFS: cannot open root device "sda3" or unknown-block (0,0)
please append a correct "root=" boot option
kernel panic- not syncing: VFS: unable to mount root fs on unknow-block(0,0)
i compiled the kernel manually and i have recompiled twice to ensure that i inclueded support for sata and scsi device and still no go. does it make a different if i go back and recompiled using genkernel ? my first try, i used genkernel but it just hanged and nothing happened so i rebooted and compiled manually. any advise will be apreciated
i recompiled using genkernel, rebooted and now im getting a different error message
>>loading Modules
>>activating udev
>>determining /dev/sda3 is not a valid root device
!! Block device /dev/sda3 is not a valid root device...
!!The root bolck device is unspecified or not detected
please specify a device to boot, or "shell" for shell
Hm. Make sure you have your SATA contoller support and root filesystem (XFS) support compiled in (not as module) - then it works. Unless you want to fiddle with initrd, never used it myself.
hey thanks for the reply emerson. i have compiled the kernel both manually and via genkernel at least 6 times and i have ensure that support for scsi devices and all filesystems are built in to the kernel and still getting the same message. I was able to successfully installed gentoo before but i was using linux-2.6.14-gentoo-r1 so maybe the new kernel does not like sata drives. maybe i'll download that kernel and try to install it again, see if that works. other than that, i cant think of anything else. the one thing that i did which i dont know if it makes a difference or not is that after assigning filesystmes to my / & /home partition, i edited the fstab file and changed them to ext3 and later on changed them back to xfs. i really doubht that this change is causing the problem.
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576
Rep:
Quote:
Originally Posted by snakeo2
the one thing that i did which i dont know if it makes a difference or not is that after assigning filesystmes to my / & /home partition, i edited the fstab file and changed them to ext3 and later on changed them back to xfs. i really doubht that this change is causing the problem.
Maybe it is. Unless you allready build in support for your xfs to the kernel.
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Rep:
I need support for SCSI. I didn't know that the kernel saw modern harddrives as SCSI. I thought it was referring to old obsoleted hardware. This problem is fixed, onto the next!
EDIT: And no, I did not need an initramfs. I'm booted up just fine without it. According to the gentoo handbook, you only need that if you have separate partitions for things such as /usr and /etc/. I just have partitions for / /boot /home and swap.
Last edited by fakie_flip; 07-05-2012 at 08:25 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.