| 12 | |
| 13 | Since it has no graphics card, and [http://ozlabs.org/pipermail/linuxppc-dev/2003-March/014959.html ofboot (the typical first-stage bootloader) tries to force output to the graphics card], the standard boot process fails. |
| 14 | |
| 15 | This is resolved by telling Open Firmware to bypass `ofboot` entirely, and go straight to `yaboot`. This is done by setting the nvram this way: |
| 16 | |
| 17 | {{{ |
| 18 | 0 roy:~# nvram --print-config=boot-device |
| 19 | hd:2,yaboot |
| 20 | 0 roy:~# |
| 21 | }}} |
| 22 | |
| 23 | So the boot process (from the serial line) looks like this during a healthy boot: |
| 24 | {{{ |
| 25 | Apple RackMac1,1 4.4.4f1 BootROM built on 06/22/02 at 00:22:19 |
| 26 | Copyright 1994-2002 Apple Computer, Inc. |
| 27 | All Rights Reserved. |
| 28 | |
| 29 | Welcome to Open Firmware, the system time and date is: 23:23:44 08/06/2008 |
| 30 | |
| 31 | To continue booting, type "mac-boot" and press return. |
| 32 | To shut down, type "shut-down" and press return. |
| 33 | |
| 34 | ok |
| 35 | 0 > boot load-size=24948 adler32=2a9e7dac |
| 36 | |
| 37 | Loading ELF |
| 38 | |
| 39 | |
| 40 | Config file read, 620 bytes |
| 41 | |
| 42 | Welcome to yaboot version 1.3.13 |
| 43 | Enter "help" to get some basic usage information |
| 44 | boot: Linux |
| 45 | Please wait, loading kernel... |
| 46 | Elf32 kernel loaded... |
| 47 | Loading ramdisk... |
| 48 | ramdisk loaded at 01a00000, size: 7326 Kbytes |
| 49 | OF stdout device is: /pci@f2000000/pci-bridge@d/mac-io@7/escc@13000/ch-a@13020 |
| 50 | command line: console=ttyS0,9600 console=tty0 |
| 51 | memory layout at init: |
| 52 | alloc_bottom : 02128000 |
| 53 | alloc_top : 20000000 |
| 54 | alloc_top_hi : 20000000 |
| 55 | rmo_top : 20000000 |
| 56 | ram_top : 20000000 |
| 57 | Looking for displays |
| 58 | }}} |