PDA

View Full Version : Really, Really Close on G3/FC4


kernel-panic
26th September 2005, 02:17 PM
I'm still having problems with my Blue & White G3 tower. I get the flashing question mark with a "loading second stage bootstrap..." message with a white background. I tried the long yabootconfig command below, bu it still doesn't work.

yabootconfig -r /dev/hda7 -b /dev/hda6 --kernel /boot/vmlinuz-* --initrd /boot/initrd-*


For reference, here are my system specs if anyone can help.


#parted /dev/hda print
Minor Start End Filesystem Name Flags
1 0.000 0.031 Apple
2 0.031 0.057 Macintosh
3 0.058 0.093 Macintosh
4 0.094 0.343 Macintosh
5 0.344 0.593 Patch Partition
6 0.594 1.593 hfs untitled boot
7 1.594 12001.593 ext3 untitled
8 12001.594 12394.593 linux-swap swap swap


#mount
/dev/hda7 on / type ext3 (rw,defaults)
/dev/proc on /proc type proc (rw,defaults)
/dev/sys on /sys type sysfs (rw,defaults)


#vi /etc/yaboot.conf
boot=/dev/hda6
device=/pci@80000000/pci-bridge@d/pci-ata@1/@/disk@0:
init-message=Welcome to Fedora Core\!
Hit <TAB> for boot options

partition=7
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
default=Linux
defaultos=linux
image=//boot/vmlinuz-2.6.11-1.1369_FC4
label=Linux
root=/dev/hda7
read-only
initrd=//boot/initrd-2.6.11-1.1369_FC4.img


I tried these command in open firmware:
boot hd:1,yaboot
resulting error: specified partition not valid

boot hd:7,yaboot
resulting error: specified partition not valid

boot ultra:1,yaboot
resulting error: loading second stage bootstrap...
can't OPEN: /pci@80000000/pci-bridge@d/pci-ata@1/@/disk@0:

Zakarth
26th September 2005, 08:12 PM
Its been awhile since I've seen this specifically, and it was when I was installing YDL 3.0 on my iBook. I can't remember exactly how I fixed it, but I think it was as simple as booting to Mac OS X (from the CD, or even 9.0) and specifying the correct "Startup Disk" in one of the disk utilities.

Once thats done it should refresh the open firmware correctly.

I think.

Or I could be wildly off

kernel-panic
4th October 2005, 01:40 PM

Didn't work. Any other ideas? Why is this so difficult?

Zakarth
4th October 2005, 02:07 PM
OK...

Lets try a few other things. First, boot into linux from the CD in rescue mode and run this command:

ofpath /dev/hda

This will give you the exact path of what belongs in the device= path in yaboot.conf

The only other thing i can think of is in your image declaration, the image= and initrd= have a // instead of a / (i wouldn't think for sure that was it but *shrug*)

Furthermore, is your partition 1 actually set up as an apple_bootstrap partition. I don't know how parted shows it, but it should be type apple_bootstrap instead of HFS, but that could just be the way parted displays it. If its not type apple_boostrap I don't know how you would fix that necessarily... A reinstall?