[TriLUG] HDD Migration

Ken Mink ken.mink at gmail.com
Wed Jan 5 18:34:16 EST 2005


Well I left off the long description of how I had to handle the i/o
errors when dd hit the bad sectors. dd is great for straight copying,
but it's error handling is non-existent.

Ken

On Wed, 5 Jan 2005 16:31:58 -0500, Shane O'Donnell <shaneo at nc.rr.com> 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
> --
> ---------------------------------------------
> "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
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
> 
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
> 


-- 
---------------------------------------------
"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