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.
-
Table of Contents
-
1. Legal Notices
-
-
1.1. Disclaimer
-
1.2. Copyright
-
1.3. Feedback
-
2. Introduction
-
-
2.1. Why clone disk images
-
2.2. Why boot from a network
-
2.3. Network boot process overview
-
3. Setting up DHCP and TFTP servers
-
-
3.1. Setting up DHCP
-
3.2. Setting up TFTP
-
3.3. Using different servers
-
4. Preparing boot files
-
-
4.1. Kernel
-
4.2. Files on initrd
-
4.3. Packing initrd
-
5. Booting from Grub floppy disk
-
-
5.1. Grub menu file
-
5.2. Compiling Grub with network support
-
5.3. Making the boot floppy disk
-
6. Running the clone script
-
-
6.1. Saving and restoring disk images
-
6.2. Using fdisk
-
7. Extending the solution
-
-
7.1. Saving and restoring files instead of file systems
-
7.2. Setting up the master boot record
-
7.3. Loading necessary modules
-
7.4. Predefined operations on
grub.conf
-
A. List of files on initrd
-
B. Clone script
-
References