Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on G5 wont find root partition, please help!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
gr4nf
n00b
n00b


Joined: 28 Apr 2008
Posts: 10

PostPosted: Mon Apr 28, 2008 4:13 am    Post subject: Gentoo on G5 wont find root partition, please help! Reply with quote

im running on a dual processor G5 that i recently installed gentoo on (which, btw, made the debian netinst look like a mac os X install!), and now it wont boot due to a kernal panic. Apparently, it cannot find the root partition that i told it to look for in yaboot.conf. i set root=hd:4, which failed, and also tried /dev/sda4, which is where it is located. it wasnt able to find either of them. any suggestions?
Back to top
View user's profile Send private message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424

PostPosted: Mon Apr 28, 2008 4:17 am    Post subject: Reply with quote

Hey, welcome to the forums.

Could you post any error messages?
Back to top
View user's profile Send private message
gr4nf
n00b
n00b


Joined: 28 Apr 2008
Posts: 10

PostPosted: Mon Apr 28, 2008 4:25 am    Post subject: Reply with quote

Thanks!

here are the error mssgs:

VFS: cannot open root device "sda4" or unkown block(0, 0)
please append a correct "root="; here are the available partitions:
0300 452284 hda driver: ide-cdrom
Kernel panic-not syncing: VFS: unable to mount root fs on unkown-block(0,0)

EDIT: now that i think about it, this is starting to look like a /etc/fstab problem. what block should i use instead of 0,0?
Back to top
View user's profile Send private message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424

PostPosted: Mon Apr 28, 2008 4:39 am    Post subject: Reply with quote

What does your fstab file look like?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Apr 28, 2008 4:40 am    Post subject: Reply with quote

Are you sure that you compiled in support for apple partitions?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
gr4nf
n00b
n00b


Joined: 28 Apr 2008
Posts: 10

PostPosted: Mon Apr 28, 2008 4:42 am    Post subject: Reply with quote

yes, i compiled with support for apple partitions. if i didnt, it wouldnt boot at all, right? its booting fine, just not mounting the root filesystem, which is ext3, not an apple type

/dev/sda2 /boot ext2 noauto,noatime 1 2
/dev/sda4 / ext3 noatime 0 1
/dev/sda3 none swap sw 0 0
etc...
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Apr 28, 2008 12:48 pm    Post subject: Reply with quote

No, the kernel will load either way, the panic occurs when it tries to load the root partition. Perhaps you didn't include support for the K2 SATA chipset? Note how the SATA device isn't listed when the kernel enumerates the available partitions.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Joubert79
n00b
n00b


Joined: 12 Aug 2004
Posts: 6
Location: Portsmouth, UK

PostPosted: Mon Apr 28, 2008 1:04 pm    Post subject: Reply with quote

Perhaps you need the appropriate SATA support compiled into the kernel:
Device Drivers ---> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
and set root=/dev/sda4 in your boot line.

I wonder if you also need to disable any other ATA support so that the drive is not claimed by another driver.

NB. It is possible that SATA support as a module will not work since it will not be loaded when required at boot.
Back to top
View user's profile Send private message
gr4nf
n00b
n00b


Joined: 28 Apr 2008
Posts: 10

PostPosted: Mon Apr 28, 2008 1:09 pm    Post subject: Reply with quote

ok, ill try recompiling the kernel with SATA support. Thanks for all your help.
Back to top
View user's profile Send private message
gr4nf
n00b
n00b


Joined: 28 Apr 2008
Posts: 10

PostPosted: Tue Apr 29, 2008 10:54 pm    Post subject: Reply with quote

Ok it, boots! (finally). Thank you all.
Back to top
View user's profile Send private message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424

PostPosted: Tue Apr 29, 2008 11:11 pm    Post subject: Reply with quote

glad it worked out for you. feel free to please [solved] in your topic.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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