summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand/cdboot/cdboot.8
blob: 2cb5694793995ec6b2fdb3b4f30c08852ae4357e (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
.\"	$OpenBSD: cdboot.8,v 1.4 2005/11/27 13:11:59 jmc Exp $
.\" Copyright (c) 2004 Tom Cosgrove
.\" Copyright (c) 2003 Matthias Drochner
.\" Copyright (c) 1999 Doug White
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd August 21, 2004
.Dt CDBOOT 8 amd64
.Os
.Sh NAME
.Nm cdboot
.Nd
amd64-specific second-stage CD-specific bootstrap
.Sh DESCRIPTION
.Nm
is a modified version of the amd64 second-stage bootstrap program,
.Xr boot 8 ,
configured to be run by the
.Ox
El Torito CD-ROM boot sector
.Pa cdbr .
.Nm
will look for an
.Pa /etc/boot.conf
configuration
file on the CD-ROM.
If it finds one, it processes the commands within it.
.Pp
.Nm
then sits in a loop,
processing commands given by the user.
It accepts all the commands accepted by
.Xr boot 8 .
.Pp
If no commands are given for a short time,
.Nm
will then attempt to load an
.Ox
kernel from the CD.
It first looks for the install kernel
.Pa bsd.rd
in the standard amd64 release directory
(e.g.\&
.Pa /3.6/amd64/bsd.rd ) ,
then for
.Pa /bsd .
It may be told to boot an alternative kernel,
either by commands in the
.Pa boot.conf
file,
or by commands typed by the user at the
.Ic boot>
prompt.
.Sh FILES
.Bl -tag -width /usr/mdec/cdbootxx -compact
.It Pa /usr/mdec/cdboot
CD-specific second-stage bootstrap
.It Pa /etc/boot.conf
.Nm
configuration file (read from CD)
.El
.Sh EXAMPLES
Boot the install kernel:
.Pp
.Dl boot> bsd.rd
.Sh SEE ALSO
.Xr boot 8 ,
.Xr boot_amd64 8
.Rs
.%T "El Torito" Bootable CD-ROM Format Specification
.%N Version 1.0
.%D January 25, 1995
.%A Curtis E. Stevens, Phoenix Technologies
.%A Stan Merkin, IBM
.Re
.Sh HISTORY
The
.Nm
program first appeared in
.Ox 3.6 .
.Sh BUGS
The
.Ic ls
command does not work on ISO 9660 (cd9660) filesystems,
which are used on most CDs.