1 ## Example yaboot.conf for ybin and yaboot >= 0.6
2 ## see man yaboot.conf for more details.
4 ## This example shows how to multi boot GNU/Linux, MacOS, MacOSX, and
5 ## Darwin with SCSI disks. This example also creates menu items for
6 ## booting from the CDROM, the Network and into an OpenFirmware
9 ## Change to your bootstrap partition ie: /dev/sda2
12 ## device is the OpenFirmware device path to the disk containing
13 ## kernel images. if your disk is /dev/hda you can find the
14 ## OpenFirmware path by running the command: ofpath /dev/hda
16 device=/pci@80000000/pci-bridge@d/ADPT,2930CU@2/@1:
18 ## partition is the partition number where the kernel images are
19 ## located. The kernel images should be on your root filesystem, so
20 ## this is usually the same partition number as your root filesystem.
21 ## so if root = /dev/hda3 (the 3rd partition) then you should have
22 ## partition=3 This *MUST* be set correct or yaboot won't boot! This
23 ## option can be either set globally as shown here, or per image in
24 ## the image= sections.
28 ## delay is the amount of time in seconds the dual boot menu (if one
29 ## is configured, by the presense of macos, macosx, etc options here)
30 ## will wait before choosing the default OS (GNU/Linux or the value of
31 ## defaultos=). If you omit this then the value of timeout=
32 ## (converted to seconds) will be used.
36 ## timeout is the amount of time in tenths of a second that yaboot
37 ## will wait before booting the default kernel image (the first image=
38 ## section in this config file or the value of default=).
41 install=/usr/local/lib/yaboot/yaboot
42 magicboot=/usr/local/lib/yaboot/ofboot
44 ## Change the default colors, fgcolor is the text color, bgcolor is
45 ## the screen background color. (default: fgcolor=white, bgcolor=black)
49 ## Password supplied in plaintext, required for yaboot to boot, unless
50 ## restricted is also present (see below). Be sure to
51 ## chmod 600 /etc/yaboot.conf if you set this!
55 ## Password supplied as an md5 hash, see above
57 #password=$1$saltstrg$HnJ/gcM3oKhNbnzUPgXTD/
59 ## A password is only required to boot an image specified here if
60 ## parameters are specified on the command line or if the user enters
61 ## an image is not specified in the configuration file at all (ie.
62 ## arbitrary file load). restricted can also be placed in an image
63 ## section in that case any image not including the restricted keyword
64 ## will be fully password protected.
68 ## image is the kernel itself, commonly kept in / but also commonly
69 ## found in /boot. Note that /boot should generally not be its own
70 ## partition on powerpcs, its not necessary and complicates things.
71 ## Make sure /boot is on the partition specified by partition= see
72 ## above. /boot should never be an HFS filesystem. You may point
73 ## image= to a symbolic link so long as the symlink does not cross
74 ## partition boundries.
86 ## The {macos,macosx,darwin} variables can be either a unix /dev node or an
87 ## OpenFirmware path, as shown here:
89 ## BSD root partition with bsd kernel at /bsd. you must have the BSD
90 ## bootloader ofwboot installed at /usr/local/lib/yaboot/ofwboot
96 ## OpenFirmware path, this would likely be /dev/sda9 if you used a
98 macosx=/pci@80000000/pci-bridge@d/ADPT,2930CU@2/@1:9
100 darwin=/pci@80000000/pci-bridge@d/ADPT,2930CU@2/@1:10
102 ## Add a menu entry to boot from the CDROM:
106 ## Add a menu entry to boot from the Network:
110 ## Add a menu entry to boot into an OpenFirmware prompt: