linux-hardened kernel fails to mount encrypted xfs root partition
Not downloaded yet
I'm really interested in using the linux-hardened kernel, however it won't mount my luks xfs root partition. Google search shows nothing really, must be a rare issue. It says it can't read superblock on /dev/mapper/vg0-root then drops me into an emergency shell. This is a screenshot showing the full error message https://pasteboard.co/IJuJCYm.jpg
The mainline kernel mounts the partition just fine. Has anyone ever encountered this, and is there a simple solution? I really don't want to have to rebuild my arch install all over again, I put a lot of time, effort into this setup. Thank you.
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Image
- ID
- e5cold
2 comments
I have LVM on LUKS2 root partition and it works just fine with linux-hardened.
Looks like the error happens after the partition decryption.
Did you accidentally turn off electricity recently or made a force reboot? Try this, it helped me one time ago.
Thanks for the reply, I don't think this is the case as the standard Arch kernel mounts root and boots with no problems. I rarely have to do a hard reset but when I do, I never have issues rebooting and mounting the partition. I will however use an arch usb to run some xfs tools and check the filesystem, but I suspect it's a bug in the hardened kernel.