Click to See Complete Forum and Search --> : yaboot & invalid device


Davy
12-01-2005, 10:05 PM
gather around and i'll tell ye' a tell a tale of hearbreak and heartache; of trial and tribulations; and of the death of dreams.

this imac, see? a stout old machine with a G3 233MHz processor for a heart and a 4 gig hardrive split into two five partitions for a brain.
the first partition was the disk system and it was the nicest.
the second partition was the swap and it always did what it was told.
ah, but it was the the third and fourth partitions, see? that we need to talk s'more about. the third partition, was / and the fourth partition was /home.

one day, this old imac came across crux 3.0 ppc and, straight away, it was love at first sight. the two would sit around dreaming of what life would be like once crux was downloaded and installed; but what the old imac failed to mention; something that crux didn't want and the imac just couldn't live without: yaboot.

you see? yaboot was near and dear to the old imac's heart. so close, it was practically a part of the old feller.

crux did her damndest my setting up yaboot to accept her. she set up /etc/yaboot.conf to say:
------------------------------------------
boot=hda2
device=hd:
partition=4
delay=10
timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
image=/vmlinux
label=Linux
root=/dev/hda4
read-only
image=/vmlinux.old
label=Linux.old
root=/dev/hda4
read-only
------------------------------------------

but it did no good. the only thing yaboot would say was: "hda:4,/vmlinux:unable to open file, Invalid device"

she tried and tried again to make yaboot her own, she looked at the papers here: http://cruxppc.sunsite.dk/releases/2.0/misc/handbook.html . she turned to other people, she even prayed, but it just wouldn't work.

until one day, she realized that she must turn to a higher power. a power that were dreams have a home and where children laugh. a power kept in a place guarded, but shared by linux demi-gods. and so she hoped, with all her might that, one day, a linux demi-god would take pity on her and show her the way of ligh so that she and the old stout imac could live happily ever after. (or atleast until the next upgrade come along).

are you that linux demi-god?

dkeav
12-02-2005, 02:07 AM
if i remember correctly you need bootx, not yaboot

yaboot doesnt work to well with old world macs

Davy
12-03-2005, 12:19 AM
correct, however this imac is a new world mac.

it's a bondiblue imac == new world mac

StarKnight83
12-03-2005, 06:30 AM
Not completely lost - ive found that the few times id messed up the yaboot.conf file that i could still boot into the linux partition w/ the firmware gui (hold down option during boot) shouldnt the root stuff be hda3? and have you updated the kernel any cause the /vmlinux.old doesnt seem right if you havent

Davy
12-04-2005, 10:55 AM
does it make a difference which partition / is in? i setup mac-fdisk with:

partition 1: disk bootloader
partition 2: bootstrap partition
partition 3: swap
partition 4: /
partition 5: /home

what affect will have a /vmlinux.old section have? even with it gone, i still can't get os to boot.

StarKnight83
12-04-2005, 03:43 PM
sorry bout the misinformation before (was confused on your partition map) try changing "boot=hda2" to "boot=/dev/hda2" taking a look at things thats the only entry that seems different to me then the one im running

Davy
12-08-2005, 02:57 AM
gave boot=/dev/hda2 a shot and it didn't seem to work. thanks for the idea anways

... now, i'm wondering, does the first parition need to be there? perhaps i should remove it?