I broke it! How can I fix it?
C M Reinehr
cmr
Mon Oct 1 18:03:21 PDT 2007
On Monday 01 October 2007 16:18, Tony Alfrey wrote:
> sfdisk looks very much the same as fdisk or other partitioning tool; ?am
> I missing some additional functionality that helps to copy the boot sector?
sfdisk is lower level than either fdisk or cfdisk. In a sense, you can
manipulate the partition table manually, i.e., sfdisk -d /dev/sda >
part_table.sda. part_table.sda will be a text file that you can open with an
editor. You reverse the process with sfdisk -d /dev/sda < part_table.sda.
(Very dangerous stuff!)
Have a look at man:sfdisk and compare it to either cfdisk or fdisk.
Cheers!
cmr
--
Debian 'Etch' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
More information about the Linux-users
mailing list