aboot.conf
5
aboot.conf
aboot.conf
The configuration file for aboot(8)
DESCRIPTION
aboot.conf
aboot.conf contains a list of boot settings
for aboot(8). Each boot setting
has a unique number which can be supplied at the SRM-Prompt.
SRM.
aboot.conf must be in a directory called
etc on the same partition
as your kernels reside on unless you explicitly list the partitions
for your kernels (see below for details). So if you create a separate
boot partition (called /boot) then
aboot.conf should reside in /boot/etc/.
In the following example the kernels reside on a different partition (hda4)
then / belongs to (hda5), while in the fifth
line /boot is on the same partition (hda6) as
/.
Therefore aboot.conf can be located on any of the
three partitions but always in a directory
etc at the top level of the file system on that
partition. You can change the partition to use with
abootconf(8).
Example aboot.conf
0:4/vmlinuz root=/dev/hda5
1:4/vmlinuz root=/dev/hda5 single
2:4/vmlinuz.old ro root=/dev/hda5
3:4/vmlinuz-2.4.9-32 root=/dev/sdc3 initrd=/initrd-2.4.9-32.img console=tty0
8:6/boot/vmlinuz ro root=/dev/hda6
The first number is a unique identifier for each boot configuration.
To boot a certain configuration at the SRM-Prompt you would issue
boot dka0 -fl "0"
where dka0 has to be replaced by your boot device and the boot configuration
(0 in this case) can be replaced by any defined in
etc/aboot.conf.
After the colon the number of the partition the kernel resides on is given. 1
corresponds to the BSD partition labeled A:, 2 to B: and so on.
After the slash the name of the kernel to boot is given, including a possible
path. If your kernel does not reside on a file system but is located directly
after aboot(8) at the beginning of the hard disk
you would omit the number, the slash and the kernel name.
Next the name of the partition to mount as / is given.
Other kernel parameters follow as required. As shown also an initrd can be
specified.
The contents of this file can be shown before booting if necessary by
using the interactive
mode of aboot(8) (booting with the flag "i")
and then issuing "h" at the aboot-prompt.
AUTHOR
This man page was written by Helge Kreutzmann
debian@helgefjell.de for the Debian GNU/Linux project but
may be used by others.
SEE ALSO
aboot(8), abootconf(8), swriteboot(8), HP SRM Manual ()