LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-11-2005, 07:08 PM   #1
GruiX
Member
 
Registered: Jan 2004
Location: Toulouse (France)
Distribution: Arch Linux
Posts: 46

Rep: Reputation: 15
Unable to mount root fs from sata hdd


Hello,

After preparing a Gentoo installation, i have customized my kernel(2.6.12) and made my system bootable.
The thing is that my kernel can't mount the root fs at boot time (Cannot open root device "sda3"...kernel panic, not syncing: VFS: unable to mount root fs on unknown-block(0,0)) because it's on a SATA drive

So i thought it was due to a wrong kernel configuration and i've try to enable many things (as built in) about sata and scsi support

My /dev/sda3 can easily be mounted when i boot with the Live CD, but i believe that the sata support is provided by some modules loaded AFTER the kernel.

I don't want to install the system on my parallel ATA (and i don't want to redo installation from the begining).

Note that i had some problems with Grub too about the naming of the sata drive : when i was under the live CD it was named hd1, but at boot time it is hd0...


During the kernel init i can see things (errors?) about SATA but it goes too quickly. Is there a way to see a log of this even if?


Athlon 64 + A8N SLI Deluxe (nForce 4)
The sata chipset is something like Silicon Image xxxx
SATA HDD : WD Raptor


Just say me it's possible to install the system on sata.. or i've losed a whole day.

Thanks
 
Old 08-11-2005, 08:29 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
I've had a gentoo install on SATA, so it's quite possible. Most likely it is a question of the wrong driver being built in, or a bad grub config. It almost looks like you only told grub where to install to, and not what to use as root.
 
Old 08-12-2005, 04:33 AM   #3
GruiX
Member
 
Registered: Jan 2004
Location: Toulouse (France)
Distribution: Arch Linux
Posts: 46

Original Poster
Rep: Reputation: 15
My grub line :

root (hd0,0)
kernel /kernel-2.6.12-gentoo-r6 root=/dev/sda3
 
Old 08-12-2005, 09:59 AM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Ok, I'm not sure specifying root (hd0,0) and root= is a good idea. Look at some of the grub howtos available on the internet.
 
Old 08-15-2005, 07:42 PM   #5
stocks29
Member
 
Registered: Mar 2004
Distribution: Ubuntu
Posts: 52

Rep: Reputation: 15
I just updated my kernel because of some pci driver update and I am having the same problem. worked fine before, but isn't working now. I think it is specific to the 2.6.12 because it worked fine with 2.6.11.
 
Old 08-17-2005, 01:04 PM   #6
nesyarug
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Rep: Reputation: 0
Same problem here with a new install. Any news?
 
Old 08-17-2005, 05:11 PM   #7
stocks29
Member
 
Registered: Mar 2004
Distribution: Ubuntu
Posts: 52

Rep: Reputation: 15
I actually resolved this problem. Go through your kernel and make sure you have scsi supported enabled. Note that in new kernels sata drives use scsi support and not IDE support---> There is a new driver.

Also make sure the filesystems you used are complied into your kernel, (if you used reiserfs, make sure support is complied in the kernel.)

Hope this helps.
 
Old 08-17-2005, 05:57 PM   #8
nesyarug
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Rep: Reputation: 0
Yeah, I have enabled S-ATA support like this:

Device Drivers --->
SCSI device support --->
SCSI low-level drivers --->[*] Serial ATA (SATA) support

and also added ReiserFS support in the kernel (I use ReiserFS on all partitions).

Thanks
 
Old 08-17-2005, 06:03 PM   #9
nesyarug
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Rep: Reputation: 0
Doh!, I forgot to add generic SCSI support:

Device Drivers --->
SCSI device support --->
<*> SCSI disk support
<*> SCSI generic support

Able to boot now. Many thanks, you pointed me back in the right direction...
 
Old 08-17-2005, 07:01 PM   #10
stocks29
Member
 
Registered: Mar 2004
Distribution: Ubuntu
Posts: 52

Rep: Reputation: 15
Glad to have helped
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to startup post-install on SATA only HDD sprocketonline Fedora - Installation 6 01-08-2006 07:20 PM
Unable to mount /dev/hdd deveraux83 Slackware 11 03-05-2005 07:23 PM
Mount hdd unable to copy to it windowsrefugeeX Linux - Software 2 02-01-2005 06:51 PM
Please Help.. Unable to mount Root Skibz Linux - Newbie 13 04-19-2004 11:54 PM
HDD unable to mount robson8112 Linux - Hardware 16 10-06-2003 01:00 PM


All times are GMT -5. The time now is 11:27 AM.

Main Menu
Advertisement
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