>
> I've got a partitioning question.
>
> I configured my system with a 2GB /home partition and a 500MB "/"
> partition. My /root is on the "/" partition, and it's getting a bit
> crowded. Can I rdev the root partition (/hda8) to the /home partition
> (/hda5) without losing any data on either? Alternatively, can I make a
> symlink on the root partition named /root, that leads to somewhere on
> /home, or will that cause weird errors.
>
> Info: RedHat 5.1, 3.0.35, KDE on XFree86.
>
> Thanks.
>
A quick and dirty solution is to create e.g. a /home/usr directory, copy your
/usr to /home/usr with cp -dpR. Then rename /usr to e.g /usr.bak make a symlink
in / named usr pointing to /home/usr. Restart your computer and check if it
works. If it's o.k. remove /usr.bak giving you a lot of space in your /
partition. You should only do this with /usr or /var or anything that's levels
down of these two dirs. However this gives you a somehow dirty filesystem
structure.
The better and cleaner solution is to backup your home partition, cut it down
into one /home and one /usr partition restore your /home files do the copying
stuff with the new /usr partition and make an entry in your fstab. There should
be some howtos about how to do that exactly. Otherwise feel free to ask again...
Cu,
Franky X.