yaboot boots os x, not linux, b&w g3

Jeffrey Bruton yellowdog-general@lists.terrasoftsolutions.com
Thu Jul 1 13:31:00 2004


I can and did get yaboot to work via the OF command "boot hd:2,\\:tbxi"

The machine does boot to yaboot by default. So from the boot prompt I  
could issue a full OF path to kernel.

Snipped from penguinppc.org yaboot-howto
==================================

9.3 Manually Loading a Kernel Image

Once you have the boot: prompt, you can enter a label defined in your  
yaboot.conf to boot that kernel image. Or instead of a label, you can  
enter a full OpenFirmware path. A typical kernel path might be
          boot: hd:3,/vmlinux


  To pass parameters to the kernel, add them on to the boot: prompt line  
after the kernel label or path. You'll need to specify root= as a  
minimum, but you can add any kernel parameters desired. Here's an  
example;
          boot: hd:3,/vmlinux root=/dev/hda3 ro
================================
End of snip

This is the point at which I am at, correct me if I am wrong please, I  
need a full path to the kernel to pass on at the boot prompt. This is  
where I tried ide0:2,/vmlinux

I thought that would be the secondary ide conroller, master disk  
"ide0", second partition ":2", and path to kernel "/vmlinux".  I don't  
know about kernel parameters, and really if ide0 is really going to  
work if the correct parameters are coupled with it.

I hope this is clearer now, it's almost there. I found the yaboot info  
on penguinppc.org via the same link you sent me, good resources,  
thanks.

On Jun 30, 2004, at 11:22pm, Olaf Olson wrote:

> Sorry about my earlier post. I was half asleep and missed the key  
> point to your message, about having re-partitioned your drive. Are you  
> *sure* you want to boot to vmlinux? Perhaps you should look at the FAQ  
> on OF booting, at the YDL FAQ site:
>
> http://www.sharplabs.com:8668/space/Installing+YDL/ 
> BootX%2C+Yaboot+and+the+OF
>
> Mascarasnake did an excellent job writing this one up and there's a  
> LOT of good stuff in here, but maybe you want to pay special attention  
> to the syntax towards the bottom of the first screen. It looks  
> something like this:
>
> ===================================
> Snipped from the FAQ
>
> *Don't Panic*, revisited
> Just because you told your drunken frat boy to chase after that  
> transvestite and quit making intelligent choices, doesn't mean you  
> can't sober him up. If you've changed your startup disk from the Mac  
> side *and* you put your Apple_Bootstrap partition before all of your  
> other OS partitions, there is a simple way to get your yaboot back.  
> Reset your NVRAM (Zap the PRAM). While starting up, hold down the  
> [option]+[command]+[P]+[R] buttons until your box chimes three times.  
> This /should/ make the bootstrap partition, once again, the first  
> partition the OF sees.
>
>    * /Thanks to Olaf Olson for pointing out this bit:/
>
> Note that I said resetting the NVRAM /should/ fix things so the  
> bootstrap is the first partition the OF sees. Since we do not live in  
> an ideal world, this is not always the case. If you find that you are  
> still unable to boot into Linux, there are still a few things you can  
> do to get back on track.
>
> Armed with the Apple_Bootstrap partition number (pdisk will get this  
> info for you) you will need to boot into the OF like you did at the  
> beginning of this article. Once you are booted into the OF, simply  
> enter this command:
>
> boot hd:x,\\:tbxi
>
> and then enter (replacing "x" in that command with /your/  
> Apple_Bootstrap partition number).
> Once you are back in YDL, you will need to rerun ybin to permanently  
> reset the OF to recognize the bootstrap as the first partition.
>
> This really is a simplified overview of how /NewWorld/ and /OldWorld/  
> Macs behave and about the roles of OF, yaboot and BootX. To find more  
> detailed info and help, check out this stuff:
>
> ===================================
> End of the Snip
>
> Note that the slashes lean to the left. hd is the alias for all of the  
> string of stuff that makes up the definition for the boot drive. You  
> may not have to type ide0, just, in your case:
>
> boot hd:2,\\:tbxi
>
> printalias will give you the definitions for hd and stuff.
>
> Olaf