Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED: Cannot find root device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
beowulfenator
n00b
n00b


Joined: 02 May 2012
Posts: 4

PostPosted: Wed May 02, 2012 8:35 am    Post subject: SOLVED: Cannot find root device Reply with quote

Hi!

I am installing Gentoo to my rather old Asus W5F laptop. The kernel built using "genkernel" works fine. However, I am having trouble building a custom, more optimized kernel.

The chipset is Intel 945 GM mobile. The processor is Intel Core Duo.

Which drivers do I use for HDD support? It's an older PATA hdd. I've tried several options, but all the time I get the "cannot find root device" error, which probably means the kernel doesn't see the hdd.

Any help would be appreciated.


Last edited by beowulfenator on Thu May 03, 2012 8:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 3980
Location: Saint Amant, Acadiana

PostPosted: Wed May 02, 2012 9:15 am    Post subject: Reply with quote

beowulfenator,

welcome to Gentoo!

You can do lspci -k from working installation or use http://kmuto.jp/debian/hcl/
And it's really not the HDD support, you need a driver for HDD controller.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
beowulfenator
n00b
n00b


Joined: 02 May 2012
Posts: 4

PostPosted: Wed May 02, 2012 10:05 am    Post subject: Reply with quote

So it seems that the "ata_piix" module is used with my hdd controller.

I compile it into the kernel ([*]), but still it won't boot. Says "Cannot open root device "sda3" or unknown-block(0,0)".
Back to top
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1269
Location: St. Wendel

PostPosted: Wed May 02, 2012 10:29 am    Post subject: Reply with quote

Try

/dev/hda3

Then search for old ata lib.
Back to top
View user's profile Send private message
beowulfenator
n00b
n00b


Joined: 02 May 2012
Posts: 4

PostPosted: Wed May 02, 2012 10:53 am    Post subject: Reply with quote

The /dev/hda3 doesn't work either. But then somehow in the genkernel kernel the ata_piix initializes my hdd as /dev/sda. It works for sure, only not in my new kernel. Perhaps I have disabled something else that's important? I'm sure I have extfs2 and extfs3 support enabled.
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 3980
Location: Saint Amant, Acadiana

PostPosted: Wed May 02, 2012 8:16 pm    Post subject: Reply with quote

You need SCSI disk support at least, libata uses SCSI subsytem. And yes, your drive will be sda.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
beowulfenator
n00b
n00b


Joined: 02 May 2012
Posts: 4

PostPosted: Thu May 03, 2012 8:02 pm    Post subject: Reply with quote

Woo-hoo! After enabling SCSI support it works!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum