Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Boot Problem(Possibly Yaboot, but probably not) [SOLVED]
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
kurin
n00b
n00b


Joined: 12 Jun 2003
Posts: 9

PostPosted: Sun Oct 09, 2005 6:02 pm    Post subject: Boot Problem(Possibly Yaboot, but probably not) [SOLVED] Reply with quote

Hi:

I recently adquired a G5 2.0 dual and decided to install Gentoo on it. After some difficulties during the installation process, i finally got it to what i thought was a bootable system. At this points I followed the instructions of the Handbook on the installation of Yaboot and i thought i had done it correctly.

Long stories short, when i rebooted a folder with a question mark on it appears and then MacOSX is booted. I have compared my yaboot.conf with several others in this forum, and it seems correct. As i couldn't find an explanation to this, i booted OpenFirmware directly(through alt+command+o+f) and typed boot sd1:2,yaboot. Surprisingly, this brings me to a yaboot loader with its "boot:" prompt. When i try to load the kernel by pressing "intro" i get a message saying Partition is not a numbersd0:6:Unknown or Corrupt Filesystem.

Notice that the device seems to be apparently correct, but the message is quite disturbing. I tried to load the kernel manually by typing device=sd0:6,/vmlinuz, and again surprisingly i get a different message: Unable to open file, invalid device.

I hope any of you guys knows an answer to this, as i really want to use gentoo on my new computer :) If you need more information please don't hesitate to ask!

Regards!


Last edited by kurin on Tue Oct 18, 2005 7:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cenrim
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2004
Posts: 142
Location: Germany

PostPosted: Sun Oct 09, 2005 6:51 pm    Post subject: Reply with quote

are you sure you run ybin after configuring your yaboot.conf?


something pretty ugly to type is to give OF the full path to your disk and the kernel
for me (iBook G4, /boot on it's own on hda3) its "/pci@f4000000/ata-6@d/disk@0:3,/kernel-2.6.13-g-r1-1st"
the first part (pci,ata,disk) is the openfirmware path you get from 'ofpath' (it's on the liveCD)
like:
Code:
# ofpath /dev/hda3
/pci@f4000000/ata-6@d/disk@0:3

and the second the path to your kernel
(no /boot for me, cause it's a partition not just a directory in /)

you shouldn't need this, when you got a working yaboot.conf, but in cases like little typos in the device entry it's good to know ^^

EDIT:
wait a sec.. I see sd0: and sd1: ... sounds like 2 hdds, right?
what does your partition scheme looks like?


Last edited by Cenrim on Sun Oct 09, 2005 7:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
kurin
n00b
n00b


Joined: 12 Jun 2003
Posts: 9

PostPosted: Sun Oct 09, 2005 6:58 pm    Post subject: Reply with quote

Hi,

Firstly, i always do ybin -v after every yaboot.conf update :) And secondly, i tried to put that in my yaboot.conf after "device=" but it didn't work. Should i put it somewhere else? Sorry if what im asking is obvious, im a n00b on ppc :)

Regards
Back to top
View user's profile Send private message
KeyserZero
n00b
n00b


Joined: 21 Mar 2005
Posts: 68

PostPosted: Mon Oct 10, 2005 2:44 pm    Post subject: Reply with quote

Can you post your /etc/yaboot.conf file?
Back to top
View user's profile Send private message
kurin
n00b
n00b


Joined: 12 Jun 2003
Posts: 9

PostPosted: Tue Oct 18, 2005 7:35 pm    Post subject: Reply with quote

Just for any who was wondering, i finally solved the problem by reinstalling it again by using mac-fdisk instead of normal fdisk(stupid me) :D

Thanks for the interest in trying to solve it, i greatly appreciate it :wink:
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