yaboot boots os x, not linux, b&w g3
Jeffrey Bruton
yellowdog-general@lists.terrasoftsolutions.com
Wed Jun 30 23:17:01 2004
I repartitioned before installing ydl a second time, so as far as I
could tell via the clues (checkmarks) in the graphical installer,
yaboot was installed to the main hd, and / and swap to the second
drive. since yaboot works for os x as it should but fails while trying
to boot, it does not know the correct device path to /, wouldn't that
be correct?
I found some yaboot documentation on penguinppc.org, there it states OF
commands as follows
name device type
------- ---------------
hd internal ide drive (primary controller, master disk)
ultra1 internal ide drive (primary controller, slave disk)
ide0 ide drive (secondary controller, master disk)
ide1 ide drive (secondary controller, slave disk)
cd cdrom
zip zip drive
fw firewire interface
fd floppy drive
enet ethernet interface
the drive with root is on the secondary controller, and jumpered as
master, or ide0
I have tried many variations at the boot prompt where I am left after
yaboot prints the error message, I will to go through them again and
document what variations on a path-to-kernel I have tried.
I know I was unsuccessful with the following entered at the boot prompt:
ide0:2,/vmlinux root=/dev/hdb2
On Jun 30, 2004, at 9:49pm, David Hacker wrote:
> If you repartitioned the drive then the partiton numbers are different
> so yaboot is looking in the wrong place now. Try booting from the cd
> by typing linux root=/dev/???? where ???? is the drive and partiton
> of your YDL install. It is hard to tell from the pdisk info whether
> the rdisk1 disk is an ata disk or a USB disk. if it is on ata then it
> is probably hdb2 if it is a USB disk then it is probably sda2. Once
> you get booted run ybin -v as root from a terminal and then try
> rebooting with yaboot.
> Good Luck,
> David C. Hacker, DVM
> On Jun 30, 2004, at 10:30 PM, Jeffrey Bruton wrote:
>
>> yaboot will boot os x, but if I type an "l" at the prompt it prints
>> the following
>>
>> /pci@8000000/pci-bridge@d/Ultra-Tek100P@4/0,0:2,/bootvmlinux-2.4.22
>> -2f: Unable to open file, Invalid device.
>>
>> I used carbon copy cloner to clone my working os x to the drive
>> attached to the Ultra-Tek ide controller, it booted just fine. For
>> some reason it would not work for yaboot.
>>
>> I repartitioned my main drive, allocating free space for the apple
>> bootstrap partition and the rest to os x, cloned os x back, installed
>> ydl, seemed to go fine. I have been reading about openfirmware, but
>> this seems to be a yaboot problem, no? I am left with a "boot:"
>> prompt. I am confused as to what path might be appropriate here, or
>> what other steps to take. I did manage to provide a pdisk dump below
>> (something new to me, cool)
>>
>> jbg3:~ jb$ sudo pdisk /dev/rdisk0 -dump
>> /dev/rdisk0 map block size=512
>> #: type name length base (
>> size )
>> 1: Apple_partition_map Apple 63 @ 1
>> 2: Apple_Bootstrap untitled 2048 @ 64 (
>> 1.0M)
>> 3: Apple_Free Extra 268288 @ 2112
>> (131.0M)
>> 4: Apple_HFS Apple_HFS_Untitled_3 119832784 @ 270400
>> ( 57.1G)
>> 5: Apple_Free Extra 16 @ 120103184
>>
>> Device block size=512, Number of Blocks=120103200
>> DeviceType=0x0, DeviceId=0x0
>>
>> jbg3:~ jb$ sudo pdisk /dev/rdisk1 -dump
>> /dev/rdisk1 map block size=512
>> #: type name length base (
>> size )
>> 1: Apple_partition_map Apple 63 @ 1
>> 2: Apple_UNIX_SVR2 untitled 22240448 @ 64 (
>> 10.6G)
>> 3: Apple_UNIX_SVR2 swap 3144960 @ 22240512 (
>> 1.5G)
>>
>> Device block size=512, Number of Blocks=25385472
>> DeviceType=0x0, DeviceId=0x0
>>
>> _______________________________________________
>> yellowdog-general mailing list
>> yellowdog-general@lists.terrasoftsolutions.com
>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>> HINT: to Google archives, try '<keywords>
>> site:terrasoftsolutions.com'
>>
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com'
>