On Sat, Apr 14, 2001 at 04:29:26AM +1000, Kevin Easton wrote: > If you want to dump the "fdisk data" (by which I guess you mean the hard > disk partition table) to a file, you can either: > > * Do what others have suggested (fdisk -l /dev/hda > hda.fdisk) - this > will give you a readable text version of your partition table, but you can't > use this to directly reconstruct the partition table with fdisk.
See sfdisk. It can dump a partition table that it can read back. /sbin/sfdisk -d /dev/hda > hda.sfdisk Read the man page carefully! You may want to use the -O option as well. -- Eric G. Miller <egm2@jps.net>