Hardened linux? How to remove from 'Grub' Menu?

I’m lost here. I installed a file by accident that changed my grub menu with the addition of a ‘Hardened Linux’ option. I want to remove it simple enough. What does it refer to?

Rich :wink:

To regenerate the grub menu after removing the kernel, use:

sudo grub-mkconfig -o /boot/grub/grub.cfg

It refers to the hardened linux kernel, you probably installed it, it’s a more secure version of the Linux kernel. You can remove it with akm:


I ran the akm graphical kernel manager and unchecked the ‘harden’ kernel option and ‘executed’ the transaction. This brought me to this error message in terminal:

/usr/bin/pacman -Rsn linux-hardened ;
Root Password:
checking dependencies…
error: failed to prepare transaction (could not satisfy dependencies)
:: removing linux-hardened breaks dependency ‘linux-hardened’ required by usbctl

Press ENTER to close this window:

What’s this telling me?

Rich :wink:

You can just remove that package with yay -R usbctl and then try again, it is used only with linux-hardened so there’s no issue in removing it if you intende to uninstall linux-hardened.

My bad. . . . . I used Octopi and removed both packages one for the Hardened Kernel and another for usbctl. Both files removed and the system boots up and runs like it did before all this happened. . . Sorry for my embarrassment to you all.

Rich :wink:

That’s great, its not embarrassing to have issues and ask for help.

1 Like