[Leaplist] copy a hard drive to another different sized partition.

Derek Konigsberg octo at logicprobe.org
Thu Aug 30 14:49:42 EDT 2007


I've personally had a lot of luck doing this myself using various versions 
of "dump" and "restore" (very common on normal UNIX, mostly used myself on 
Solaris and a little on FreeBSD), but not sure how available/good those 
are on Linux.

-Derek

On Thu, 30 Aug 2007, Phil Barnett wrote:

>
> Create and format the partitions on the target drive, then:
> (assumed here to be /dev/hdb1)
>
> mkdir /mnt/destination
> mount -t ext3 /dev/hdb1 /mnt/destination
> cd /
> find . -xdev -depth | cpio -pdm /mnt/destination
>
> -- 
> Phil Barnett
> AI4OF
> SKCC #600
> _______________________________________________
> Leaplist mailing list
> Leaplist at leap-cf.org
> http://lists.leap-cf.org/mailman/listinfo/leaplist
>

---------------------------
Derek Konigsberg
octo at logicprobe.org
http://hecgeek.blogspot.com
---------------------------


More information about the Leaplist mailing list