You are not logged in.
Hi guys,
I get an error on boot once in a while, probably once every two weeks.
Here's a screenshot of the error: https://imgur.com/v0qDcM6
Given it's intermittent and does not happen often, it's safe to assume it most likely related to my initramfs hooks order.
Some details...
BIOS, LVM on LUKS.
/dev/sdc1 contains boot partition
/dev/sdc2 is an encrypted (LUKS) partition with LVM volumes including:
/dev/volgroup0/lv_root
/dev/volgroup0/lv_home
/dev/volgroup0/lv_swap/etc/mkinitcpio.conf
MODULES=(ext4 nvidia atkbd)
HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt lvm2 resume filesystems fsck)/etc/default/grub
GRUB_ENABLE_CRYPTODISK=y
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 cryptdevice=/dev/sdc2:volgroup0:allow-discards nvidia-drm.modeset=1 apparmor=1 lsm=lockdown,yama,apparmor quiet resume=/dev/volgroup0/lv_swap"I'm not sure how close to the left I should shift 'encrypt'?
I read 'encrypt' and 'lvm2' to go between 'block filesystems'
Also I can get rid of consolefont, really don't need this.
Thanks.
Why aren't you setting the root parameter in your grub config?
https://wiki.archlinux.org/index.php/Dm … t_loader_2
Offline
Why aren't you setting the root parameter in your grub config?
https://wiki.archlinux.org/index.php/Dm … t_loader_2
I'm not sure!?!?! I thought I had the 'root' specified at one time. It probably got removed by a copy/paste somewhere along the line.
Thanks! Good spot!
See how I go in the next week or two... amending to:
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 cryptdevice=/dev/sdc2:volgroup0:allow-discards root=/dev/volgroup0/lv_root resume=/dev/volgroup0/lv_swap nvidia-drm.modeset=1 apparmor=1 lsm=lockdown,yama,apparmor quiet"Thanks again!
Last edited by pete_mav_mitchell (2020-05-23 05:22:53)