LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-26-2008, 03:35 PM   #1
elninio
LQ Newbie
 
Registered: Mar 2008
Posts: 9

Rep: Reputation: 0
VFS: cannot open root device "sda1" or unknown-block(2,0)


Im on a t61 laptop - i've just finished installing LFS

When I try to boot I get this error:

Code:
http://www.linuxquestions.org/questions/linux-general-1/kernel-panic-not-syncing-vfs-unable-to-mount-root-fs-on-unkown-block32-414387/
I configure the kernel according to this:

Code:
http://www.linuxfromscratch.org/lfs/view/stable/chapter08/kernel.html
I've enabled 100% of the things in file system, and in filesystem ( the ext2,ext3 stuff) ...

... but I still continue to get this kernel panic error and VFS: cannot open root device "sda1" or unknown-block(2,0).

I'm just trying to get a bootable kernel - what can I change in order to get this working - what kernel configuration must I enable in order to get my system to boot?
 
Old 10-28-2008, 03:57 PM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,255

Rep: Reputation: 118Reputation: 118
I can't tell you what to do, just try to push you in the right direction:
That message is what I get when booting without a correct initrd.
It meams that to access the disk some special driver is needed, that's why you need an inird.img (one reason at least).
Unfortunately, I have no idea how to create them but I think that's what you should look at. ("sda1" tells me it's not an ide-disk, probably sata. That's the driver that's needed.)
 
Old 10-29-2008, 04:05 PM   #3
elninio
LQ Newbie
 
Registered: Mar 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pingu View Post
I can't tell you what to do, just try to push you in the right direction:
That message is what I get when booting without a correct initrd.
It meams that to access the disk some special driver is needed, that's why you need an inird.img (one reason at least).
Unfortunately, I have no idea how to create them but I think that's what you should look at. ("sda1" tells me it's not an ide-disk, probably sata. That's the driver that's needed.)
i tried rebooting the machine from my usb stick and it worked, i then modified the config file to say "hda0" instead of sda0 , even though my drive is recognized as sda0. The convention must be hda for all hard disk. Also I think hda or sda is deprecated (one of the two).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VFS: cannot open root device "sda3" or unknown-block (0,0) snakeo2 Linux - Newbie 10 07-05-2012 08:23 PM
VFS: Cannot open root device "<NULL>" or unknown-block(8.22) aleksanteri Linux From Scratch 1 10-30-2007 04:02 AM
2.6.19: VFS: Cannot Open root device "sda1" or unknown-block(0,0) havok1977 Linux - Kernel 18 05-03-2007 04:25 PM
VFS: Cannot open root device "805" or unknown-block(8,5) chameleonic Linux - Newbie 0 09-24-2006 03:34 PM
VFS: Cannot open root device "1601" or unknown-block(22,1) takehora Slackware 3 06-11-2004 08:34 PM


All times are GMT -5. The time now is 07:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration