[TriLUG] HDD Migration

Ken Mink ken.mink at gmail.com
Wed Jan 5 16:02:49 EST 2005


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
-- 
---------------------------------------------
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."--Benjamin Franklin
" 'Necessity' is the plea for every infringement of human liberty; it
is the argument of tyrants; it is the creed of slaves."--William Pitt



More information about the TriLUG mailing list