I have a computer with debian installed. Recently I upgraded the OS (
apt dist-upgrade). After rebooting, grub enters rescue mode and shows the error message
"Error: symbol 'grub_disk_native_sectors' not found.".
How can I fix it to boot normally into my system?
I have two drives with three partitions each one, some of them encrypted:
------> sda1 (var, encrypted)
------> sda2 (swap)
------> sda3 (home, encrypted)
------> sdb1 (boot, NOT encrypted)
------> sdb2 (encrypted)
------> sdb3 (encrypted)
I've tried following the steps described here https://phoenixnap.com/kb/grub-rescue. However, on executing
insmode normal I get the same error as when booting.
After downloading a current Debian iso image and booting it to a USB stick, I've tried entering rescue mode to execute other commands I found online on questions to fix grub like
update-grub. However, I don't know how to make it. The partitions are all correctly identified and I'm able to decrypt them as well. Then, I'm asked to choose what device I want to use as my root file system. I can only choose
/dev/mapper/sda1_cryp or the use installer itself.
What are the next steps?
The kernel images saved on
/boot are 4.19.0-6, 5.10.0-16 and 5.10.0-18.