On Wednesday 10 November 2004 08:59, David James Pettifor wrote: <snip>
Since you did not mention the sizes of the drives, and mentioned the drive as "extra", you've already crossed out another possibility.
I am intrigued. What is this possibility I have crossed out?
On the other hand you are asking newbie questions, so I'll mention this anyway...
You can use the drive to store ALL of you personal files, freeing up the primary drive for other things...
This is done by copying over the files currently in your home directory and then mounting the drive as your home directory. Then all user data will be stored on the "new" drive.
If this sounds like a solution to you, then I'm sure many of the fine folks here will help you out...
This does sound interesting. Could you give me a few pointers? -- David
Okay, what we need to do here is to mount the new partition (drive) as /home. In order to do this we want the /home directory to be empty on the /root partition. And we want the current contents of the /home directory to be moved to the new partion. So we need to: - copy the files across - rename /home to /home_old - mount the new partition... But not necessarily in that order, but personally, I tend to leave the system in a stable state as long as possible so we'll do it that way.... So first we need to temporarily mount the new partition as example: (as root of course) $ mkdir /media/tmp $ mount -t <type> /dev/<xxx> /media/tmp Then we need to copy the /home directory structure to it: $ cp -a /home/* /media/tmp/ Then we need to unmount the new partition: $ umount /media/tmp Next we move the /home directory $ mv /home /home_old and last we mount the new partition as /home $ mkdir /home $ mount -t <type> /dev/<xxx> /home And that should do it for you... You can delete the old home as soon as you feel secure with the new setup... Jerry P.S. You need to add the new partition to the fstab so that it'll get mounted during the next boot...