Subject: Re: OpenFirmare dual boot problem
From: Riccardo Gusso (grick@libero.it, grick@mac.com)
Date: Wed Sep 06 2000 - 15:31:24 MDT
>Rick:
>
>Can you elaborate on what you did? I tried for 3 days to get ybin >and the
>CHRP
>script to work on my iMac DV SE 400 without success.
>
>Pat
>--
>Powered by Yellow Dog Linux
>--
>Pat Plummer.MD
>ppat@micron.net
I did nothing special: I downloaded ybin 0.17 from Ethan Benson site,
edit the yaboot.conf file to match my hd situation (in particular I added
a the line 'macos=hd:5' to specify the path to MacOs, without this line
you have no dual-boot !), and then gave the command
'ybin -b /dev/hda6 -C yaboot.conf' that created the file ofboot.b and
yaboot in my boot partition (I decided to use an HFS partion, that in
Linux is /dev/hda6, that I created to exchange files from Linux to Mac);
I don't remember if I had to copy the yaboot.conf file in that partition
or if ybin did this too. Then I put vmlinux in the same partition, and I
made two little changes to the ofboot.b file:
this are the corresponding lines in my ofboot.b file:
: bootyaboot " Loading second stage bootstrap..." fb8-write 100 ms " boot
hd:6,yaboot" eval ; (I use hd:6,yaboot since I have no /boot directory)
get-secs 10 + (instead of 5, to have more time at the startup to decid
which system to boot)
Then I rebooted pressing Option+Command+O+F to go in Open Firmware and
gave the command 'setenv boot-device hd:6,ofboot.b', and hen 'boot', and
I had a dual-boot system working!
For best understanding I put here my yaboot.conf
ofboot=hd:6
device=hd:6
macos=hd:5
delay=20
timeout=20
install=/boot/yaboot
magicboot=/boot/ofboot.b
image=hd:6,\\vmlinux
label=Linux
root=/dev/hda7
append = "video=atyfb:vmode:17,cmode:24"
Don't ask me too much about it: I only tell you that hd:6 (that is
/dev/hda6) is the boot partition; hd:5 (/dev/hda5) is the MacOs
partition, hd:7 (/dev/hda7) the Linux root partition.
Bye.
Rick
"And what can I tell you my brother, my killer
What can I possibly say?
I guess that I miss you, I guess I forgive you
I'm glad you stood in my way."
L. Cohen, "Famous blue raincoat"
This archive was generated by hypermail 2a24 : Wed Sep 06 2000 - 15:37:40 MDT