[svlug] How to move the Linux OS ionstalled on two small HDDs to single large HDD

Rick Moen rick at linuxmafia.com
Wed Feb 14 18:48:25 PST 2007


I wrote:

> 1.  Boot a maintenance CD/DVD (Knoppix or whatever).
> 2.  Make target filesystems on the new large hard drive.
> 3.  Mount filesystems from your old two HDs.

3.5.  Also mount your filesystems on the _new_ hard drive (in case it
      was not obvious).

> 4.  Use your choice of techniques in "Copying Directory Trees" on
>     http://linuxmafia.com/kb/Admin/ , to copy filesystme contents.
>     Personally, I like rsync.
> 5.  Re-do your bootloader on the new large hard drive.
> 6.  Profit!

One of the reasons I suggest doing this from a live CD/DVD is to avoid
accidentally copying things you shouldn't.  E.g., copying /proc/kcore
could ruin your whole day.

-- 
Cheers,             "Don't use Outlook.  Outlook is really just a security
Rick Moen            hole with a small e-mail client attached to it."
rick at linuxmafia.com                        -- Brian Trosko in r.a.sf.w.r-j




More information about the Svlug mailing list