I just upgraded my Ubuntu tensorflow test machine’s Ubuntu version and ran into this weird error: grub_calloc not found
Apparently when doing an upgrade using Ubuntu’s upgrade tool it hoses your grub config if you have multiple drives.
I was able to fix it doing the following:
-
boot using an Ubuntu stick and open a terminal
-
commands:
sudo mount /dev/sdc1 /mnt
sudo grub-install --root-directory=/mnt/ /dev/sdc
My drive was sdc, but if you have this issue you may need to use a different drive letter.
I’m sure most folks know how to fix this sort of thing, but figured this might help someone as I couldn’t find the topic in search.