archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
6.18k stars 537 forks source link

Install Arch Linux on LVM with archinstall #2296

Closed efraimkaov closed 6 months ago

efraimkaov commented 11 months ago

I want to install Arch Linux on LVM with archinstall (I know how to install it with the traditional way)

I manually created the physical volume on /dev/sda2, with al volume group and root logical volume, then I formated ext4 and mounted to /mnt/archinstall

And /dev/sda1 I formated fat32 and mounted to /mnt/archinstall/boot

Then with archinstall in Disk configuration I selected Pre-mounted configuration but it recognized just /dev/sda1 and mounted to /boot, but it not recognized /dev/mapper/al-root and not mounted to /

On https://wiki.archlinux.org/title/Archinstall you have pretty much no documentation and on https://archinstall.archlinux.page/cli_parameters/config/disk_config.html you have documentation just for fat32, ext4 and btrfs with subvolumes, but nothing about lvm

Is there a way to accomplish this?

Or if not are you planning to implement this?

svartkanin commented 11 months ago

LVM is currently not supposed is the short answer. There is work in progress to support it, but I can't give an ETA when it will be ready

efraimkaov commented 11 months ago

LVM is currently not supposed is the short answer. There is work in progress to support it, but I can't give an ETA when it will be ready

Thanks for the answer

Pednick commented 10 months ago

That's why I got the python error. It was downloading properly then boom, python error. At least I know why now. Hope it gets resolve at some time. As for the original poster, you need to set it to your /mnt when using the Pre-mounted configuration.

efraimkaov commented 10 months ago

That's why I got the python error. It was downloading properly then boom, python error. At least I know why now. Hope it gets resolve at some time. As for the original poster, you need to set it to your /mnt when using the Pre-mounted configuration.

You are prompted Enter the root directory of the mounted devices:, so it doesn't matter where the location is

Pednick commented 10 months ago

That's why I got the python error. It was downloading properly then boom, python error. At least I know why now. Hope it gets resolve at some time. As for the original poster, you need to set it to your /mnt when using the Pre-mounted configuration.

You are prompted Enter the root directory of the mounted devices:, so it doesn't matter where the location is

https://wiki.archlinux.org/title/Installation_guide