Quote:
Can I safely copy the contents of my /usr directory on /dev/hda3 to this new partition, rename the /usr directory on /dev/hda3 to something like usr.bak and mount this new partition on /dev/hda3 as /usr with the new space and old files while not messing up such things as symlinks?
|
Yes, you can. Do it while in runlevel 1, so the stuff in /usr won't be needed. Edit fstab and add an entry for the /usr partition. Example:
$mke2fs /dev/hdb1
$vi /etc/fstab
#*Stuff added to fstab*
/dev/hdb1 /usr ext2 defaults 0 0
$mv /usr /usr.bak
$mkdir /usr
$mount /dev/hdb1
$cp -a /usr.bak/* /usr
*long wait*
$init 5
You're all set! If it works okay, you can delete /usr.bak.