]> git.ozlabs.org Git - yaboot.git/blob - doc/examples/yaboot.conf.rs6000
Merge ubuntu ofpath fixes
[yaboot.git] / doc / examples / yaboot.conf.rs6000
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 ie: /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!  This is generally not
11 ## necessary for IBM hardware
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 ## timeout is the amount of time in tenths of a second that yaboot
26 ## will wait before booting the default kernel image (the first image=
27 ## section in this config file or the value of default=).
28
29 timeout=20
30 install=/usr/local/lib/yaboot/yaboot
31
32 ## nonvram is required for IBM hardware currently since ofpath does
33 ## not support them, it is also probably not necessary.
34
35 nonvram
36
37 ## Password supplied in plaintext, required for yaboot to boot, unless
38 ## restricted is also present (see below).  Be sure to
39 ## chmod 600 /etc/yaboot.conf if you set this!
40
41 #password=secret
42
43 ## Password supplied as an md5 hash, see above
44
45 #password=$1$saltstrg$HnJ/gcM3oKhNbnzUPgXTD/
46
47 ## A password is only required to boot an image specified here if
48 ## parameters are specified on the command line or if the user enters
49 ## an image is not specified in the configuration file at all (ie.
50 ## arbitrary file load).  restricted can also be placed in an image
51 ## section in that case any image not including the restricted keyword
52 ## will be fully password protected.
53
54 #restricted
55
56 ## image is the kernel itself, commonly kept in / but also commonly
57 ## found in /boot.  Note that /boot should generally not be its own
58 ## partition on powerpcs, its not necessary and complicates things.
59 ## Make sure /boot is on the partition specified by partition= see
60 ## above.  /boot should never be an HFS filesystem.  You may point
61 ## image= to a symbolic link so long as the symlink does not cross
62 ## partition boundries.
63
64 image=/vmlinux
65         label=Linux
66         root=/dev/sda3
67         read-only