[arch-general] Migrating /var to a different partition
mysatyre at gmail.com
Thu Sep 4 07:26:27 EDT 2014
On Thu, Sep 4, 2014 at 1:13 PM, Sri Krishna <kitchi.srikrishna at gmail.com> wrote:
> 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?
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.
More information about the arch-general