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

378 lines
4.7 KiB
HTML

<HTML
><HEAD
><TITLE
>HOWTO Clone Disk Images on Linux Booted from a Network</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="NEXT"
TITLE="Legal Notices"
HREF="legal.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">HOWTO Clone Disk Images on Linux Booted from a Network</H1
><DIV
CLASS="AUTHORGROUP"
><A
NAME="AEN4"><H3
CLASS="AUTHOR"
><A
NAME="AEN5"
>Guilherme Tupynambá</A
></H3
><DIV
CLASS="AFFILIATION"
><DIV
CLASS="ADDRESS"
><P
CLASS="ADDRESS"
> gtupy (at) uol.com.br<br>
</P
></DIV
></DIV
></DIV
><P
CLASS="PUBDATE"
>2002-09-09<BR></P
><DIV
CLASS="REVHISTORY"
><TABLE
WIDTH="100%"
BORDER="0"
><TR
><TH
ALIGN="LEFT"
VALIGN="TOP"
COLSPAN="3"
><B
>Revision History</B
></TH
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 0.3</TD
><TD
ALIGN="LEFT"
>2002-09-24</TD
><TD
ALIGN="LEFT"
>Revised by: gct</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Review suggestions incorporated</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 0.2</TD
><TD
ALIGN="LEFT"
>2002-09-23</TD
><TD
ALIGN="LEFT"
>Revised by: jyg</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Minor revisions</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 0.1</TD
><TD
ALIGN="LEFT"
>2002-09-09</TD
><TD
ALIGN="LEFT"
>Revised by: gct</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>First draft.</TD
></TR
></TABLE
></DIV
><DIV
><DIV
CLASS="ABSTRACT"
><A
NAME="AEN28"><P
></P
><P
>This document describes a setup that allows a machine to boot Linux from BOOTP/TFTP, using the Grub boot loader, and save and restore disk and partition images to and from a TFTP server.</P
><P
></P
></DIV
></DIV
><HR></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>1. <A
HREF="legal.html"
>Legal Notices</A
></DT
><DD
><DL
><DT
>1.1. <A
HREF="legal.html#AEN32"
>Disclaimer</A
></DT
><DT
>1.2. <A
HREF="legal.html#AEN39"
>Copyright</A
></DT
><DT
>1.3. <A
HREF="legal.html#AEN45"
>Feedback</A
></DT
></DL
></DD
><DT
>2. <A
HREF="introduction.html"
>Introduction</A
></DT
><DD
><DL
><DT
>2.1. <A
HREF="introduction.html#AEN51"
>Why clone disk images</A
></DT
><DT
>2.2. <A
HREF="introduction.html#AEN54"
>Why boot from a network</A
></DT
><DT
>2.3. <A
HREF="introduction.html#AEN57"
>Network boot process overview</A
></DT
></DL
></DD
><DT
>3. <A
HREF="setting-up.html"
>Setting up DHCP and TFTP servers</A
></DT
><DD
><DL
><DT
>3.1. <A
HREF="setting-up.html#AEN63"
>Setting up DHCP</A
></DT
><DT
>3.2. <A
HREF="setting-up.html#AEN78"
>Setting up TFTP</A
></DT
><DT
>3.3. <A
HREF="setting-up.html#AEN104"
>Using different servers</A
></DT
></DL
></DD
><DT
>4. <A
HREF="preparing.html"
>Preparing boot files</A
></DT
><DD
><DL
><DT
>4.1. <A
HREF="preparing.html#AEN114"
>Kernel</A
></DT
><DT
>4.2. <A
HREF="preparing.html#AEN128"
>Files on initrd</A
></DT
><DT
>4.3. <A
HREF="preparing.html#AEN154"
>Packing initrd</A
></DT
></DL
></DD
><DT
>5. <A
HREF="booting.html"
>Booting from Grub floppy disk</A
></DT
><DD
><DL
><DT
>5.1. <A
HREF="booting.html#AEN195"
>Grub menu file</A
></DT
><DT
>5.2. <A
HREF="booting.html#AEN231"
>Compiling Grub with network support</A
></DT
><DT
>5.3. <A
HREF="booting.html#AEN244"
>Making the boot floppy disk</A
></DT
></DL
></DD
><DT
>6. <A
HREF="running.html"
>Running the clone script</A
></DT
><DD
><DL
><DT
>6.1. <A
HREF="running.html#AEN287"
>Saving and restoring disk images</A
></DT
><DT
>6.2. <A
HREF="running.html#AEN295"
>Using fdisk</A
></DT
></DL
></DD
><DT
>7. <A
HREF="extending.html"
>Extending the solution</A
></DT
><DD
><DL
><DT
>7.1. <A
HREF="extending.html#AEN305"
>Saving and restoring files instead of file systems</A
></DT
><DT
>7.2. <A
HREF="extending.html#AEN322"
>Setting up the master boot record</A
></DT
><DT
>7.3. <A
HREF="extending.html#AEN327"
>Loading necessary modules</A
></DT
><DT
>7.4. <A
HREF="extending.html#AEN335"
>Predefined operations on <TT
CLASS="FILENAME"
>grub.conf</TT
></A
></DT
></DL
></DD
><DT
>A. <A
HREF="initrdfiles.html"
>List of files on initrd</A
></DT
><DT
>B. <A
HREF="clonescript.html"
>Clone script</A
></DT
><DT
><A
HREF="references.html"
>References</A
></DT
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation 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="legal.html"
ACCESSKEY="N"
>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"
>Legal Notices</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>