[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

B&W G3 + Yellow Dog... close, but not bootin' yet.



Installing:  Yellow Dog PPC on B&W Mac G3
OF version 1.1f4
Mac OS 10.4.2 is on disk 1(hda), installing YD4 on disk 2(hdb) for  
dual boot

The basic problem is I can get the yaboot menu to work for OS X on  
one disk, but not for YDL on the second disk.  I get the first-stage  
boot with the yaboot menu for OS choices, but it fails at second- 
stage and won't actually boot the kernel.  Looks to me like something  
is wrong with the path reference for hdb, but I'm out of ideas on how  
to get it to work.

Tried the suggestion for using 'dir' from OF in a recent post.  This  
WORKS for the bootstrap and OS9 partitions, but when I try the root  
partition, I get:
 >dir /pci@80000000/pci-bridge@d/pci-ata@1/@0/disk@1:5,\
MAC-PARTS: specified partition is not valid  can't open the DIR device

Also tried Fedora with similar results. Starting to think this is  
some kind of of firmware bug.  Either that or I'm missing something  
obvious.  Am hoping someone has done similar install and can  
straighten this out.

Thanks for any help,
Sam
---


WHAT WORKS:
ybin installs yaboot + config files to Apple_Bootstrap partition,  
makes changes to Open Firmware.  I get the yaboot menu at startup.   
Boot process continues to default Mac OS X after delay interval.

I can boot machine into YDL using 'boot: linux rescue' from the  
install CD.

Will boot OSX if I choose 'x' menu option.

WHAT DOESN'T WORK:
-Won't boot Linux kernel if I make 'l' menu choice.  Generates error:
     Can't open device </pci@80000000/pci-bridge@d/pci-ata@1/@0/ 
disk@1:0,\\:tbxi hd:,\\:tbxi>
     /pci@80000000/pci-bridge@d/pci-ata@1/@0/disk@1:2,\\yaboot.conf:
     Unable to open file, Invalid device
     Can't open config file

-Won't boot Mac OS9 on /dev/hdb3 (same disk as YDL, different partition)

-Pressing tab key shows nothing, not even default kernel choice.

-Attempts to manually boot kernel also fail (boot: ultra1:2,/boot/ 
vmlinux root=/dev/hdb2 ro)
     Error:  No Device - IDE init failed


/etc/yaboot.conf file:

# yaboot.conf generated by anaconda
bgcolor=light-blue
device=/dev/hdb
boot=/dev/hdb2
init-message="Welcome to Yellow Dog Linux! Hit <TAB> for boot options."
partition=5
timeout=50
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
delay=10
enablecdboot
macosx=/dev/hda6
macos=/dev/hdb3
defaultos=macosx

image=/boot/vmlinux-2.6.10-1.ydl.1
     label=linux
     read-only
     initrd=/boot/initrd-2.6.10-1.ydl.1.img
     root=/dev/hdb5
     append="rhgb quiet"


Partition table (pdisk /dev/hdb):
Partition map (with 512 byte blocks) on '/dev/hdb'

#:                type name            length   base     ( size )

1: Apple_partition_map Apple               63 @ 1
2:     Apple_Bootstrap bootstrap         2048 @ 4194368  (  1.0M)
3:           Apple_HFS Apple_HFS_OS9  3932160 @ 262208   (  1.9G)
4:     Apple_UNIX_SVR2 swap           1048576 @ 4196416  (512.0M)
5:     Apple_UNIX_SVR2 root          20140480 @ 5244992  (  9.6G)
6:          Apple_Free Extra           262144 @ 64       (128.0M)

Device block size=512, Number of Blocks=25385472 (12.1G)
DeviceType=0x0, DeviceId=0x0