When I boot, I get this errror:
https://imgur.com/a/cz1JxcT
ERROR: resume: hibernation device '/dev/mapper/LVM--VG-lvol--swap' not found
mount: /new_root: nofilesystem type specified.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ]#
It started after I tried to eliminate a kernel error about EFI by adding a line to my /etc/default/grub.
I’m embarassed to say I cannot remember what I added, even after I followed this guide to chroot from a live USB and return the config to previous state.
Guide: https://gist.github.com/greginvm/af68bef3c81a9594a80d
Grub config:
GRUB_DEFAULT=saved
GRUB_TIMEOUT=10
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet udev.log_priority=3 resume=UUID=67e02eac-7233-44dd-a250-68d2f1989261p"
GRUB_CMDLINE_LINUX="cryptdevice=UUID=2b17b78c-2e89-4c29-9ab5-c9a088206034:cryptroot"
## My various tests
#GRUB_CMDLINE_LINUX_DEFAULT="quiet udev.log_priority=3 resume=UUID=67e02eac-7233-44dd-a250-68d2f1989261 resume=/dev/mapper/LVM--VG-lvol--swap"
#GRUB_CMDLINE_LINUX="cryptdevice=UUID=f2e25066-a913-4f53-8d0d-e01ab9795683:cryptroot"
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
#GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
GRUB_ENABLE_CRYPTODISK=y
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
lsblk -f, the install is on nvme0n1
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 squashfs 4.0 0 100% /run/miso/sfs/livefs
loop1 squashfs 4.0 0 100% /run/miso/sfs/mhwdfs
loop2 squashfs 4.0 0 100% /run/miso/sfs/desktopfs
loop3 squashfs 4.0 0 100% /run/miso/sfs/rootfs
sda
├─sda1 crypto_LUKS 1 a08c3ddb-b9a0-4d61-9a29-db1bea40859c
└─sda2 crypto_LUKS 1 83233373-9a11-42fa-a6c7-c5d1fe92ea9e
sdb iso9660 Joliet Extension MANJARO_KDE_2011 2020-10-01-14-09-49-00 0 100% /run/miso/bootmnt
├─sdb1 iso9660 Joliet Extension MANJARO_KDE_2011 2020-10-01-14-09-49-00
└─sdb2 vfat FAT12 MISO_EFI 1AFD-57C6
nvme0n1
├─nvme0n1p1 vfat FAT32 4E9E-C65B
└─nvme0n1p2 crypto_LUKS 1 2b17b78c-2e89-4c29-9ab5-c9a088206034
└─lvm LVM2_member LVM2 001 XkdYUy-u3t4-JmR3-ww9u-ewPF-ORMm-0LY8rG
├─LVM--VG-lvol--root ext4 1.0 f2e25066-a913-4f53-8d0d-e01ab9795683
└─LVM--VG-lvol--swap swap 1 67e02eac-7233-44dd-a250-68d2f1989261
/etc/fstab
GNU nano 5.3 /etc/fstab
# /dev/mapper/LVM--VG-lvol--root UUID=f2e25066-a913-4f53-8d0d-e01ab9795683
/dev/mapper/LVM--VG-lvol--root / ext4 rw,noatime 0 0
# /dev/nvme0n1p1 UUID=4E9E-C65B
PARTUUID=e9c37df1-ee1f-44b5-aa0c-06c9035cccf3 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortnam>
# /dev/mapper/LVM--VG-lvol--swap UUID=67e02eac-7233-44dd-a250-68d2f1989261
/dev/mapper/LVM--VG-lvol--swap none swap defaults,pri=-2 0 0
/etc/crypttab
# Configuration for encrypted block devices.
# See crypttab(5) for details.
# NOTE: Do not list your root (/) partition here, it must be set up
# beforehand by the initramfs (/etc/mkinitcpio.conf).
# <name> <device> <password> <options>
# home UUID=b8ad5c18-f445-495d-9095-c9ec4f9d2f37 /etc/mypassword1
# data1 /dev/sda3 /etc/mypassword2
# data2 /dev/sda5 /etc/cryptfs.key
# swap /dev/sdx4 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256
# vol /dev/sdb7 none
/etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(piix ide_disk reiserfs)
MODULES=()
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=(/crypto_keyfile.bin)
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS=(base)
#
## This setup will autodetect keyboard keymap all modules for your system and should
## work as a sane default
# HOOKS=(base udev autodetect keyboard keymap block encrypt lvm2 filesystems)
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS=(base udev block encrypt lvm2 filesystems)
#
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS=(base udev block lvm2 mdadm encrypt filesystems)
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS=(base udev block encrypt lvm2 filesystems)
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS=(base udev autodetect keymap modconf block encrypt lvm2 filesystems keyboard resume)
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()
Any thoughts?