Artix Linux installation LUKS + LVM issues. 28 June 2020, 22:44:21 Hello everyone, i have tried for the past 4 days to install Artix with Luks and LVM, as i have already done it in Arch Linux i thought it would be easy. I ended up being so desperate that i followed by the letter 5 different install tutorials, none of them worked for me on Artix.The last guide i followed was this one: https://www.pavelkogan.com/2014/05/23/luks-full-disk-encryption/But it always leads me to the following error after a reboot:GRUB loading.Welcome to GRUB!error: disk 'lvmid/{random}/{random}' not found.Entering rescue mode...grub rescue>As i said i followed this tutorial exactly by the letter and i already succeeded in the past to do such things on Arch Linux, so i am feeling clueless right now. Do you have any idea of what i may be doing wrong?For the information, this is a base install of Artix with Runit and for Runit in mind.Thank you for reading this.
Re: Artix Linux installation LUKS + LVM issues. Reply #1 – 28 June 2020, 23:25:40 I've actually done the exact same guide on runit before so I can assure you it works. Judging from the error message, it looks like it opened the encrypted block fine however something went wrong when trying to find the lvm device. Are you absolutely sure whatever you called your lvm devices and your fstab and so on are configured correctly?
Re: Artix Linux installation LUKS + LVM issues. Reply #2 – 28 June 2020, 23:49:37 Well, since i did exactly what this guide told me to do i don't see why it would fail.Eventhough i have to admit i do not verify the result of:Code: [Select]fstabgen -U /mnt >>/mnt/etc/fstabIs it possible that the problem lies here?I can always send the whole list of commands i use in order to do the install if that helps.
Re: Artix Linux installation LUKS + LVM issues. Reply #3 – 30 June 2020, 17:22:32 Quote from: Skaveng – on 28 June 2020, 22:44:21I followed by the letter 5 different install tutorials, none of them worked for me on ArtixHere's a thread with my experiences and a link to a guaranteed working tutorial for Artix - Full Disk Encryption for a new install: force GRUB to ask a passphrase for LUKS? I've resolved a few problems I've encountered, and will continue posting my findings there
Re: Artix Linux installation LUKS + LVM issues. Reply #4 – 30 June 2020, 19:53:18 Quote from: qmastery – on 30 June 2020, 17:22:32Here's a thread with my experiences and a link to a guaranteed working tutorial for Artix - Full Disk Encryption for a new install: force GRUB to ask a passphrase for LUKS? I've resolved a few problems I've encountered, and will continue posting my findings there I am actually relieved to know that i am not the only one struggling to get a working Artix Linux install.We shall work together on making a good tutorial or even improving the wiki honestly.
Re: Artix Linux installation LUKS + LVM issues. Reply #5 – 01 July 2020, 19:41:01 Quote from: Dudemanguy – on 28 June 2020, 23:25:40I've actually done the exact same guide on runit before so I can assure you it works. Judging from the error message, it looks like it opened the encrypted block fine however something went wrong when trying to find the lvm device. Are you absolutely sure whatever you called your lvm devices and your fstab and so on are configured correctly?After doing some tests, i realized that doingCode: [Select]fstabgen -U /mnt >> /mnt/etc/fstabOnly create a rootfs line in /etc/fstabI guess this is not normal right?
Re: Artix Linux installation LUKS + LVM issues. Reply #6 – 01 July 2020, 20:00:17 fstabgen will populate the fstab file will all currently mounted partitionsso make sure to first mount all the partitions you created, before running fstabgen
Re: Artix Linux installation LUKS + LVM issues. Reply #7 – 01 July 2020, 20:26:00 Quote from: Artist – on 01 July 2020, 20:00:17fstabgen will populate the fstab file will all currently mounted partitionsso make sure to first mount all the partitions you created, before running fstabgenThis is what i do :/
Re: Artix Linux installation LUKS + LVM issues. Reply #8 – 01 July 2020, 22:35:15 You definitely should have /dev/mapper and so on in your fstab. Although, if only the path to the root lvm volume is in your fstab, you should at least make it to tty.
Re: Artix Linux installation LUKS + LVM issues. Reply #9 – 02 July 2020, 19:26:58 Quote from: Skaveng – on 30 June 2020, 19:53:18I am actually relieved to know that i am not the only one struggling to get a working Artix Linux install.We shall work together on making a good tutorial or even improving the wiki honestly.I've resolved the last problem at this thread - https://forum.artixlinux.org/index.php/topic,1541.0.htmlNow, if you'd complete a mentioned guide + my amendments, it's guaranteed to work: I've done it from scratch on two VMs already,and ready to try it on a real machine with a coreboot+SeaBIOS opensource BIOS.If you have UEFI, you can do it all either without some of my BIOS-related changes, or put your system to UEFI-CSM legacy mode.UEFI is a SystemD of a BIOS world to be honest, so you wouldn't lose much by doing this. Ideally switch to coreboot though,because - if there are hidden software backdoors in your UEFI like a Computrace - then a Full Disk Encryption could be pointless. 1 Likes