copying the partition
Mike Reinehr
cmr
Sat Sep 10 12:24:00 PDT 2005
On Saturday 10 September 2005 12:49 pm, Net Llama! wrote:
> On 09/10/2005 10:14 AM, Mike Reinehr wrote:
> > On Saturday 10 September 2005 09:07 am, Man-wai Chang wrote:
> >> Is it possible to copy the partition table using dd? Does the table have
> >> a fixed location in the harddisk?
> >
> > Yes. The partition table is contained in the first block (block 0) of
> > your hard drive, i.e., dd if=/dev/hda bs=512 count=1 of=~/block0
> >
> > For some background you can read the man page for sfdisk.
>
> actually sfdisk is no longer included with RH/FC due to some petty
> bug/squabble.
Oops! Sounds like Debian.
Here's a link to "Partition Types",
http://www.win.tue.nl/~aeb/partitions/partition_types-2.html
which probably is better, anyway.
cmr
--
Debian 'Sarge': Registered Linux User #241964
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
More information about the Linux-users
mailing list