Using luks encryption, trying to get rid of this swap error on startup, everything starts up fine but there might be issues regarding hibernation, Im not sure so I wanted to fix it and also to get rid of the annoying message
(replaced actual strings with rootstring1…ect throughout for easier reading):
Startup Error:
mount: /openswap_keymount: wrong fs type, bad option, bad superblock on /dev/mapper/luks-rootstring1
Missing codepage or helper program or other error
dmesg(1) may have more imformation after failed mount system call
Failed to open any keyfile
umount:cant umount openswap_keymount: Invalid argument
ERROR: resume:hibernation device '/dev/mapper/luks-swapstring1'
Cmdline in /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on iommu=pt quiet cryptdevice=UUID='rootstring1':luks-rootstring1 root=/dev/mapper/luks-rootstring1 apparmor=1 psi=1 security=apparmor resume=/dev/mapper/luks-swapstring1 udev.log_priority=3"
blkid lines for swap and root:
/dev/mapper/swapstring1: UUID="swapstring2" TYPE="swap"
/dev/mapper/rootstring1: UUID="rootstring2" BLOCK_SIZE="4096" TYPE="ext4"
full /etc/fstab/ config:
UUID=bootstring /boot/efi vfat umask=0077 0 2
/dev/mapper/luks-swapstring1 swap swap defaults,noatime 0 0
UUID=rootstring2 / ext4 defaults,noatime 0 1
Potentially relevant Errors in dmesg:
ext4: Unknown parameter 'subvol'
ucsi_ccg 0-0008: failed to get FW build information
failed to reset PPM!
PPM init failed (-110)
Adding 39843836k swap on /dev/mapper/luks-swapstring1. Priority:-2 extents:1 across:39843836k SSFS
I feel like my fstab might be problematic, not sure if the UUID string is supposed to be different from the mapper string in blkid. Had a similar error originally after reinstalling manjaro and transferring my root partition that was:
mount: /openswap_keymount: no filesystem specified
Device /Dev/disk/byuuid/different-string
umount: can't unmount openswap_keymount:invalid argument
and I attempted to fix that error by correcting the grub, but the first error and configs below that, is where Im at now.