Friday, August 01, 2003

**Note**

To Backup Boot Sector

use "infile" (if) to backup the boot sector

To Hardisk
# dd if=/dev/hda of=bootsector.img bs=512 count=1

To Floppy :
# dd if=/dev/hda of=/dev/fd0 bs=512 count=1

To Restore these images, use "outfile" (of) destinations.
For example:

Restore from Hardisk:
# dd if=bootsector.img of=/dev/hda

If it's stored on a floppy, use :
# dd if=/dev/fd0 of=/dev/hda


0 comments: