[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: B&W G3 + Yellow Dog... close, but not bootin' yet.
On Oct 22, 2005, at 5:24 PM, Ethan Benson wrote:
> On Fri, Oct 21, 2005 at 06:05:52PM -0400, Sam Pogany wrote:
>
>>
>> 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.
>>
>
> do you actually get a yaboot boot: prompt?
Yes, yaboot loads at startup. It's using the yaboot.conf
file below because I get
blue background.
> if so what does yaboot say when it tries to load a kernel?
Default OS is set for OS X, so I have to press 'l' for
Linux. I see "Loading second
stage bootstrap..." briefly, then I get a black screen with
error below (WHAT DOESN'T 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
>>
>
> completly normal. OF cannot read non-hfs filesystems.
>
>
>> 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.
>>
>
> as far as I know booting from a slave device should work on the B&W,
> we need to see your yaboot.conf i think.
>
>
>> 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>
>>
>
> this almost looks like a badly generated ofboot...
>
>
>> /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
>>
>
> but this looks like yaboot, so does yaboot load or not?
Yes, definitely loads at startup. By this time, I'm looking
at black screen
with this error message followed by:
Welcome to yaboot version 1.3.11
Enter "help" to get some basic usage information
boot:
This boot prompt is where I'm giving manual boot command below.
>
>> -Won't boot Mac OS9 on /dev/hdb3 (same disk as YDL, different
>> partition)
>>
>> -Pressing tab key shows nothing, not even default kernel choice.
>>
>
> normal if its not finding its config file.
>
>
>> -Attempts to manually boot kernel also fail (boot: ultra1:2,/boot/
>> vmlinux root=/dev/hdb2 ro)
>> Error: No Device - IDE init failed
>>
>
> there is no such error message inside yaboot. so that must be OF or
> the kernel.
>
>
>>
>> /etc/yaboot.conf file:
>>
>> # yaboot.conf generated by anaconda
>> bgcolor=light-blue
>> device=/dev/hdb
>>
> ^^^^^^^^
> this is wrong, you must have an OpenFirmware device path here, not a
> unix one.
Changed this line to: device=ultra1:
ran ybin to update, same results and error at startup
>
>> 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
>>
>> --
>> To UNSUBSCRIBE, email to minimalist@lists.penguinppc.org
>> with a subject of "unsubscribe yaboot-users". Trouble? Contact
>> listmaster@lists.penguinppc.org
>>
>
> --
> Ethan Benson
> http://www.alaska.net/~erbenson/
>