Re: How to Move from 1 drive to another?

From: Luke Anderson (luke_at_skappa55.gotadsl.co.uk)
Date: 07/31/04

  • Next message: Luke Anderson: "Re: Fixing Wireless PC Card 16550A UART Serial Device Assignment"
    To: debian-user@lists.debian.org
    Date: Sat, 31 Jul 2004 08:57:28 +0100
    
    

    On Saturday 31 July 2004 07:30, 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
    >
    Yes you seem to have the idea there.
    Don't forget you may have some stuff in /usr/local that you have accumulated.

    > 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.
    The /etc/passwd /etc/group files contain information on numeric IDs which are
    what is stored in the files.

    I see no reason why copying over the home directories wouldn't work.

    Worse come to worse and it doesn't work, you can always delete and recreate
    the users, with userdel/deluser and useradd/adduser and then recursively set
    the owner of their home directories with:

    cd /home/
    chown -R fred fred
    chown -R jim jim
    chown -R sally sally

    Hope this helps,
      Luke.
    >
    > Thanks in advance
    > Jonathan

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Luke Anderson: "Re: Fixing Wireless PC Card 16550A UART Serial Device Assignment"

    Relevant Pages

    • Re: I want to hide my C Drive as my kids keep installing proggies which create probl
      ... My kids keep installing ... > drives so they cannot install programs. ... Your account and all other accounts on the computer would need to be ...
      (microsoft.public.windowsxp.customize)
    • Re: Newbie question about setting up XP - coming from win98se background
      ... accounts work there. ... To gain access to files and folders you may need to take ... Is the Default User the hidden | admin acct? ... In all actuality I probably won't share my working | drives, C: and D:, the file archive storage drives will be fully | shared. ...
      (microsoft.public.windowsxp.basics)
    • Re: How to create file on network share from ASP.NET
      ... Administrators of Unix and Windows domain created for me ... appropriate accounts for access to shares - means on Unix was created user ... Unix drives: You may have some issues with the files themselves, ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: How to create file on network share from ASP.NET
      ... Administrators of Unix and Windows domain created for me ... > appropriate accounts for access to shares - means on Unix was created user ... Unix drives: You may have some issues with the files themselves, ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: moving a universe distributed file
      ... copy your ACCOUNTS directory to F:\G_DRIVE\ACCOUNTS ... you will also need to create an item in UV.ACCOUNTS for ACCOUNTS ... - UV 9.5.1.1f) had accounts/files spread over 2 drives. ... the old system we had a distributed file that was on a drive G. ...
      (comp.databases.pick)