[TriLUG] HDD Migration
Marty Ferguson
marty.ferguson at fergusonlx.nextelbroadband.net
Wed Jan 5 16:40:47 EST 2005
The only time I use dd is when I have evidence that the file system
is unsuccessfully fsck'd, in which case I know that I will be reading
tea leaves and tossing chick'n bones. Other than that, if the fs is
known clean, then cp -a provides a distinct advantage. 3 or 4 times
have been the former, and all of the many others have been the later.
M
Shane O'Donnell wrote:
> Show off.
>
> -----Original Message-----
> From: trilug-bounces at trilug.org [mailto:trilug-bounces at trilug.org] On Behalf
> Of Ken Mink
> Sent: Wednesday, January 05, 2005 4:03 PM
> To: Triangle Linux Users Group discussion list
> Subject: Re: [TriLUG] HDD Migration
>
> On Wed, 5 Jan 2005 14:19:00 -0500 (EST), Jason Browne
> <jbrowne at flashnet.homeip.net> wrote:
>
>>I am trying to get some tips on migrating an install of Linux to another,
>>bigger HDD? It is a straight 1 HDD to 1 HDD change... I know I could use
>
> dd
>
>>, but I am trying to see if there is a better way.
>>
>>Thanks
>>
>>Jason
>>--
>
>
> I just went through this last weekend. I had a hard drive that was
> losing sectors at an increasing rate, so I bought a replacement drive.
> I installed the new drive while the old drive was still in the system.
> I booted knoppix and used fdisk to recreate the partition table on the
> new drive. After a reboot(again running knoppix), I just dd'ed each
> partition to the new drive. This method takes a while as your copying
> the entire partition, not just the used space. However, it is very
> straight forward. If you shutdown cleanly before booting to knoppix,
> you filesystems will be in clean too, on both drives.
>
> Ken
More information about the TriLUG
mailing list