A thing to remember when moving your /usr partitionJune 25, 2009...... at 9:13 pm | Posted in Uncategorized | Leave a comment
Having successfully moved my root partition and home partitions in the past I thought this one would go without a hitch, but it was not to be.
sudo mkdir /mnt/usr
sudo mount /dev/md3 /mnt/usr
sudo cp -a -u /usr /mnt/usr
sudo rm -rf /usr
sudo mkdir /usr
**error /usr/bin/sudo file does not exist**
Remember not to delete the usr folder itself, just the directories underneath it. Also found that something weird happened when I rebooted. Fstab mapped /dev/md3 to /usr (once I had shelled out and created the dir again) but somehow md3 became md_d3 so failed to boot until I changed the fstab entry to mount md_d3 rather than md3.