LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 06: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, 07:29 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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, 03: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, 08:59 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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, 06: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, 12: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, 04: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, 04: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, 05: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, 06:01 PM   #10
stocks29
Member
 
Registered: Mar 2004
Distribution: Ubuntu
Posts: 52

Rep: Reputation: 15
Glad to have helped
 
  


Reply



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 06:20 PM
Unable to mount /dev/hdd deveraux83 Slackware 11 03-05-2005 06:23 PM
Mount hdd unable to copy to it windowsrefugeeX Linux - Software 2 02-01-2005 05:51 PM
Please Help.. Unable to mount Root Skibz Linux - Newbie 13 04-19-2004 10:54 PM
HDD unable to mount robson8112 Linux - Hardware 16 10-06-2003 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration