old-www/HOWTO/Bootdisk-HOWTO/index.html

415 lines
5.5 KiB
HTML

<HTML
><HEAD
><TITLE
>The Linux Bootdisk HOWTO</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.63
"><LINK
REL="NEXT"
TITLE="Preface"
HREF="x21.html"></HEAD
><BODY
CLASS="ARTICLE"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="ARTICLE"
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="TITLE"
><A
NAME="AEN2"
>The Linux Bootdisk HOWTO</A
></H1
><H3
CLASS="AUTHOR"
><A
NAME="AEN5"
>Tom Fawcett</A
></H3
><DIV
CLASS="AFFILIATION"
><DIV
CLASS="ADDRESS"
><P
CLASS="ADDRESS"
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bootdisk-HOWTO@linuxdoc.org<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P
></DIV
></DIV
><P
CLASS="COPYRIGHT"
><A
HREF="ln14.html"
>Copyright</A
> &copy; 1995-2002 by Tom Fawcett</P
><P
CLASS="PUBDATE"
>v4.5, January 2002<BR></P
><DIV
><DIV
CLASS="ABSTRACT"
><A
NAME="AEN18"
></A
><P
></P
><P
> This document describes how to design and build boot/root
diskettes for Linux. These disks can be used as rescue disks or
to test new system components. You should be reasonably
familiar with system administration tasks before attempting to
build a bootdisk. If you just want a rescue disk to have for
emergencies, see <A
HREF="premade.html"
>Appendix A.1</A
>.
</P
><P
></P
></DIV
></DIV
><HR></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>1. <A
HREF="x21.html"
>Preface</A
></DT
><DD
><DL
><DT
>1.1. <A
HREF="x21.html#AEN27"
>Version notes</A
></DT
><DT
>1.2. <A
HREF="x21.html#AEN35"
>To do list</A
></DT
><DT
>1.3. <A
HREF="x21.html#AEN52"
>Feedback and credits</A
></DT
><DT
>1.4. <A
HREF="x21.html#AEN60"
>Distribution policy</A
></DT
></DL
></DD
><DT
>2. <A
HREF="x68.html"
>Introduction</A
></DT
><DT
>3. <A
HREF="x88.html"
>Bootdisks and the boot process</A
></DT
><DD
><DL
><DT
>3.1. <A
HREF="x88.html#AEN93"
>The boot process</A
></DT
><DT
>3.2. <A
HREF="x88.html#AEN159"
>Disk types</A
></DT
></DL
></DD
><DT
>4. <A
HREF="buildroot.html"
>Building a root filesystem</A
></DT
><DD
><DL
><DT
>4.1. <A
HREF="buildroot.html#AEN195"
>Overview</A
></DT
><DT
>4.2. <A
HREF="buildroot.html#CREATINGROOTFS"
>Creating the filesystem</A
></DT
><DT
>4.3. <A
HREF="buildroot.html#AEN315"
>Populating the filesystem</A
></DT
><DT
>4.4. <A
HREF="buildroot.html#PAMANDNSS"
>Providing for PAM and NSS</A
></DT
><DT
>4.5. <A
HREF="buildroot.html#AEN643"
>Modules</A
></DT
><DT
>4.6. <A
HREF="buildroot.html#AEN664"
>Some final details</A
></DT
><DT
>4.7. <A
HREF="buildroot.html#WRAPPINGITUP"
>Wrapping it up</A
></DT
></DL
></DD
><DT
>5. <A
HREF="x688.html"
>Choosing a kernel</A
></DT
><DT
>6. <A
HREF="x703.html"
>Putting them together: Making the diskette(s)</A
></DT
><DD
><DL
><DT
>6.1. <A
HREF="x703.html#TRANSFERRINGWITHLILO"
>Transferring the kernel with LILO</A
></DT
><DT
>6.2. <A
HREF="x703.html#TRANSFERRINGWITHOUTLILO"
>Transferring the kernel without LILO</A
></DT
><DT
>6.3. <A
HREF="x703.html#SETTINGRAMDISKWORD"
>Setting the ramdisk word</A
></DT
><DT
>6.4. <A
HREF="x703.html#AEN831"
>Transferring the root filesystem</A
></DT
></DL
></DD
><DT
>7. <A
HREF="troubleshooting.html"
>Troubleshooting, or The Agony of Defeat</A
></DT
><DT
>8. <A
HREF="slimfast.html"
>Reducing root filesystem size</A
></DT
><DD
><DL
><DT
>8.1. <A
HREF="slimfast.html#AEN955"
>Increase the diskette density</A
></DT
><DT
>8.2. <A
HREF="slimfast.html#AEN966"
>Replace common utilities with BusyBox</A
></DT
><DT
>8.3. <A
HREF="slimfast.html#AEN973"
>Use an alternate shell</A
></DT
><DT
>8.4. <A
HREF="slimfast.html#AEN987"
>Strip libraries and binaries</A
></DT
><DT
>8.5. <A
HREF="slimfast.html#AEN1008"
>Move files to a utility disk</A
></DT
></DL
></DD
><DT
>9. <A
HREF="x1014.html"
>Miscellaneous topics</A
></DT
><DD
><DL
><DT
>9.1. <A
HREF="x1014.html#NONRAMDISKROOT"
>Non-ramdisk root filesystems</A
></DT
><DT
>9.2. <A
HREF="x1014.html#UTILITYDISK"
>Building a utility disk</A
></DT
></DL
></DD
><DT
>10. <A
HREF="pros.html"
>How the pros do it</A
></DT
><DT
>11. <A
HREF="cd-roms.html"
>Creating bootable CD-ROMs</A
></DT
><DD
><DL
><DT
>11.1. <A
HREF="cd-roms.html#AEN1106"
>What is El Torito?</A
></DT
><DT
>11.2. <A
HREF="cd-roms.html#AEN1111"
>How it Works</A
></DT
><DT
>11.3. <A
HREF="cd-roms.html#AEN1117"
>How to make it work</A
></DT
><DT
>11.4. <A
HREF="cd-roms.html#AEN1137"
>Create Win9x Bootable CD-Roms</A
></DT
></DL
></DD
><DT
>12. <A
HREF="x1143.html"
>Frequently Asked Question (FAQ) list</A
></DT
><DT
>A. <A
HREF="a1376.html"
>Resources and pointers</A
></DT
><DD
><DL
><DT
>A.1. <A
HREF="premade.html"
>Pre-made Bootdisks</A
></DT
><DT
>A.2. <A
HREF="x1422.html"
>Rescue packages</A
></DT
><DT
>A.3. <A
HREF="x1429.html"
>LILO -- the Linux loader</A
></DT
><DT
>A.4. <A
HREF="x1434.html"
>Ramdisk usage</A
></DT
><DT
>A.5. <A
HREF="x1440.html"
>The Linux boot process</A
></DT
></DL
></DD
><DT
>B. <A
HREF="a1483.html"
>LILO boot error codes</A
></DT
><DT
>C. <A
HREF="listings.html"
>Sample root filesystem listings</A
></DT
><DT
>D. <A
HREF="utilitylist.html"
>Sample utility disk directory listing</A
></DT
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x21.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Preface</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>