]> git.ozlabs.org Git - yaboot.git/blob - etc/yaboot.conf
ybin succeeds but returns error code
[yaboot.git] / etc / yaboot.conf
1 ## Example yaboot.conf for ybin and yaboot >= 0.6
2 ## see man yaboot.conf for more details.
3
4 ## Change `unconfigured' to your bootstrap partition eg: /dev/hda2
5 boot=unconfigured
6
7 ## device is the OpenFirmware device path to the disk containing
8 ## kernel images.  if your disk is /dev/hda you can find the
9 ## OpenFirmware path by running the command: ofpath /dev/hda DO NOT
10 ## specify a partition number for this!  On IBM hardware you can
11 ## generally comment this out.
12
13 device=hd:
14
15 ## partition is the partition number where the kernel images are
16 ## located.  The kernel images should be on your root filesystem, so
17 ## this is usually the same partition number as your root filesystem.
18 ## so if root = /dev/hda3 (the 3rd partition) then you should have
19 ## partition=3  This *MUST* be set correct or yaboot won't boot!  This
20 ## option can be either set globally as shown here, or per image in
21 ## the image= sections
22
23 partition=3
24
25 ## delay is the amount of time in seconds the dual boot menu (if one
26 ## is configured, by the presense of macos, macosx, etc options here)
27 ## will wait before choosing the default OS (GNU/Linux or the value of
28 ## defaultos=).  If you omit this then the value of timeout=
29 ## (converted to seconds) will be used.
30
31 delay=10
32
33 ## timeout is the amount of time in tenths of a second that yaboot
34 ## will wait before booting the default kernel image (the first image=
35 ## section in this config file or the value of default=).
36
37 timeout=40
38 install=/usr/local/lib/yaboot/yaboot
39 magicboot=/usr/local/lib/yaboot/ofboot
40
41 ## Change the default colors, fgcolor is the text color, bgcolor is
42 ## the screen background color. (default: fgcolor=white, bgcolor=black)
43 #fgcolor=black
44 #bgcolor=green
45
46 ## Password supplied in plaintext, required for yaboot to boot, unless
47 ## restricted is also present (see below). Be sure to
48 ## chmod 600 /etc/yaboot.conf if you set this!
49
50 #password=secret
51
52 ## Password supplied as an md5 hash, see above
53
54 #password=$1$saltstrg$HnJ/gcM3oKhNbnzUPgXTD/
55
56 ## A password is only required to boot an image specified here if
57 ## parameters are specified on the command line or if the user enters
58 ## an image is not specified in the configuration file at all (ie.
59 ## arbitrary file load).  restricted can also be placed in an image
60 ## section in that case any image not including the restricted keyword
61 ## will be fully password protected.
62
63 #restricted
64
65 ## image is the kernel itself, commonly kept in / but also commonly
66 ## found in /boot.  Note that /boot should generally not be its own
67 ## partition on powerpcs, its not necessary and complicates things.
68 ## Make sure /boot is on the partition specified by partition= see
69 ## above.  /boot should never be an HFS filesystem.  You may point
70 ## image= to a symbolic link so long as the symlink does not cross
71 ## partition boundries.
72
73 image=/vmlinux
74         label=Linux
75         root=/dev/hda3
76         read-only
77
78 image=/vmlinux.old
79         label=Linux.old
80         root=/dev/hda3
81         read-only