Accidentally removed systemd bootloader
First off, I'm an idiot. I was deleting a USB drive for something, and then realised (when gparted told me it couldn't unmount my main drive because it was in use) that I hadn't looked at the drive correctly and I'd removed the boot loader of my install (you should've heard the swearing).
Does anyone have a simple to follow bootloader repair guide please.
Cheers
About this post
- Posted
- Archived
- Score
- 12 · 93% up
- Kind
- Text
- ID
- 175tp95
16 comments
just boot from live cd and reinstall bootloader following arch wiki
The amount of things you can do with a live cd is enormous. I've realized it a bit late.
Thank you. I'll have a strong coffee, then I'm going in 👍
Make sure you reinstall any other kernels if you used them (e.g. the LTS or Zen kernels)
Wouldn't mkinitcpio work as opposed to reinstalling Linux entirely? Or is everything stored in the EFI filesystem?
The kernel is stored there too, systemd-boot can only read from the EFI System Partition.
All sorted now. Thank you to anyone who left advice.
Cheers.
Windows: I'd like to uninstall the edge browser that I don't use. NO IT MIGHT DAMAGE YOUR SYSTEM
Linux: I'd like to uninstall my bootloader. Yeah sure, go ahead
🤣🤣🤣