Tuesday, December 13, 2011

grub rescue - missing symbol divmod64

Scenario: Macbook Pro with 4 partitions, multibooting OSX Snow Leopard, Lion & Debian Wheezy (LMDE).  After re-partitoning, installing Lion, updating reFit, and possibly updating LMDE, grub-pc 1.99 would error with "missing symbol: divmod64_full"; and drop to grub rescue prompt.  Executing "insmod normal" reproduces the error message.

Solution: Fortunately reFit would allow Grub to boot off the #3 partition, where Lion was installed (where grub was initially installed??).  Eventually found a recommendation for the following which fixed the issue:
# grub-install --no-floppy --recheck --force /dev/sda4

I believe it is the recheck switch which fixes the issue by forcing the disk map to be re-probed.

No comments:

Post a Comment