[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to Move from 1 drive to another?



On Sat, Jul 31, 2004 at 04:30:35PM +1000, Jonathan Wheelhouse wrote:
> Hi
> 
> I am running Debian unstable on a 30GB drive (IBM Deskstar 75gxp)
> using ext3.  I recently bought a 120GB drive (Western Digital WD1200).
> 
> The family have 5 accounts.
> 
> What I would like to do is to make the 120GB drive the main one (using
> ReiserFS) and use the 30GB drive for data.
> 
> So, the plan is to install (via the sid installer) Debian on the 120GB
> drive.  I know
> - to install the current packages I've got I can
> install them via dpkg --get-selections|--set-selections
> - use /etc/* file as configuration for new drive
> 
> My question is - what is the easiest|best way of copying|moving all
> the accounts and their data across?  Do I simply have to recreate the
> users on the new drive and then copy across their home drives?  Or can
> I just rely on everything being set up OK if I just copy across
> /etc/passwd and /etc/group.
I would boot a Linux Live CD like knoppix, partition and format the new drive,
copy everything from the old drive to the new one, chroot into the "new"
system, install a boot loader, reboot and be happy.
That is a lot easier then installation from scratch and you can keep
everything installed and configured so far.

HTH
Sven
-- 
It ain't so bad bein' alone if you know it'll never last nothing lasts forever
'cept the certainly of change and love's the same It's a game with simple rules
If you think it's forever then you're nothing but a fool
   [Venerea - Love Is A Battlefield Of Wounded Hearts]



Reply to: