29

Hi all,

I'm having a bad day and did something colossally stupid, deleting everything from /boot/.

The system is still running. What do you think my best course of action is?

My current idea is to create a timeshift backup, reinstall debian from USB, then restore from backup in timeshift

If this won't work or you have a better idea I would really appreciate your advice.

Thanks in advance

you are viewing a single comment's thread
view the rest of the comments
[-] Max_P@lemmy.max-p.me 8 points 3 months ago

Live CD and reinstall kernel should do it. If it's only boot, it'll be as of nothing ever happened to it.

No need to reinstall or start over, that's wildly overkill. This is Linux, if your data is still there, it's recoverable.

Ok very happy to hear that, thank you.

[-] nexussapphire@lemm.ee 1 points 3 months ago

I'm not familiar with Debian. On arch you could just run the package manager to reinstall linux (kernel) and run grub-install with all the usual commands.

I use systemd-boot now so I might be rusty on that. I don't know if it's faster but it feels faster and I don't really care about dual booting.

this post was submitted on 08 Aug 2024
29 points (100.0% liked)

Linux

8118 readers
58 users here now

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:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS