| View previous topic :: View next topic |
| Author |
Message |
Ph0eniX Guru


Joined: 24 Sep 2004 Posts: 493 Location: New York, U.S.
|
Posted: Mon Aug 21, 2006 1:00 am Post subject: can't get yaboot to work [SOLVED] |
|
|
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 |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2762
|
Posted: Mon Aug 21, 2006 3:13 am Post subject: |
|
|
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 |
|
 |
Ph0eniX Guru


Joined: 24 Sep 2004 Posts: 493 Location: New York, U.S.
|
Posted: Mon Aug 21, 2006 1:03 pm Post subject: |
|
|
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 |
|
 |
|