copying the partition

Net Llama! netllama
Sat Sep 10 11:52:17 PDT 2005


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.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
LlamaLand		 		http://netllama.linux-sxs.org

 10:45:01 up 26 days, 20:38,  1 user,  load average: 0.00, 0.00, 0.00


More information about the Linux-users mailing list