Getting `md2` Not Found Error After Upgrading to Debian 13 – Help!

0
2
Asked By MysteriousPineapple42 On

I'm not a beginner, but I'm feeling pretty stuck right now. After upgrading my VPS from Debian 12 to Debian 13, I also decided to upgrade my dedicated root server. The upgrade process seemed to go fine without any errors. However, my server won't boot anymore. I get the error `error: symbol 'grub_efi_set_variable_to_string' not found.` and it sends me straight to the BIOS. I used my rescue system to set up chroot and try to reinstall GRUB, since it looks like the installation is incomplete. When I run `update-grub`, I keep getting this message: `disk 'md2' not found.` I've checked my mounts - everything seems fine. My `df -h` output shows that `md2` mounts properly, but GRUB isn't recognizing it. I really don't know what to try next!

3 Answers

Answered By CuriousCoder88 On

Have you checked what's in your `/etc/fstab` file? Sometimes the UUIDs can get messed up during an upgrade, and that might be why GRUB is complaining about that disk not being found. Make sure it lists `md2` correctly, or it might just not be able to find it.

Answered By TechWizard77 On

I had a similar issue with `grub-probe` throwing that error. Try using the bind mount command for `/dev`, `/proc`, and `/sys` before chrooting. It could be as simple as the environment not being set up correctly for GRUB to locate the device.

Answered By CloudySkies2021 On

After the upgrade, did you try reinstalling GRUB completely? Sometimes the upgrade does not fully complete all necessary steps. Boot into the rescue media and try running the GRUB installation commands again, making sure to chroot correctly into your system.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.