Recovering a Deleted Partition Table

From: <bryanm@acsalaska.net>
Date: Thu Jun 01 2006 - 03:50:05 AKDT

The Linux Partition HOWTO has a section on how to reconstruct a
partition table that got wiped out. It's pretty slick:

http://tldp.org/HOWTO/Partition/recovering.html

Of course, this is a last resort. The better thing would be to
already have a current copy of your partition table on a floppy
disk. The table is part of the Master Boot Record (MBR), which
is the first sector on your hard drive. To save a copy, run this
command as root:

dd if=/dev/hda of=my-hda.mbr bs=512 count=1

--
Bryan Medsker
bryanm@acsalaska.net
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Jun 1 03:48:31 2006

This archive was generated by hypermail 2.1.8 : Thu Jun 01 2006 - 03:48:31 AKDT