Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
yabootconfig problem, can't find kernel
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
husky1982ch
n00b
n00b


Joined: 08 May 2006
Posts: 6

PostPosted: Mon May 08, 2006 1:10 am    Post subject: yabootconfig problem, can't find kernel Reply with quote

Hallo there,

I tried to set up a gentoo system on my powerbook G4 15" 1,5 Ghz. I followed the documentation during the installation, but coming to the yaboot sector everthing gets weird. My partitions are the following:

hda1 - apple_partitionmap
hda2 - apple_bootstrap
hda3 - apple_unix_svr2 swap
hda4 - apple_unix_svr2 root
hda5 - apple_hfs #macosx

my /etc/fstab is the following:

/dev/hda4 / reiserfs noatime, notail
/dev/hda3 none swap sw
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto, ro

and my kernel stored in boot/ is linux-2.6.16-gentoo-r5
When I exit the chroot and start yabootconf
Code:
yabootconf --chroot /mnt/gentoo
it detects the bootstrap correct, but can not find the kernel and I'm supposed to give him the correct path. But everything I tried so far seems to be incorrect, as yaboot is still complaining about not finding a kernel.. I tried

/boot/linux-2.6.16-gentoo-r5
/mnt/gentoo/boot/linux-2.6.16-gentoo-r5
/dev/hda4/mnt/gentoo/boot/linux-2.6.16-gentoo-r5

but nothing works. If I exit yabootconf and simply try to access mnt/gentoo/boot/linux-2.6.16-gentoo-r5 it's no problem at all.
The next thing I tried was manually configuring the yaboot.conf. I entered everything as it seemd correctly to me:

boot=/dev/hda2

device=hd:

partition=4

delay=10
defaultos=macosx

timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/linux-2.6.16-gentoo-r5
label=Linux
root=/dev/hda4
read-only

macosx=/dev/hda5
enablecdboot
enableofboot

(I left out all the comments)

if I now try the
Code:
mkofboot -v
there are quite a few errors..

mkofboot: Finding OpenFirmware device path to /dev/hda2
ofpath: Unable to determine sysfs mountpoint
mkofboot: Unable to find OpenFirmware path for boot=/dev/hda2
mkofboot: Please add ofboot=<path> where path is the Openfirmware path /dev/hda2 to /etc/yaboot.conf
mkofboot: Finding OpenFirmware device path to '/dev/hda5'...
ofpath: unable to determine sysfs mountpoint
mkofboot: Unable to determine OpenFirmware path for macosx=/dev/hda5
mkofboot: Try specifying the real OpenFirmware path for macosx=dev/hda5 in e/etc/yaboot.conf

I also tried the command given in the comments
Code:
ofpath /dev/hda
but this also returns ofpath: unable to determine sysfs mountpoint

So, I'm stuck. Anybody has an idea what I've done wrong?
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Mon May 08, 2006 1:20 am    Post subject: Reply with quote

Did you compile reiser support into the kernel?
Back to top
View user's profile Send private message
husky1982ch
n00b
n00b


Joined: 08 May 2006
Posts: 6

PostPosted: Mon May 08, 2006 1:25 am    Post subject: Reply with quote

yes, I did
Back to top
View user's profile Send private message
raungst
n00b
n00b


Joined: 20 Mar 2006
Posts: 37
Location: Denver, CO

PostPosted: Mon May 08, 2006 1:51 am    Post subject: Reply with quote

I have a powerbook G4 as well. When I configured my yaboot.conf, I'm pretty sure I had the same problem. Have you tried adding:

Code:

ofboot=hd:2


to your yaboot.conf?

Cheers,
Robert
Back to top
View user's profile Send private message
husky1982ch
n00b
n00b


Joined: 08 May 2006
Posts: 6

PostPosted: Mon May 08, 2006 2:12 am    Post subject: Reply with quote

okay, the errors are really decreasing.. the only one left is the section for the multiboot of the macosx.. so how to get this stuff working?
if yaboot finds the kernel I will notice during the reboot I think.. if it does not, I'm really in trouble ;)
Back to top
View user's profile Send private message
husky1982ch
n00b
n00b


Joined: 08 May 2006
Posts: 6

PostPosted: Mon May 08, 2006 3:01 am    Post subject: Reply with quote

okay, after trying to set the value from
Code:
macosx=/dev/hda5
to
Code:
macosx=hd:5
everything seems to work.. but if I try to run the umount-command listed in the documentation I get
Code:
umount: /mnt/gentoo is busy
Back to top
View user's profile Send private message
husky1982ch
n00b
n00b


Joined: 08 May 2006
Posts: 6

PostPosted: Mon May 08, 2006 3:16 am    Post subject: Reply with quote

I just did the reboot. MacOSX is working.. very slow, but working. When I try to boot gentoo I get a grey screen, holding down the option key leads me to two fine pictures. klicking on the one with the penguin leads me back to the yaboot menu, starting a circle. I think I read some posts with the same problem.I'll try searching there and hope I can post the definite solution than.
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