Re: [arch-general] Migrating /var to a different partition

2014-09-04 Thread John Shier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I followed essentially the same process as suggested by Jeff a while back and it worked for me. On 09/04/2014 07:44 AM, Jeff Daniel Rollin-Jones wrote: > I'd say copy everything in /var to /mnt. > > cp -a /var/* /mnt > > or > > cp -dpR /var/* /mnt

Re: [arch-general] Migrating /var to a different partition

2014-09-04 Thread Sri Krishna
So it seems like the most feasible approach is to boot from CD/USB into rescue mode, mount var into /mnt, copy the contents of the old var folder into the new one, add the new one into fstab and reboot. I guess I should also delete the old var folder. I'll try that in the next few days and report

Re: [arch-general] Migrating /var to a different partition

2014-09-04 Thread Martti Kühne
On Thu, Sep 4, 2014 at 1:36 PM, Damjan Georgievski wrote: > make a filesystem on the extra partition (mkfs.ext4) > enter resuce or emergency mode (systemctl rescue) so that the least services > run > > mount the new partition to /mnt > move everything from /var to /mnt > unmount /mnt > edit the /

Re: [arch-general] Migrating /var to a different partition

2014-09-04 Thread Jeff Daniel Rollin-Jones
I'd say copy everything in /var to /mnt. cp -a /var/* /mnt or cp -dpR /var/* /mnt That way you don't lose anything if there's a power cut at an inconvenient time, and you can change ftstab, reboot, and then check everything's working before you hose your original /var (which if you do it thi

Re: [arch-general] Migrating /var to a different partition

2014-09-04 Thread Damjan Georgievski
make a filesystem on the extra partition (mkfs.ext4) enter resuce or emergency mode (systemctl rescue) so that the least services run mount the new partition to /mnt move everything from /var to /mnt unmount /mnt edit the /etc/fstab reboot On 4 September 2014 13:13, Sri Krishna wrote: > Hi, >

Re: [arch-general] Migrating /var to a different partition

2014-09-04 Thread Martti Kühne
On Thu, Sep 4, 2014 at 1:13 PM, Sri Krishna 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