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

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4a570af1 was 4a570af1, checked in by Xi Ruoyao <xry111@…>, 3 years ago

secure linuxfromscratch.org url

  • Property mode set to 100644
File size: 4.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
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 <sect1info>
12 <date>$Date$</date>
13 </sect1info>
14
15 <title>Creating a Custom Boot Device</title>
16
17 <sect2>
18 <title>Decent Rescue Boot Device Needs</title>
19
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>
29
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>
37
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>
45
46 </sect2>
47
48 <sect2>
49 <title>Creating a Rescue Floppy</title>
50
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='http://www.toms.net/rb/'/>. 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>
60
61 </sect2>
62
63 <sect2>
64 <title>Creating a Bootable CD-ROM</title>
65
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>
72
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>
81
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>
88
89 </sect2>
90
91 <sect2>
92 <title>Creating a Bootable USB Drive</title>
93
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>
104
105 <para condition="html" role="usernotes">User Notes:
106 <ulink url='&blfs-wiki;/CreatingaCustomBootDevice'/>
107 </para>
108
109 </sect2>
110</sect1>
Note: See TracBrowser for help on using the repository browser.