[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 12:37:10 PST 2007


Quoting Prasad Paranjape (prasad_ishan at yahoo.com):

> I have Slackware 8.0 installed on /dev/hda ( as / )
> and /dev/hdb ( as /usr/local).The 2 Hdds are smaller
> once. now I want to move the whole OS to a new HDD
> which is 120GB.
> 
> How shall I do it and what are the steps?

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.
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!

-- 
Cheers,              "Here, sanity ... niiiiiice sanity, come to daddy ... okay,
Rick Moen            that's a good sanity ... {*THWONK!*}  _Got_ the bastard." 
rick at linuxmafia.com                                    --AdB




More information about the Svlug mailing list