summaryrefslogtreecommitdiff
path: root/package/aboot/src/doc/man/aboot.conf.5
blob: b3cb4939305182484588291bfae3831492a435b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.\" This manpage has been automatically generated by docbook2man-spec
.\" from a DocBook document.  docbook2man-spec can be found at:
.\" <http://shell.ipoline.com/~elmert/hacks/docbook2X/> 
.\" Please send any bug reports, improvements, comments, patches, 
.\" etc. to Steve Cheng <steve@ggi-project.org>.
.TH "ABOOT.CONF" "5" "16 Juli 2003" "aboot.conf" ""
.SH NAME
aboot.conf \- The configuration file for aboot(8)
.SH "DESCRIPTION"
.PP

\fIaboot.conf\fR contains a list of boot settings
for \fBaboot\fR(8). Each boot setting
has a unique number which can be supplied at the SRM-Prompt.
.
.PP
\fIaboot.conf\fR must be in a directory called
\fIetc\fR on the \fBsame partition\fR
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 \fI/boot\fR) then
\fIaboot.conf\fR should reside in \fI/boot/etc/\fR.
.PP
In the following example the kernels reside on a different partition (hda4)
then \fI/\fR belongs to (hda5) while in the fourth
line \fI/boot\fR is on the same partition (hda6) as
\fI/\fR.
Therefore \fIaboot.conf\fR can be located on any of the
three partitions but \fBalways\fR in a directory
\fIetc\fR at the top level of the file system on that
partition. You can change the partition to use with
\fBabootconf\fR(8).
.PP
.SS "EXAMPLE ABOOT.CONF"
.sp
.RS
.sp
.nf
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
.sp
.fi
.RE
.sp
.PP
The first number is a unique identifier for each boot configuration.
To boot a certain configuration at the SRM-Prompt you would issue
.PP
\fBboot \fIdka0 -fl "0"\fB\fR
.PP
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 
\fIetc/aboot.conf\fR.
.PP
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. 
.PP
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 \fBaboot\fR at the beginning of the hard disk
you would omit the number, the slash and the kernel name.
.PP
Next the name of the partition to mount as \fI/\fR is given.
Other kernel parameters follow as required. As shown also an initrd can be
specified.
.PP
The contents of this file can be shown before booting if necessary by
using the interactive
mode of \fBaboot\fR(8) (booting with the flag "i")
and then issuing "h" at the \fBaboot\fR-prompt.
.SH "AUTHOR"
.PP
This man page was written by Helge Kreutzmann
<kreutzm@itp.uni-hannover.de> for the Debian GNU/Linux project but
may be used by others.
.SH "SEE ALSO"
.PP
\fBaboot\fR(8), \fBabootconf\fR(8), \fBswriteboot\fR(8), HP SRM Manual