[mdlug] Moving /usr
Mat Enders
mat.enders at gmail.com
Tue Sep 20 17:05:16 EDT 2011
All,
I recently had to move /usr on a machine. Since moving /usr
when i boot the machine I get this message immediately after the bios
prompts are finished and before the boot process starts "error: file
not found". After the machine comes up all appears to work normally.
I will now explain what i did to move /usr.
1) log in as root unmount /home
2) resize /home
3) create new partition in newly created free space
4) edit fstab to mount new partition as /usr2
5) reboot
6) run rsync -a /usr/ /usr2
7) run diff /usr /usr2 to ensure they are the same
8) edit fstab to mount new partition as /usr instead of /usr2
9) run mv /usr /usr3
10) reboot
11) get error but all appears to work correctly
--
Mathew E. Enders
More information about the mdlug
mailing list