Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

66%
+2 −0
Q&A How do you install Manjaro as LVM on LUKS?

There is a popular partitioning scheme, described in the Arch wiki as LVM on LUKS. The meat of this is: /boot is its own unencrypted partition The rest of the drive is a giant LUKS partition I...

0 answers  ·  posted 5mo ago by matthewsnyder‭

#1: Initial revision by user avatar matthewsnyder‭ · 2024-06-17T01:11:33Z (5 months ago)
How do you install Manjaro as LVM on LUKS?
There is a popular partitioning scheme, described in the Arch wiki as [LVM on LUKS](https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#LVM_on_LUKS). The meat of this is:

* `/boot` is its own unencrypted partition
* The rest of the drive is a giant LUKS partition
* Inside the LUKS there is an LVM
* The LVM contains the partitions of the user's choice, like the one used for `/`, `/home`, swap etc.

I know how to do this on Arch. You just create the partitions any way you want, unlock and mount them all with `/mnt` of the Live USB as the root, and then use arch-chroot to install it. The Arch install process (when you do `pacstrap ... base`) does not care about partitions, it just wants to find the directory that will contain `/` and everything else just falls into place according to what mounts you did. Setting up fstab and crypttab so that you can boot later is of course your responsibility.

Manjaro's installer confuses me with this. Searching online, you can find posts talking about how LVM is not supported. But I've seen claims that lvm**2** is not supported, so perhaps there is an lvm1 that is? The installer itself just says the partition is "LVM" without specifying version. If you choose "Manual partitioning" in the installer you can assign mount points to the LVM partitions. You can even use the installer to create the LUKS and LVM partitions. But whenever I've tried this over the years it just craps out at the very end, when it's done "copying files", and presumably is trying to finish up by configuring fstab and crypttab. The errors from Calamares are pretty terrible so I have not been able to figure out exactly what is failing.

The only Manjaro install I've seen work for LUKS is when you just encrypt the whole drive, and rely on GRUB's to unlock the partitions, which is of course slow because its performance is not as good as the initramfs or the real OS.

Is it possible to install Manjaro as LVM on LUKS, and if so, how? Is this supported?