- The quickest way to do this would be to use 'harddrake' to format the new partition,
and mount it as '/varnew' (you can create that directory prior to running
harddrake). Once the partition is create, formated, and mounted on '/varnew',
drop to run level 1 (to ensure limited info is being written to /var ) - you can do this
by switching to a console, logging in as root and typing 'init 1', and then copy the
contents of /var to /varnew:
cp -a /var/* /varnew
Once this is done, edit '/etc/fstab' and change the entry that says '/varnew' to '/var'.
Reboot and '/varnew' will be mounted as '/var'
--------
Note: If this answer resolves your problem, please remember to close this incident.
|