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

Phil Barnett philb at philb.us
Thu Aug 30 11:57:48 EDT 2007


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


More information about the Leaplist mailing list