1 |
If you want to move directories, avoid wholesale symlinking like this as |
2 |
it always ends in tears ... |
3 |
|
4 |
Using a liveCD, create your partitions and directories, then copy |
5 |
everything over (rsync or tar is best to make sure its accurate), change |
6 |
your fstab then reboot. When you are happy its working, you can recover |
7 |
the old directories at leisure. |
8 |
|
9 |
For the future: I found that since I stated using LVM, this sort of |
10 |
exercise becomes a lot easier, safer and has less downtime. |
11 |
|
12 |
BillK |
13 |
|
14 |
|
15 |
On Fri, 2005-10-07 at 02:49 +0200, Matthias Langer wrote: |
16 |
> I want to move the /usr and /home directories to another partition, |
17 |
> because I'm thinking of buying a new HD. It would be great if both |
18 |
> directories were on the same partition, as splitting drives never seemed |
19 |
> very appealing to me. As far as I know, one possibility would be to |
20 |
> [with the boot-cd] |
21 |
> |
22 |
> # mv /usr /mnt/newHD/ |
23 |
> # mv /home /mnt/newHD/ |
24 |
> # ln -s /mnt/newHD/usr usr |
25 |
> # ln -s /mnt/newHD/home home |
26 |
> |
27 |
> However, I'm not sure if this is the suggested method of doing so and to |
28 |
> be honest, I'm not completley sure if this would even work. |
29 |
> |
30 |
> Any comments or suggestions ? |
31 |
-- |
32 |
gentoo-user@g.o mailing list |