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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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
-- 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
