Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't get yaboot to work [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
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 502
Location: New York, U.S.

PostPosted: Mon Aug 21, 2006 1:00 am    Post subject: can't get yaboot to work [SOLVED] Reply with quote

I'm getting:

Code:

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 to /dev/hda2 to /etc/yaboot.conf


when running "mkofboot -v" (on a G4 Mini) ...if I specify"ofboot=/dev/hda2" in yaboot.conf and run it, it doesn't return any errors but the bootloader hangs while loading stage 2.

How do I fix this?

Here's what my yaboot.conf looks like:
Code:

boot=/dev/hda2
#ofboot=/dev/hda2
device=/pci@f4000000/ata-6@d/disk@0:
partition=4
root=/dev/hda4
delay=10
timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-genkernel-ppc-2.6.17-gentoo-r4.JackS
initrd=/boot/initramfs-genkernel-ppc-2.6.17-gentoo-r4.JackS
label=linux
root=/dev/hda4
read-only


Other useful info:
I'm installing 2006.0
My partition layout: /dev/hda2=bootstrap, /dev/hda3=swap, /dev/hda4=linux root.

Thanks!


Last edited by Ph0eniX on Mon Aug 21, 2006 1:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Aug 21, 2006 3:13 am    Post subject: Reply with quote

It looks like you're running mkofboot -v while you're still in the chroot. Make sure that you're out of the chroot when setting up yaboot. (Use the -C option to tell it to use your config file from your installation).
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 502
Location: New York, U.S.

PostPosted: Mon Aug 21, 2006 1:03 pm    Post subject: Reply with quote

Thank you! ...you're right, I was trying to run mkofboot from the chroot'ed environment. It's working now. I'm having another issue now but I'll leave it for another topic.

Thanks again!
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