EndeavourOS fails to install when using LVM

So using an mbr partitioning table on my 100G drive. I have 4G of RAM. The first partition I formatted as fat32, set the flags as boot. I created a luks encrypted partition via this command cryptsetup luksFormat /dev/sda2. After setting the password and mounting it cryptsetup luksopen /dev/sda2 crypt, I created an lvm partition inside it vgcreate nix /dev/mapper/crypt.

I created three logical volums inside of it:
lvcreate -n crypt_root -L 50G nix
lvcreate -n crypt_home -L 45G nix
lvcreate -n crypt_swap -l 100%FREE nix

Then I formatted the drives:
mkfs.ext4 /dev/nix/crypt_root
mkfs.ext4 /dev/nix/crypt_home
mkswap /dev/nix/crypt_swap

I had another drive sdb so I decided to use create a new partition table which is mbr and I created a swap partition at sdb1. I allocated it as swap swapon /dev/sdb1 to ensure I had extra memory if I needed it (it ended up getting filled during installation).

So in the calamares installer, I mounted crypt_root as /, crypt_home as /home. And with sda1 (this is formatted as fat32) I mounted it as /boot. Then I proceeded to install (note I was using an online installer, not offline installer).

It was using a lot of RAM and ended up using total of around 90 MB of swap.

It seemed to have taken a very long time and it got stuck at around 45%. After that it seemed to have failed after a long time.

image


Here are some of the outputs from the terminal

o.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-icade.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/i8042.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-belkin.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/crc32c_generic.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-asus.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-uclogic.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/ocfs2_stack_o2cb.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-cougar.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/usb-storage.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/kafs.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-zydacron.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-holtek-mouse.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-maltron.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/ocfs2_nodemanager.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-primax.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-sony.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-gaff.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/jfs.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-accutouch.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-generic.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-macally.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/cuse.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/erofs.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/reiserfs.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/jbd2.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-chicony.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-udraw-ps3.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/dm-mirror.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-retrode.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-tivo.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/nls_cp437.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-corsair.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-viewsonic.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-elan.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-monterey.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/firewire-sbp2.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/dm-cache-smq.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/exfat.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-roccat-isku.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-microsoft.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-wiimote.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/cramfs.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/dm-thin-pool.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-hyperv.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/cifs.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/jffs2.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/ntfs.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-mcp2221.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-u2fzero.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/lockd.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-gyration.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/quota_tree.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/zonefs.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-roccat-koneplus.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/vboxsf.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-roccat-lua.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/grace.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/hid-penmount.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-1/kernel/minix.ko.xz': No space left on device\ncp: error writing '/tmp/mkinitcpio.dF3d8s/root/lib/modules/5.7.8-arch1-

(I made it shorter)

I apologise if this is very long I am just outputting the errors.

I am not too sure did I do something wrong with the lvm creation or something?

i can try reproduce install with LVM and see if xou may miss a step or it is something with chroot fsils to get lvm setup correi inside calamares install process

3 Likes

I have discussed with some people and apparently using LVMs it is not supported in a lot of installers. I was trying this out with other Linux distros and similar issues occurred.