View previous topic :: View next topic |
Author |
Message |
daSilVetZ n00b
Joined: 28 Apr 2003 Posts: 66 Location: CT
|
Posted: Mon Apr 28, 2003 9:06 pm Post subject: HELP with yaboot *please* :) |
|
|
When turn my iBook on, it dumps me into Open-Firmware mode and gives me the following:
boot-empty, unknown word
Apple PowerBook4,3 4.5.2f2 ect....
Welcome to Open-Firmware, the sys...
To continue booting, type "mac-boot" ....
To shut down, type "shut-down"...
ok
0 >
I then have to type "mac-boot" which brings me to the normal yaboot BOOT: screen, and then gentoo boots up fine.
How can I have it so that when i reboot my iBook, it starts out with yaboot? |
|
Back to top |
|
|
ralph Advocate
Joined: 02 Mar 2003 Posts: 2001 Location: Hamburg
|
Posted: Wed Apr 30, 2003 9:09 am Post subject: |
|
|
did you try ybin -v? |
|
Back to top |
|
|
soebbi Tux's lil' helper
Joined: 30 Mar 2003 Posts: 93 Location: Stadtlohn, Germany
|
Posted: Wed Apr 30, 2003 10:20 am Post subject: |
|
|
I have the same Problem when I insert the "macosx" parameter into the yaboot.conf.
After running ybin -v and rebooting it drops me into the OF, too. When I then enter "mac-boot" do I get the correct Yaboot menu.
Without the "macosx" option everything works fine.
Quite weird...
Greetings,
Soebbi
PS: I hope my english isn't thaaaaat bad. =) |
|
Back to top |
|
|
ralph Advocate
Joined: 02 Mar 2003 Posts: 2001 Location: Hamburg
|
Posted: Wed Apr 30, 2003 11:11 am Post subject: |
|
|
hi, dont know if this helps, but as on my ibook yaboot works fine heres my yaboot.conf:
apend="hdc=ide-scsi"
boot=/dev/hda2
device=/pci@f2000000/mac-io@17/ata-4@1f000/disk@0:
partition=4
root=/dev/hda4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
image=/boot/vmlinux
label=Linux
read-only
macosx=/dev/hda12
also, i think partition 2 has to be your bootstrap partition, but im not really sure.
hope this helps. :) |
|
Back to top |
|
|
daSilVetZ n00b
Joined: 28 Apr 2003 Posts: 66 Location: CT
|
Posted: Wed Apr 30, 2003 3:56 pm Post subject: |
|
|
Hey, thanks for the replies. Unfortunately it still won't work right
I tried commenting the macosx line in yaboot.conf, however it still dumps me into open firmware mode where i then need to type "mac-boot" to get to the next screen ehre i have to press "l" to get to the yaboot boot: screen !
Here is my yaboot.conf if anyone can figure out what's wrong with it:
PS: My bootstrap is on hda2 !
boot=/dev/hda2
device=hd:
partition=4
delay=30
timeout=300
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
image=/boot/vmlinux
label=Linux
root=/dev/hda4
read-only
image=/vmlinux.old
label=Linux.old
root=/dev/hda4
read-only
macosx=/dev/hda5
enablecdboot
enableofboot
|
|
Back to top |
|
|
ralph Advocate
Joined: 02 Mar 2003 Posts: 2001 Location: Hamburg
|
Posted: Fri May 02, 2003 11:15 am Post subject: |
|
|
hi, just a thought, but have you tried commenting out
image=/vmlinux.old
label=Linux.old
root=/dev/hda4
read-only
also, did you run yabootconfig again?
just guessing, but hope it will help. [/quote] |
|
Back to top |
|
|
daSilVetZ n00b
Joined: 28 Apr 2003 Posts: 66 Location: CT
|
Posted: Fri May 02, 2003 5:19 pm Post subject: |
|
|
Well thx for all the replies, I finally managed to get it to work. In OF i
set-defaults and reset-NVRAM then rebooted and for some reason it now works. |
|
Back to top |
|
|
miltonm n00b
Joined: 03 May 2003 Posts: 2
|
Posted: Sat May 03, 2003 10:45 am Post subject: |
|
|
you probably turned off autoboot ... I like this mode
To see the variables and the defaults, type
to change one, type
Code: | setenv auto-boot? true |
|
|
Back to top |
|
|
daSilVetZ n00b
Joined: 28 Apr 2003 Posts: 66 Location: CT
|
Posted: Sat May 03, 2003 1:22 pm Post subject: |
|
|
no, actually the reason it wasn't working is because I have enabled the monitor spanning hack, and for some reason it screws up a few things. It's all explained http://www.rutemoeller.com/mp/ibook/ibook_e.html
Quote: | Update 25/01/03
This update is only relevant to those of you who use LinuxPPC besides Mac OS.
When you use Linux besides Mac OS on your iBook you will notice that after you apply the patch you can't boot into Linux anymore. If you reinstall Yaboot the patch doesn't work anymore but you can boot into Linux again.
The problem is that the patch selects the root device with select-dev but doesn't release it once it's done.
To solve this problem I added another line containing unselect to the patch code.
If you tried the patch already and experienced this issue you should zap the NVRAM and enter the whole patch again as listed below. You could also add the extra line in nvedit but you should only do that if you're familiar with the Open Firmware as you can easily make a mistake.
If you don't have the problem you don't need to change anything but if you apply the patch for the first time you should use the new code as shown below. |
|
|
Back to top |
|
|
bahkyp Tux's lil' helper
Joined: 19 Jul 2002 Posts: 86 Location: Sydney Australia
|
Posted: Sat May 10, 2003 3:58 am Post subject: |
|
|
ralph wrote: |
also, i think partition 2 has to be your bootstrap partition, but im not really sure.
|
Na I was quite happily using boot=/dev/hdc4 until recently _________________ I'm so small, I can fit under the door.
I was here yesterday, this is a recording. |
|
Back to top |
|
|
genfoo Apprentice
Joined: 17 Apr 2003 Posts: 192
|
Posted: Thu May 15, 2003 6:10 pm Post subject: |
|
|
setenv boot-command boot
from inside linux, should be helpful i would think
also make sure you have latest yaboot/ybin stuff
also if you're using the ppc-source-2.4.20-r4 stop immediately and downgrade to a sane kernel, that one is horrid |
|
Back to top |
|
|
|