]> git.ozlabs.org Git - yaboot.git/blob - doc/examples/yaboot.conf.rs6k
Commit yaboot 1.3.5
[yaboot.git] / doc / examples / yaboot.conf.rs6k
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 ## fstype=raw is what makes ybin dd yaboot to the bootstrap partition
8 ## instead of using a filesystem. 
9
10 fstype=raw
11
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 DO NOT
15 ## specify a partition number for this!  This is generally not
16 ## necessary for IBM hardware
17
18 #device=hd:
19
20 ## partition is the partition number where the kernel images are
21 ## located.  The kernel images should be on your root filesystem, so
22 ## this is usually the same partition number as your root filesystem.
23 ## so if root = /dev/hda3 (the 3rd partition) then you should have
24 ## partition=3  This *MUST* be set correct or yaboot won't boot!  This
25 ## option can be either set globally as shown here, or per image in
26 ## the image= sections
27
28 partition=3
29
30 ## timeout is the amount of time in tenths of a second that yaboot
31 ## will wait before booting the default kernel image (the first image=
32 ## section in this config file or the value of default=).  
33
34 timeout=20
35 install=/usr/local/lib/yaboot/yaboot
36
37 ## nonvram is required for IBM hardware currently since ofpath does
38 ## not support them, it is also probably not necessary.
39
40 nonvram
41
42 ## Password supplied in plaintext, required for yaboot to boot, unless
43 ## restricted is also present (see below).  Be sure to
44 ## chmod 600 /etc/yaboot.conf if you set this!
45
46 #password=secret
47
48 ## Password supplied as an md5 hash, see above
49
50 #password=$1$saltstri$WHZcnT3IOdSrMvizOq7Ht1
51
52 ## A password is only required to boot an image specified here if
53 ## parameters are specified on the command line or if the user enters
54 ## an image is not specified in the configuration file at all (ie.
55 ## arbitrary file load).  restricted can also be placed in an image
56 ## section in that case any image not including the restricted keyword
57 ## will be fully password protected.
58
59 #restricted
60
61 ## image is the kernel itself, commonly kept in / but also commonly
62 ## found in /boot.  Note that /boot should generally not be its own
63 ## partition on powerpcs, its not necessary and complicates things.
64 ## Make sure /boot is on the partition specified by partition= see
65 ## above.  /boot should never be an HFS filesystem.  You may point
66 ## image= to a symbolic link so long as the symlink does not cross
67 ## partition boundries.
68
69 image=/vmlinux
70         label=Linux
71         root=/dev/sda3
72         read-only