Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2003 11:52:08 +0200
From:      Siegbert Baude <Siegbert.Baude@gmx.de>
To:        David David <ddavid_3@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: MBR, Partition File recover
Message-ID:  <3E9D27C8.7060803@gmx.de>
In-Reply-To: <20030416012736.GA62320@webserver.get-linux.org>
References:  <20030416010121.GB61362@webserver.get-linux.org> <20030416011940.27587.qmail@web11307.mail.yahoo.com> <20030416012736.GA62320@webserver.get-linux.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi David,

Josh explained the gpart method perfectly, this tool once did a great 
job for my friend's disk, too. :-)
To make things less complicated in cases of future disaster, just keep a 
printout of your partition table in a safe place.

> Before i do this, is there a way of making a complete copy of the
> drive first? I can store it on another drive in the system. I've been
> going through dd man page, and searching on the net, but have not yet
> found a way of doing.


dd if=/dev/ad0 of=/dev/ad1 bs=128k

To backup your first hard disk to your second hard disk. The second one 
of course must be at least as big as your first one.

Short annotation: bs=128k speeds up backup significantly for IDE disks. 
For SCSI the best value with standard settings is bs=64k IIRC. To be 
sure, search the archives, I'm sure that it was posted by Greg Lehey.

Ciao
Siegbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E9D27C8.7060803>