Gentoo Archives: gentoo-user

From: Joe Menola <menola@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /usr and /home to another partition
Date: Fri, 07 Oct 2005 01:16:05
Message-Id: 200510062006.17686.menola@sbcglobal.net
In Reply to: [gentoo-user] /usr and /home to another partition by Matthias Langer
1 On Thursday October 6 2005 7:49 pm, Matthias Langer wrote:
2 > I want to move the /usr and /home directories to another partition,
3 > because I'm thinking of buying a new HD. It would be great if both
4 > directories were on the same partition, as splitting drives never seemed
5 > very appealing to me. As far as I know, one possibility would be to
6 > [with the boot-cd]
7 >
8 > # mv /usr /mnt/newHD/
9 > # mv /home /mnt/newHD/
10 > # ln -s /mnt/newHD/usr usr
11 > # ln -s /mnt/newHD/home home
12 >
13 > However, I'm not sure if this is the suggested method of doing so and to
14 > be honest, I'm not completley sure if this would even work.
15 >
16 > Any comments or suggestions ?
17
18 In theory I suppose that would work. Myself, I would copy the contents
19 to /mnt/newHD/ then rename the original directories and create the links. The
20 renamed directories can be deleted after you've verified positive results.
21 And if it all craps out, the originals can simply be renamed back to /usr
22 and /home.
23 You should consider creating separate partitions for these though. At some
24 point you may wish to blow out the install but retain your /home. Separate
25 partitions makes this much easier. And also opens the possibility of sharing
26 your /home with multiple installs.
27
28 HTH -jm
29 --
30 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] /usr and /home to another partition Matthias Langer <mlangc@×××.at>