[Tfug] right way to clone in linux

Glen Pfeiffer glen at thepfeiffers.net
Thu May 19 00:50:41 MST 2011


I second the use of rsync, but i followed steps pretty similar to the
solution pasted below, which was taken from:
http://www.linuxquestions.org/questions/linux-newbie-8/learn-the-dd-command-362506/

"
FYI: duplicating smaller partition or drive to larger partition or drive; or
vice versa:

Code: rsync -avH --exclude=/other_mount_

You want to duplicate the root directory tree to another drive, but the
other drive is larger. If you use dd, you will get afile system that is
smaller then the larger destination drive. To duplicate files, not the file
system: Format and mount the destination drive. Rsync will duplicate the
files as files:

Code: rsync -avH --exclude=/mnt/destin

You need to run:

Code:
grub-install
update-grub

from a the rescue menu of an installation CD/ DVD for the target to become
bootable. If target was previously bootable, it remains bootable.
"

Sent from my mobile device.
On May 18, 2011 11:19 PM, "Zack Williams" <zdwzdw at gmail.com> wrote:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tfug.org/pipermail/tfug_tfug.org/attachments/20110519/1159d2b4/attachment-0002.html>


More information about the tfug mailing list