Re: What is the correct method to change mount point?
users@linuxforums.org wrote:
> I'll be installing another HDD (partitioned into hdb1 and hdb2). How
> should I go about changing the mount point for /var and /usr/local
> from hda3 to hdb1 and hdb2 respectively?
Add the HDD, create partitions and filesystems, then boot into single user
mode.
Procedure for moving /var:
1) mount /dev/hdb1 /mnt
2) mv /var/* /mnt/
3) umount /mnt
4) mount /dev/hdb1 /var
5) Change /etc/fstab accordingly
The procedure for /usr/local is similar.
Adam
Reply to: