If you want to move directories, avoid wholesale symlinking like this as it always ends in tears ...
Using a liveCD, create your partitions and directories, then copy everything over (rsync or tar is best to make sure its accurate), change your fstab then reboot. When you are happy its working, you can recover the old directories at leisure. For the future: I found that since I stated using LVM, this sort of exercise becomes a lot easier, safer and has less downtime. BillK On Fri, 2005-10-07 at 02:49 +0200, 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 ? -- gentoo-user@gentoo.org mailing list