On Fri, Aug 16, 2013 at 9:35 AM, Tanstaafl <tansta...@libertytrek.org> wrote: > So, in order to fix a system I'd rather not reinstall from scratch... > > Is this possible? Easy? Recommended?
If you have physical access to the system, and a large enough /, it's really easy. You boot from a livecd, mount /usr in another directory, copy all the files from it to /usr (be sure to preserve links, permissions, attributes, etc.), change /etc/fstab, and off you go. If you need to resize / then it's a little more difficult, but not so much. You need again to boot with a livecd, and somewhere (a external or internal disk with enough free space) to put the contents of / and /usr while repartitioning an reformatting the drive that contains them. Afterwards you just change /etc/fstab and you are good to go. If it's a remote system then it gets hairy; any changes to how /usr is handled should not be done while the system is running. And really, maybe you could try an initramfs? It will be much more easy than any juggle of filesystems. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México