view the rest of the comments
Linux
Welcome to c/linux!
Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!
Rules:
-
Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.
-
Be respectful: Treat fellow community members with respect and courtesy.
-
Quality over quantity: Share informative and thought-provoking content.
-
No spam or self-promotion: Avoid excessive self-promotion or spamming.
-
No NSFW adult content
-
Follow general lemmy guidelines.
Can you link me to the commands to reinstall the kernel? Thank you for very much your help[
probably something like
apt reinstall linux-image-...
To find ..., run
apt list --installed | grep linux-image
and pick oneEdit: also if need current kernel, can see booted kernel name using
uname -a
Can't find an article for it at the moment, but I can tell you real quick how I would've done it.
Use
aptitude
and look for linux-image-amd64 or something under Installed -> kernel. The exact name might be a bit different.View the package and look under the Version and check out the one that's marked 'i' (for installed). Select that package and mark it to reinstall (shortcut 'L').
Then finally execute it (shortcut 'g' and then 'g' again).
Ok thanks again for all the help.
I used aptitude to reinstall the kernel, L, g, g
Ran Grub-install /dev/nvme1n1
Ran update-grub
I installed grub-emu to test and am greeted with this error
https://dump.li/image/get/16c4f87164d630a5.png
Brand new to this tool so apologies if I'm interpreting it wrong.
Still waiting on data to backup but I'm scared to reboot now. Any thoughts?
The boot drive has LUKS FDE if that could be what's confusing it
Not sure if this is a good way to test as it cannot seem to recognize even the most basic command like linux & initrd.
If I were you, I'd just restart, with a liveUSB ready in case it turns out to be unbootable.
Perhaps just a bit to make sure before rebooting:
Just rebooted and it worked flawlessly!!
You are fucking awesome thank you again. Really made my weekend.
Glad to hear that! You're welcome!