I am running arch on a Chromebook, so I am lacking on storage. I got a external drive, formatted it and now I'm stuck not knowing how to install programs to the drive. How do I change the install location?
If you installed arch with LVM support you can create a LVM and extend the volume: Creating
To create a PV on /dev/sda1, run:
You can check the PV is created using the following command:
After extending or prior to reducing the size of a device that has a physical volume on it, you need to grow or shrink the PV using pvresize.
To expand the PV on /dev/sda1 after enlarging the partition, run:
It has some caveats and pitfalls I suggest you to backup your data and read: