You are not logged in.
Pages: 1
im trying to make an encrypted archlinux install, using lvm, also i have installed grub on different drive than the root partition (its supposed to be usb but in virtualbox its just another drive), following this guide:https://wiki.archlinux.org/title/Dm-cry … VM_on_LUKS
im also using a keyfile that is stored on second partition on the usb
i have created linux partition on /dev/sda1, encrypted it with
cryptsetup luksFormat /dev/sda1 nameofthekey.enc, made a group called MyVolGroup, made root and swap, formatted it, mouted it, made BIOS boot partition on /dev/sdb1, formatted it to ext4, mouted it, made /dev/sdb2 linux partition formatted it to fat32 and putted to key there, then i followed the basic install guide and chrooted into the system, additionaly installed lvm2 and grub, then i edited the mkinitcpio.conf, added the required hooks, regenerated the initramfs, installed grub using:
grub-install --target=i386-pc /dev/sdb, my GRUB_CMDLINE_LINUX_DEFAULT line looks like this https://imgur.com/a/5fqn6eN
whatever i change in grub.cfg doesn't afffect it
i found out that i was missing lvm2 and ecryption hook so i regenerated the initramfs and it did not solve it
Last edited by intname (2023-11-18 16:27:41)
Offline
Pages: 1