source: postlfs/config/bootdisk.xml@ 95085ef

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 95085ef was 95085ef, checked in by Bruce Dubbs <bdubbs@…>, 19 years ago

Update livecd url. Add iptables to bootscripts

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3525 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="postlfs-config-bootdisk" xreflabel="Creating a Custom Boot Device">
9<sect1info>
10<othername>$LastChangedBy$</othername>
11<date>$Date$</date>
12</sect1info>
13<?dbhtml filename="bootdisk.html"?>
14<title>Creating a Custom Boot Device</title>
15
16<sect2>
17<title>Decent Rescue Boot Device Needs</title>
18<para>This section is really about creating a <emphasis>rescue</emphasis>
19device. As the name <emphasis>rescue</emphasis> implies, the host
20system has a problem, often lost partition information or corrupted file
21systems, that prevent it from booting and/or operating normally. For
22this reason, you <emphasis>must not</emphasis> depend on resources from
23the host being "rescued". To presume that any given partition or hard
24drive <emphasis>will</emphasis> be available is a risky presumption.</para>
25
26<para>In a modern system, there are many devices that can be
27used as a rescue device: floppy, cdrom, usb drive, or even a network card.
28Which one you use depends on your hardware and your BIOS. In the past,
29we usually thought of rescue device as a floppy disk. Today, many
30systems do not even have a floppy drive.</para>
31
32<para>Building a complete rescue device is a challenging task. In many
33ways, it is equivalent to building an entire <acronym>LFS</acronym> system.
34In addition, it would be a repitition of information already available.
35For these reasons, the procedures for a rescue device image are not
36presented here.</para>
37</sect2>
38
39<sect2>
40<title>Creating a Rescue Floppy</title>
41
42<para>The software of today's systems has grown large. Linux 2.6 no longer
43supports booting directly from a floppy. In spite of this, there are solutions
44available using older version of Linux. One of the best is Tom's Root/Boot
45Disk available at <ulink url='http://www.toms.net/rb/'/>. This will provide a
46minimal Linux system on a single floppy disk and provides the ability to
47customize the contents of your disk if necessary.</para>
48
49</sect2>
50
51<sect2>
52<title>Creating a Bootable CD-ROM</title>
53
54<para>There are several sources that can be used for a rescue CD-ROM.
55Just about any commercial distribution's installation CD-ROMs or
56DVDs will work. These include RedHat, Mandrake, and SuSE. One
57very popular option is Knoppix.</para>
58
59<para>In addition, the LFS Community has developed its own Boot
60CD-ROM available at <ulink url='ftp://anduin.linuxfromscratch.org/isos/'/>.
61A copy of this CD-ROM is available with the printed version of the Linux
62From Scratch book. If you download the ISO image, use <xref linkend='cdrecord'/> to
63copy the image to a CD-ROM.</para>
64
65<para>In the future, the build instructions for this CD-ROM will be presented,
66but they are not available at this writing.</para>
67</sect2>
68
69<sect2>
70<title>Creating a Bootable USB Drive</title>
71
72<para>A USB Pen drive, sometimes called a Thumb drive, is recognized by Linux as
73a SCSI device. Using one of these devices as a rescue device has the advantage
74that it is usually large enough to hold more than a minimal boot image. You
75can save critical data to the drive as well as use it to diagnose and recover
76a damaged system. Booting such a drive requires BIOS support, but building the
77system consists of formatting the drive, adding <application>grub</application>
78as well as the kernel and supporting files.</para>
79
80</sect2>
81</sect1>
Note: See TracBrowser for help on using the repository browser.