4 Sep
2014
4 Sep
'14
11:26 a.m.
On Thu, Sep 4, 2014 at 1:13 PM, Sri Krishna <kitchi.srikrishna@gmail.com> wrote:
Hi,
I'm doing a clean install of Arch on a new computer, and during the install I'd already set aside 2GiB for the /var partition.
Except I forgot to add it to fstab before I exited chroot, and booted into Arch and installed a DE etc. Now two days later I realize that Arch has already created a /var directory on the / partition. How do I migrate /var into the partition I'd originally created for it?
Is it as simple as adding a line to fstab and rebooting?
Obviously, no. Check pacman -Ql. You'll probably end up booting from cd, moving all data that now resides in /var to your var partition, change fstab and see if that boots. cheers! mar77i