You are not logged in.

#1 2023-11-17 23:00:06

intname
Member
Registered: 2023-11-17
Posts: 1

grub is stuck at boot, no resque

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

https://imgur.com/a/cmVDdTB

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

Board footer

Powered by FluxBB