source: postlfs/config/bootdisk.xml@ 4a570af

11.0 qt5new trunk
Last change on this file since 4a570af was 4a570af, checked in by Xi Ruoyao <xry111@…>, 5 months ago

secure url

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