mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
Tagged bootdisk.xml
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4169 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
d3ad32710e
commit
1e247d13f9
@ -6,76 +6,82 @@
|
|||||||
]>
|
]>
|
||||||
|
|
||||||
<sect1 id="postlfs-config-bootdisk" xreflabel="Creating a Custom Boot Device">
|
<sect1 id="postlfs-config-bootdisk" xreflabel="Creating a Custom Boot Device">
|
||||||
<sect1info>
|
<?dbhtml filename="bootdisk.html"?>
|
||||||
<othername>$LastChangedBy$</othername>
|
|
||||||
<date>$Date$</date>
|
|
||||||
</sect1info>
|
|
||||||
<?dbhtml filename="bootdisk.html"?>
|
|
||||||
<title>Creating a Custom Boot Device</title>
|
|
||||||
|
|
||||||
<sect2>
|
<sect1info>
|
||||||
<title>Decent Rescue Boot Device Needs</title>
|
<othername>$LastChangedBy$</othername>
|
||||||
<para>This section is really about creating a <emphasis>rescue</emphasis>
|
<date>$Date$</date>
|
||||||
device. As the name <emphasis>rescue</emphasis> implies, the host
|
</sect1info>
|
||||||
system has a problem, often lost partition information or corrupted file
|
|
||||||
systems, that prevent it from booting and/or operating normally. For
|
|
||||||
this reason, you <emphasis>must not</emphasis> depend on resources from
|
|
||||||
the host being "rescued". To presume that any given partition or hard
|
|
||||||
drive <emphasis>will</emphasis> be available is a risky presumption.</para>
|
|
||||||
|
|
||||||
<para>In a modern system, there are many devices that can be
|
<title>Creating a Custom Boot Device</title>
|
||||||
used as a rescue device: floppy, cdrom, usb drive, or even a network card.
|
|
||||||
Which one you use depends on your hardware and your BIOS. In the past,
|
|
||||||
we usually thought of rescue device as a floppy disk. Today, many
|
|
||||||
systems do not even have a floppy drive.</para>
|
|
||||||
|
|
||||||
<para>Building a complete rescue device is a challenging task. In many
|
<sect2>
|
||||||
ways, it is equivalent to building an entire <acronym>LFS</acronym> system.
|
<title>Decent Rescue Boot Device Needs</title>
|
||||||
In addition, it would be a repitition of information already available.
|
|
||||||
For these reasons, the procedures for a rescue device image are not
|
|
||||||
presented here.</para>
|
|
||||||
</sect2>
|
|
||||||
|
|
||||||
<sect2>
|
<para>This section is really about creating a <emphasis>rescue</emphasis>
|
||||||
<title>Creating a Rescue Floppy</title>
|
device. As the name <emphasis>rescue</emphasis> implies, the host
|
||||||
|
system has a problem, often lost partition information or corrupted file
|
||||||
|
systems, that prevent it from booting and/or operating normally. For
|
||||||
|
this reason, you <emphasis>must not</emphasis> depend on resources from
|
||||||
|
the host being "rescued". To presume that any given partition or hard
|
||||||
|
drive <emphasis>will</emphasis> be available is a risky presumption.</para>
|
||||||
|
|
||||||
<para>The software of today's systems has grown large. Linux 2.6 no longer
|
<para>In a modern system, there are many devices that can be
|
||||||
supports booting directly from a floppy. In spite of this, there are solutions
|
used as a rescue device: floppy, cdrom, usb drive, or even a network card.
|
||||||
available using older version of Linux. One of the best is Tom's Root/Boot
|
Which one you use depends on your hardware and your BIOS. In the past,
|
||||||
Disk available at <ulink url='http://www.toms.net/rb/'/>. This will provide a
|
we usually thought of rescue device as a floppy disk. Today, many
|
||||||
minimal Linux system on a single floppy disk and provides the ability to
|
systems do not even have a floppy drive.</para>
|
||||||
customize the contents of your disk if necessary.</para>
|
|
||||||
|
|
||||||
</sect2>
|
<para>Building a complete rescue device is a challenging task. In many
|
||||||
|
ways, it is equivalent to building an entire <acronym>LFS</acronym> system.
|
||||||
|
In addition, it would be a repitition of information already available.
|
||||||
|
For these reasons, the procedures for a rescue device image are not
|
||||||
|
presented here.</para>
|
||||||
|
|
||||||
<sect2>
|
</sect2>
|
||||||
<title>Creating a Bootable CD-ROM</title>
|
|
||||||
|
|
||||||
<para>There are several sources that can be used for a rescue CD-ROM.
|
<sect2>
|
||||||
Just about any commercial distribution's installation CD-ROMs or
|
<title>Creating a Rescue Floppy</title>
|
||||||
DVDs will work. These include RedHat, Mandrake, and SuSE. One
|
|
||||||
very popular option is Knoppix.</para>
|
|
||||||
|
|
||||||
<para>In addition, the LFS Community has developed its own Boot
|
<para>The software of today's systems has grown large. Linux 2.6 no longer
|
||||||
CD-ROM available at <ulink url='ftp://anduin.linuxfromscratch.org/isos/'/>.
|
supports booting directly from a floppy. In spite of this, there are solutions
|
||||||
A copy of this CD-ROM is available with the printed version of the Linux
|
available using older version of Linux. One of the best is Tom's Root/Boot
|
||||||
From Scratch book. If you download the ISO image, use <xref linkend='cdrecord'/> to
|
Disk available at <ulink url='http://www.toms.net/rb/'/>. This will provide a
|
||||||
copy the image to a CD-ROM.</para>
|
minimal Linux system on a single floppy disk and provides the ability to
|
||||||
|
customize the contents of your disk if necessary.</para>
|
||||||
|
|
||||||
<para>In the future, the build instructions for this CD-ROM will be presented,
|
</sect2>
|
||||||
but they are not available at this writing.</para>
|
|
||||||
</sect2>
|
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
<title>Creating a Bootable USB Drive</title>
|
<title>Creating a Bootable CD-ROM</title>
|
||||||
|
|
||||||
<para>A USB Pen drive, sometimes called a Thumb drive, is recognized by Linux as
|
<para>There are several sources that can be used for a rescue CD-ROM.
|
||||||
a SCSI device. Using one of these devices as a rescue device has the advantage
|
Just about any commercial distribution's installation CD-ROMs or
|
||||||
that it is usually large enough to hold more than a minimal boot image. You
|
DVDs will work. These include RedHat, Mandrake, and SuSE. One
|
||||||
can save critical data to the drive as well as use it to diagnose and recover
|
very popular option is Knoppix.</para>
|
||||||
a damaged system. Booting such a drive requires BIOS support, but building the
|
|
||||||
system consists of formatting the drive, adding <application>grub</application>
|
|
||||||
as well as the kernel and supporting files.</para>
|
|
||||||
|
|
||||||
</sect2>
|
<para>In addition, the LFS Community has developed its own Boot
|
||||||
</sect1>
|
CD-ROM available at <ulink url='ftp://anduin.linuxfromscratch.org/isos/'/>.
|
||||||
|
A copy of this CD-ROM is available with the printed version of the Linux
|
||||||
|
From Scratch book. If you download the ISO image, use <xref linkend='cdrecord'/> to
|
||||||
|
copy the image to a CD-ROM.</para>
|
||||||
|
|
||||||
|
<para>In the future, the build instructions for this CD-ROM will be presented,
|
||||||
|
but they are not available at this writing.</para>
|
||||||
|
|
||||||
|
</sect2>
|
||||||
|
|
||||||
|
<sect2>
|
||||||
|
<title>Creating a Bootable USB Drive</title>
|
||||||
|
|
||||||
|
<para>A USB Pen drive, sometimes called a Thumb drive, is recognized by Linux as
|
||||||
|
a SCSI device. Using one of these devices as a rescue device has the advantage
|
||||||
|
that it is usually large enough to hold more than a minimal boot image. You
|
||||||
|
can save critical data to the drive as well as use it to diagnose and recover
|
||||||
|
a damaged system. Booting such a drive requires BIOS support, but building the
|
||||||
|
system consists of formatting the drive, adding <application>grub</application>
|
||||||
|
as well as the kernel and supporting files.</para>
|
||||||
|
|
||||||
|
</sect2>
|
||||||
|
|
||||||
|
</sect1>
|
||||||
|
Loading…
Reference in New Issue
Block a user