Dump/restore to clone disk

2010-02-22 Thread Aiza
I have seen this posted in the questions archives to be used to clone a active system hard drive to a USB cabled hard drive. Prepare the target #dd if=/dev/zero of=/dev/da0 count=2 # fdisk -BI /dev/da0 # bsdlabel -B -w da0s1 # newfs –U /dev/da0s1a # / # newfs -U /dev/da0s1d

Re: Dump/restore to clone disk

2010-02-22 Thread Polytropon
On Mon, 22 Feb 2010 16:33:47 +0800, Aiza aiz...@comclark.com wrote: I have seen this posted in the questions archives to be used to clone a active system hard drive to a USB cabled hard drive. Prepare the target #dd if=/dev/zero of=/dev/da0 count=2 # fdisk -BI /dev/da0 # bsdlabel -B

Re: Dump/restore to clone disk

2010-02-22 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/02/2010 08:33, Aiza wrote: What happened to swap? The fstab will be showing it as the first file system on the hard drive slice. Is something missing here? Swap isn't a filesystem. There's no persistent content in a swap partition, so

Re: Dump/restore to clone disk

2010-02-22 Thread Jerry McAllister
On Mon, Feb 22, 2010 at 04:33:47PM +0800, Aiza wrote: I have seen this posted in the questions archives to be used to clone a active system hard drive to a USB cabled hard drive. Prepare the target #dd if=/dev/zero of=/dev/da0 count=2 # fdisk -BI /dev/da0 # bsdlabel -B -w da0s1 #