Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HELP with yaboot *please* :)
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
daSilVetZ
n00b
n00b


Joined: 28 Apr 2003
Posts: 66
Location: CT

PostPosted: Mon Apr 28, 2003 9:06 pm    Post subject: HELP with yaboot *please* :) Reply with quote

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
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Wed Apr 30, 2003 9:09 am    Post subject: Reply with quote

did you try ybin -v?
Back to top
View user's profile Send private message
soebbi
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2003
Posts: 93
Location: Stadtlohn, Germany

PostPosted: Wed Apr 30, 2003 10:20 am    Post subject: Reply with quote

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
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Wed Apr 30, 2003 11:11 am    Post subject: Reply with quote

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
View user's profile Send private message
daSilVetZ
n00b
n00b


Joined: 28 Apr 2003
Posts: 66
Location: CT

PostPosted: Wed Apr 30, 2003 3:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Fri May 02, 2003 11:15 am    Post subject: Reply with quote

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
View user's profile Send private message
daSilVetZ
n00b
n00b


Joined: 28 Apr 2003
Posts: 66
Location: CT

PostPosted: Fri May 02, 2003 5:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
miltonm
n00b
n00b


Joined: 03 May 2003
Posts: 2

PostPosted: Sat May 03, 2003 10:45 am    Post subject: Reply with quote

you probably turned off autoboot ... I like this mode :)

To see the variables and the defaults, type
Code:
printenv

to change one, type
Code:
setenv auto-boot? true
Back to top
View user's profile Send private message
daSilVetZ
n00b
n00b


Joined: 28 Apr 2003
Posts: 66
Location: CT

PostPosted: Sat May 03, 2003 1:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
bahkyp
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2002
Posts: 86
Location: Sydney Australia

PostPosted: Sat May 10, 2003 3:58 am    Post subject: Reply with quote

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
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Thu May 15, 2003 6:10 pm    Post subject: Reply with quote

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
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