source: postlfs/config/bootdisk.xml

trunk
Last change on this file was ab4fdfc, checked in by Pierre Labastie <pierre.labastie@…>, 3 months ago

Change all xml decl to encoding=utf-8

  • Property mode set to 100644
File size: 3.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 <?dbhtml filename="bootdisk.html"?>
10
11
12 <title>Creating a Custom Boot Device</title>
13
14 <sect2>
15 <title>Decent Rescue Boot Device Needs</title>
16
17 <para>
18 This section is really about creating a <emphasis>rescue</emphasis>
19 device. As the name <emphasis>rescue</emphasis> implies, the host
20 system has a problem, often lost partition information or corrupted file
21 systems, that prevents it from booting and/or operating normally. For
22 this reason, you <emphasis>must not</emphasis> depend on resources from
23 the host being "rescued". To presume that any given partition or hard
24 drive <emphasis>will</emphasis> be available is a risky presumption.
25 </para>
26
27 <para>
28 In a modern system, there are many devices that can be used as a
29 rescue device: floppy, cdrom, usb drive, or even a network card.
30 Which one you use depends on your hardware and your BIOS. In the past,
31 a rescue device was thought to be a floppy disk. Today, many
32 systems do not even have a floppy drive.
33 </para>
34
35 <para>
36 Building a complete rescue device is a challenging task. In many
37 ways, it is equivalent to building an entire LFS system.
38 In addition, it would be a repetition of information already available.
39 For these reasons, the procedures for a rescue device image are not
40 presented here.
41 </para>
42
43 </sect2>
44
45 <sect2>
46 <title>Creating a Rescue Floppy</title>
47
48 <para>
49 The software of today's systems has grown large. Linux 2.6 no longer
50 supports booting directly from a floppy. In spite of this, there are
51 solutions available using older versions of Linux. One of the best is
52 Tom's Root/Boot Disk available at <ulink
53 url='http://www.toms.net/rb/'/>. This will provide a minimal Linux
54 system on a single floppy disk and provides the ability to customize
55 the contents of your disk if necessary.
56 </para>
57
58 </sect2>
59
60 <sect2>
61 <title>Creating a Bootable CD-ROM</title>
62
63 <para>
64 There are several sources that can be used for a rescue CD-ROM.
65 Just about any commercial distribution's installation CD-ROMs or
66 DVDs will work. These include RedHat, Ubuntu, and SuSE. One
67 very popular option is Knoppix.
68 </para>
69
70 <para>
71 Also, the LFS Community has developed its own LiveCD available at
72 <ulink url='https://www.&lfs-domainname;/livecd/'/>. This LiveCD, is no
73 longer capable of building an entire LFS/BLFS system, but is still a
74 good rescue CD-ROM. If you download the
75 ISO image, use <xref linkend="xorriso"/> to copy the image to a
76 CD-ROM.
77 </para>
78
79 <para>
80 The instructions for using GRUB2 to make a custom rescue CD-ROM are
81 also available in <ulink url='&lfs-root;/chapter10/grub.html'>LFS
82 Chapter 10</ulink>.
83 </para>
84
85 </sect2>
86
87 <sect2>
88 <title>Creating a Bootable USB Drive</title>
89
90 <para>
91 A USB Pen drive, sometimes called a Thumb drive, is recognized by Linux
92 as a SCSI device. Using one of these devices as a rescue device has
93 the advantage that it is usually large enough to hold more than a
94 minimal boot image. You can save critical data to the drive as well
95 as use it to diagnose and recover a damaged system. Booting such a
96 drive requires BIOS support, but building the system consists of
97 formatting the drive, adding <application>GRUB</application> as well
98 as the Linux kernel and supporting files.
99 </para>
100
101 </sect2>
102</sect1>
Note: See TracBrowser for help on using the repository browser.