Re: [SLUG] transferring data between drives

From: Chris Mathey (slug@mathey.org)
Date: Sat Oct 25 2008 - 10:56:17 EDT


Boot this: http://www.sysresccd.org/Main_Page
It contains "partimage" which makes it easy to copy partitions to a new
disk.
You might have to run grub-install.
I found this a very easy method to do exactly what you described.
-Chris

Eben King wrote:
> I'm upgrading hard drives (250 GB to 640 GB) when the new ones arrive
> in a few days. Since the sizes differ, I can't just copy the whole
> drive over and be done with it. What's the easiest/fastest way to end
> up with a bootable drive assuming I want the partitions in the same
> order, and I know what sizes I want them to be? fdisk the new drive
> to lay out the partitions, mkfs/mkswap each partition on the new
> drive, tar/cpio the files in each partition over, dd the new boot
> blocks (how many blocks?), fudge anything that needs to know the new
> UUIDs, and that's it?
>
> Or is it possible to copy the whole drive, then resize the partition
> table (I guess)? That would definitely be easiest, if it's possible.
>
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:20:32 EDT