xref: /freebsd/stand/i386/isoboot/isoboot.8 (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1.\" Copyright (c) 2018 iXsystems, Inc.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.Dd March 30, 2018
26.Dt ISOBOOT 8
27.Os
28.Sh NAME
29.Nm isoboot
30.Nd Boot code for hybrid ISO/USB images on BIOS-based computers
31.Sh DESCRIPTION
32.Nm
33is used on BIOS-based computers to boot from an ISO image that has
34been written to a USB flash drive or other HDD-like device.
35.Nm
36is installed in a
37.Cm freebsd-boot
38partition with
39.Xr mkimg 1 .
40.Sh IMPLEMENTATION NOTES
41The El Torito standard for bootable CDs provides a 32KB "System Area"
42at the beginning of an image.
43To create an image that is able to be booted by the BIOS as either a
44CD-ROM ("ISO") and as a more HDD-like image (e.g. on a USB flash drive)
45it is necessary to have both a standard El Torito boot catalog
46containing a HDD-style partition table and boot code.
47.Nm
48is intended to be placed in a GPT partition to allow the system to find
49the standard
50.Fx
51.Xr loader 8
52in the ISO filesystem later in the image.
53.Sh BOOTING
54.Nm
55looks for an ISO filesystem image on the device it was booted from and
56seeks to read either the primary
57.Fx
58.Xr loader 8
59or kernel from there.
60.Sh SEE ALSO
61.Xr mkimg 1
62.Sh HISTORY
63.Nm
64appeared in FreeBSD 12.0.
65.Sh AUTHORS
66This manual page written by
67.An Benno Rice Aq benno@FreeBSD.org .
68