On Thu, Sep 24, 2009 at 04:53:31PM -0600, Matthew Walker wrote:
> 
> The basic idea for any method of doing this short of cloning the drive using 
> dd or some
> similar tool comes down to this:

And dd would be annoying because you would have to then expand the
filesystem on the new disk.


> 1. Plug in new drive.
> 2. Partition and Format as desired.
> 3. Mount it to /mnt/whatever, and mount any sub-folders etc
> 4. Use rsync or cp -a, or some other method of copying files + permissions to 
> new drive.
> 5. Set up boot records on new drive.
> 6. ???
> 7. Profit.

It may also involve modifying /etc/fstab.  For example, on one system,
fstab has the entry:

UUID=392aa4ea-7013-40a4-9222-5559362a9fcf /boot                   ext3
defaults        1 2

Any such UUIDs would need to be updated to match the new partitions.
It's really not too much trouble to do.

-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to