[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using dd to clone smaller drive to larger drive

1.) partition the new drive as you want it
2.) for each partition of the new drive, mount the partition in /mnt/tmp or something like that, then

cd /old-partition-mount ; tar cf - . | (cd /mnt/tmp ; tar xf -)
What does the dot do?
archive the local directory to the stdout
tar cf - . | ... tar xf -
you can also do it as
tar c . | ... tar x
however this doesn't seem to work on, e.g., sgi and aix...



Reply to: