next up previous contents
Next: 2.2.3.1.6 The grub shell Up: 2.2.3.1 Introduction Previous: 2.2.3.1.4 Configuration   Contents

2.2.3.1.5 Creating a GRUB boot floppy

To create a GRUB boot floppy, you need to take the files `stage1' and `stage2' from the image directory, and write them to the first and the second block of the floppy disk, respectively.

*Caution:* This procedure will destroy any data currently stored on the floppy.

On a Linux, that is done with the following commands:

# cd /usr/share/grub/i386-pc

# dd if=stage1 of=/dev/fd0 bs=512 count=1

1+0 records in

1+0 records out

# dd if=stage2 of=/dev/fd0 bs=512 seek=1

153+1 records in

153+1 records out

#
A GRUB boot floppy is a great recovery tool.