0

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?

0

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:

 pvcreate /dev/sda1

You can check the PV is created using the following command:

pvs

Growing

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:

 pvresize /dev/sda1

It has some caveats and pitfalls I suggest you to backup your data and read:

https://wiki.archlinux.org/index.php/LVM

2
  • Your answer does not address the OP's question! – fpmurphy Apr 8 at 10:59
  • I can create and LVM and extend the partition to the SSD how does it not solve the problem? – vfbsilva Apr 8 at 12:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.