On Thursday October 6 2005 7:49 pm, Matthias Langer wrote:
> I want to move the /usr and /home directories to another partition,
> because I'm thinking of buying a new HD. It would be great if both
> directories were on the same partition, as splitting drives never seemed
> very appealing to me. As far as I know, one possibility would be to
> [with the boot-cd]
>
> # mv /usr /mnt/newHD/
> # mv /home /mnt/newHD/
> # ln -s /mnt/newHD/usr usr
> # ln -s /mnt/newHD/home home
>
> However, I'm not sure if this is the suggested method of doing so and to
> be honest, I'm not completley sure if this would even work.
>
> Any comments or suggestions ?

In theory I suppose that would work. Myself, I would copy the contents 
to /mnt/newHD/ then rename the original directories and create the links. The 
renamed directories can be deleted after you've verified positive results. 
And if it all craps out, the originals can simply be renamed back to /usr 
and /home.
You should consider creating separate partitions for these though. At some 
point you may wish to blow out the install but retain your /home. Separate 
partitions makes this much easier. And also opens the possibility of sharing 
your /home with multiple installs.

HTH -jm
-- 
gentoo-user@gentoo.org mailing list

Reply via email to