Re: Migrating /var to a different partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Sep 4, 2014 at 1:13 PM, Sri Krishna <kitchi.srikrishna@xxxxxxxxx> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux