Ooops! Got confused with my hda and hdb.... Corrected version:
Hi folks,
My hard disk has been getting rather full recently so I added a second disk yesterday to take some of the strain.
Originally everything (apart from swap) was on /dev/hda5.
I have installed the small new disk as /dev/hda and created a "/" and "/home" partitions on it and moved everything from the old hard disk partition (now hdb5) onto these two partitions apart from /usr which remains on /dev/hdb5 and now has room to expand a bit more as I install additional programs.
Problem: I was going to mount /dev/hdb5 on the new "/" as "/usr" but it has just occurred to me that the "usr" tree is actually still on /dev/hdb5 as "/usr" rather than being in the top directory.
I do not have enough free space on any of my petitions to use as a temporary holding area to copy the contents of the "/usr" while I move it up one level so I have temporarily got round this problem by mounting /dev/hdb5 as "/old" on the new "/" and making the new "/usr" a symbolic link to "/old/usr" but was wondering if there was a simple way to shift the contents of "/usr" up one level on /dev/hdb5?
The PC boots and runs ok after tweaking fstab and lilo.conf; I am just interested in shifting usr to keep admin simple.
Any suggestions welcome.
Ian.