Skip to content

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.

3 points2 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 100% up
Kind
Image
ID
e5cold

Author

7
posts
159
comments
7
media
View profile

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.

1 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.