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

Joined: 04 Oct 2004 Posts: 389
|
Posted: Tue Dec 27, 2005 8:28 am Post subject: [SOLVED] yaboot |
|
|
after configuring yaboot.conf and running mkofboot -v i get the following;
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
my hardware is an apple powerbook iv _________________ gentoo good to be true
Last edited by nss on Sat Mar 04, 2006 3:49 am; edited 1 time in total |
|
Back to top |
|
 |
nss Guru

Joined: 04 Oct 2004 Posts: 389
|
Posted: Tue Dec 27, 2005 9:04 am Post subject: |
|
|
After googling, I found that the following line should be included for 2.6 kernels;
ofboot=hd:2 (or whatever number your bootstrap partition is)
Including this line allowed me to run mkofboot -v successfully. I don't know why this information is not in the handbook. Maybe it should be? _________________ gentoo good to be true |
|
Back to top |
|
 |
nixnut Bodhisattva


Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Tue Dec 27, 2005 8:05 pm Post subject: |
|
|
bobotoes wrote: | Including this line allowed me to run mkofboot -v successfully. I don't know why this information is not in the handbook. Maybe it should be? |
Because most people don't have to resort to that and the message you get when things don't work is pretty clear
Code: | mkofboot: Please add ofboot=<path> where <path> is the OpenFirmware path to /dev/hda2 to /etc/yaboot.conf |
_________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
 |
nss Guru

Joined: 04 Oct 2004 Posts: 389
|
Posted: Wed Dec 28, 2005 12:08 am Post subject: |
|
|
You are right. I completely overlooked the error message. I just recently decided to install gentoo again. I tried about 50 times (not much exaggeration) a little less than a year ago and never got my system up and running. Yesterday, when I reached the yaboot configuration of the handbook, I had a feeling this was it, gentoo was going to work. When I received the error message after running mkofboot -v, I was in such an excited state. I was frantic. I just wanted to get past this little bump and see my system reboot successfully. I was too frantic/eager to have gentoo that I just wanted to have a solution without having to think. I am ready to have my computer running. Too much time has been spent trying to get an OS on my powerbook. I want to use the OS and use the programs and learn to program. I was not going to settle for an OS other than gentoo, OpenBSD, FreeBSD, or debian. I've tried them all and my computer never wanted to cooperate until now.
BTW, if someone could help me with my other post in this forum "dhcpcd", I could move on to using portage and really get gentoo working. Thank you everyone. _________________ gentoo good to be true |
|
Back to top |
|
 |
LordVermiis n00b

Joined: 01 Mar 2006 Posts: 1 Location: Spain
|
Posted: Thu Mar 02, 2006 11:14 am Post subject: |
|
|
I was having the same problem about yaboot. Thank you for solving the problem. |
|
Back to top |
|
 |
ueulo n00b

Joined: 13 Jul 2006 Posts: 15
|
Posted: Sat Jul 15, 2006 8:42 pm Post subject: |
|
|
Code: | after configuring yaboot.conf and running mkofboot -v i get the following;
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 |
I have the same problem so what exactly should i do now.I run ofboot=hd:2 ,...
this is my yaboot.conf
Code: | boot=/dev/hda2
device=/pci:i@f4000000/ata-6@d/disk0:
partition=6
root=/dev/hda6
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
image=/boot/kernelz-2.6.1-gentoo-r5
label=linux
read-only |
And when i boot into system get this
Code: | Welcome to yaboot version 1.3.13
Enter "help" to get some basic usage information
boot: Linux
Please wait, loading kernel...
Elf32 kernel loaded...
chrpboot starting: loaded at 0x00800000
gunzipping (0x00010000 <- 0x00806c88:0x00a548ba)...
Invalid memory access at %SRR0: 00805a24 %SRR1: 00003030
Apple BootROM built on 09/23/04 at 16:13:38
Copyright 1994-2004 Apple Computer, Inc.
All Rights Reserved.
Welcome to Open Firmware, the system time and date is: 10:15:04
13/07/2006
To continue booting, type "mac-boot" and press return.
To shut down, type "shut-down" and press return.
ok
0 > |
Please,can someone help me with this problem |
|
Back to top |
|
 |
corsair Retired Dev

Joined: 06 Oct 2003 Posts: 451 Location: Aachen, Germany
|
Posted: Sat Jul 15, 2006 9:30 pm Post subject: |
|
|
ueulo wrote: |
I have the same problem so what exactly should i do now.I run ofboot=hd:2 ,...
|
you don't have to 'run' this. please add this line to your yaboot.conf:
(or what ever your bootstrap partion is...)
EDIT: oh... I should have read your post till the end. That looks not good. your kernel seems to be loading, but it fails... so, mkofboot -v was run successfully? |
|
Back to top |
|
 |
JoseJX Retired Dev

Joined: 28 Apr 2002 Posts: 2774
|
Posted: Sun Jul 16, 2006 1:09 am Post subject: |
|
|
That error on boot looks like you built your kernel for the wrong processor. Can you please post your kernel config? _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
 |
ueulo n00b

Joined: 13 Jul 2006 Posts: 15
|
Posted: Sun Jul 16, 2006 5:34 am Post subject: |
|
|
JoseJX wrote: | That error on boot looks like you built your kernel for the wrong processor. Can you please post your kernel config? |
I have Mac mini G4.When i install yaboot it asked me for path to kernel image i add kernelz-2.6.1-gentoo-r5 .
In my boot folder i have System.map-genkernel-ppc-2.6.15-gentoo-r5
kernelz-2.6.1-gentoo-r5
kernel--genkernel-ppc-2.6.15-gentoo-r5 |
|
Back to top |
|
 |
JoseJX Retired Dev

Joined: 28 Apr 2002 Posts: 2774
|
Posted: Sun Jul 16, 2006 1:21 pm Post subject: |
|
|
Sure, but that's not what I was asking for. I wanted to know about your kernel config to make sure you built it for the right processor. You can find the kernel config in /usr/src/linux/.config. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
 |
ueulo n00b

Joined: 13 Jul 2006 Posts: 15
|
|
Back to top |
|
 |
|