[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ next ]


HOWTO-Booting with Yaboot on PowerPC
Chapter 10 - Yaboot as a Temporary Bootloader


It's very convenient for certain tasks like installing a new system the first time without a CD, or rescuing an existing system, to boot a ramdisk system such as an installer directly from files placed on an existing partition.

An example is the Debian installer. It is contained in a floppy-image root.bin file which yaboot can boot directly. A simple yaboot.conf to initialize the ramdisk, yaboot, root.bin, and a kernel image (named linux in this example) are all that is needed. All files are placed at the root level on an existing partition.

The yaboot.conf file for this purpose contains just four lines:

         image=linux
         label=install
         initrd=root.bin
         initrd-size=8192

If you create yaboot.conf in the Mac OS, you must convert it to use Unix newlines (linefeeds only). If you use Mac OS newlines (just carriage returns), yaboot will be unable to read the file.

Boot into OpenFirmware, and type at the prompt:

         0 > boot hd:xx,yaboot

replacing xx with the partition number of the partition where the kernel and yaboot files were placed, followed by a return. At the boot: prompt, type install followed by a return.


[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ next ]


HOWTO-Booting with Yaboot on PowerPC

Version 1.00, Oct 28 2001

Chris Tillman