error: symbol not found: 'grub_divmod64_full'

Bug #768716 reported by Oweoqi
78
This bug affects 16 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Opinion
Undecided
Unassigned

Bug Description

After the Natty update on the the 21/4/2011 (I'm in Australia), I am now receiving this error every time I try to boot into Windows:

error: symbol not found: 'grub_divmod64_full'
error: no such device: 16DBE82A41F716A1
error: no such disk

Now I thought I was looking at a HDD failure, but when I boot into Ubuntu, the Windows partition is mounted and can be used as normal. Also, the UUID for my Windows partition has not changed.

Revision history for this message
Oweoqi (oweoqi) wrote :

If it helps, there are 3 other people reporting this issue on the ubuntu forums: http://ubuntuforums.org/showthread.php?p=10704740

affects: ubuntu → grub2 (Ubuntu)
tags: added: natty
Revision history for this message
Eliah Kagan (degeneracypressure) wrote :

@Ants
Please boot into Ubuntu and run the command "apport-collect 768716" (without the quotes), to add important information to this bug report. If you have any trouble with this, please post a comment.

Changed in grub2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Colin Watson (cjwatson) wrote :

Please also attach the output of:

  sudo debconf-show grub-pc

(I don't think apport-collect will give us this, and it's the part I really need here.)

This is almost certainly a case of the upgraded version of GRUB not being installed to where your computer is actually booting from.

Revision history for this message
Remy Patzelt (remy-patzelt) wrote :

i get nearly the same error

ter the Natty update on the the 22/4/2011 (I'm in Germany), I am now receiving this error every time I try to boot into Windows:

error: symbol not found: 'grub_divmod64_full'
error: no such device: 1EF6F6AAF6F68177
error: no such dis

@ sudo debconf-show grub-pc:

grub-pc/kopt_extracted: false
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
* grub-pc/install_devices: /dev/disk/by-id/ata-SAMSUNG_HD300LD_S0A4J1TL503692
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/disk_description:
* grub2/linux_cmdline:
  grub-pc/install_devices_empty: false
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/partition_description:
  grub-pc/install_devices_failed: false
  grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet splash
  grub-pc/chainload_from_menu.lst: true
  grub-pc/hidden_timeout: false
  grub-pc/mixed_legacy_and_grub2: true
  grub-pc/timeout: 10

i hope you can help use.

Thanx

Revision history for this message
Remy Patzelt (remy-patzelt) wrote :

it Works

i had just make a update

sudo update-grub

Changed in grub2 (Ubuntu):
status: Incomplete → Opinion
Revision history for this message
Oweoqi (oweoqi) wrote :

I purged and re-installed. All is fine now.

Revision history for this message
Kyle Larsen (unclekyky) wrote :

@Remy
If you read in the thread on ubuntuforums.org posted by Ants you will see that update-grub wasn't working for everyone. I know it didn't work for me.

I did end up fixing this problem, but I can't tell you exactly how. I downloaded the source and took a look at where grub_divmod64 and grub_divmod64_full reside. I thought it might have been a bug when grub_divmod64_full was created, however, everything looked correct.

I then compiled and installed it. However, I didn't remove the grub-pc package, so I believe they might have conflicted. Anyway, grub-install/grub-setup wasn't working 100% (but I can't remember the error). I rebooted and was hit with a grub console.

So, I booted into the gentoo 11.0 livedvd and chrooted into ubuntu to try and install grub properly. This time it worked without a problem.

Sorry I can't be more helpful, but I believe Colin is correct when he said, "This is almost certainly a case of the upgraded version of GRUB not being installed to where your computer is actually booting from."

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 768716] Re: error: symbol not found: 'grub_divmod64_full'

Remy, do you have more than one disk in this computer?

The usual fix for this class of problem is to run 'sudo dpkg-reconfigure
grub-pc', and make sure that all your disks are checked. (Unless you
have specific requirements, you don't need to and probably shouldn't
check any of the partitions, only whole disks.)

I'm certain that this isn't a bug in GRUB's source code - it's just due
to the GRUB core image being out of sync with its modules, which happens
sometimes for the reason I describe. We get bugs like this pretty much
every time we change the interface between the core image and modules in
any way at all, although they've got much less frequent as the debconf
interface has been improved to increase the likelihood that people will
install GRUB to the right place.

Revision history for this message
Wulfric Freawine (wulfric-freawine) wrote : apport information

Architecture: amd64
DistroRelease: Ubuntu 11.04
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
NonfreeKernelModules: nvidia
Package: grub2 (not installed)
ProcEnviron:
 LANGUAGE=en_IN:en
 LANG=en_IN
 LC_MESSAGES=en_IN.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Tags: natty running-unity
Uname: Linux 2.6.38-8-generic x86_64
UpgradeStatus: Upgraded to natty on 2011-04-21 (6 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

tags: added: apport-collected running-unity
Revision history for this message
Wulfric Freawine (wulfric-freawine) wrote :

Exact same problem here. Hybrid install with Windows and Natty Beta 2. I get the same message as others.

One additional bit, I dropped to commandline with -c and ran ls to see if maybe the uuids were screwed and it says:-
symbol not found: 'grub_divmod64_full'

Hope this helps. I really need to boot into Windows for some stuff.

Here is the output you asked for:-
sudo debconf-show grub-pc

 grub-pc/kopt_extracted: false
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
* grub-pc/install_devices: /dev/disk/by-id/ata-ST3500418AS_9VM0V72T-part6
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/disk_description:
* grub2/linux_cmdline:
  grub-pc/install_devices_empty: false
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/partition_description:
  grub-pc/install_devices_failed: false
  grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet splash
  grub-pc/chainload_from_menu.lst: true
  grub-pc/hidden_timeout: false
  grub-pc/mixed_legacy_and_grub2: true
  grub-pc/timeout: 10

Anything else you want me to try, just ask.

Revision history for this message
Nathan Clemons (stormerider) wrote :

Also seeing this after upgrading from natty rc2 to the full version of Natty:

amorgan@storm:~$ sudo debconf-show grub-pc
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
* grub2/linux_cmdline:
  grub-pc/install_devices_empty: false
  grub-pc/install_devices_failed: false
  grub-pc/chainload_from_menu.lst: true
  grub-pc/hidden_timeout: false
  grub-pc/timeout: 10
  grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/disk/by-id/ata-ST31500341AS_9VS139PD
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/disk_description:
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/partition_description:
  grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet splash
  grub-pc/mixed_legacy_and_grub2: true
amorgan@storm:~$

Revision history for this message
Nathan Clemons (stormerider) wrote :

Purging and reinstalling grub did not fix the problem.

Revision history for this message
Wulfric Freawine (wulfric-freawine) wrote :

I managed to fix it. Pardon the lengthy comment, but I have a new problem now.
My hard disk looks like this:
/dev/sda1 ntfs windows7
/dev/sda2 ext4 <documents>
/dev/sda3 extended
        /dev/sda5 swap
        /dev/sda6 Ubuntu natty
/dev/sda4 ext4 home

I purged grub grub-pc grub-common
I installed grub-pc grub-common

Last time I had installed grub to /dev/sda6 for reasons I will explain. This time I simply made /dev/sda [*] and installed grub to it. On rebooting:-
-My screen goes blank with a single "Out of range!" error displayed by monitor[BenQGL2030AM]
-But in 10-15 seconds I see the Ubuntu desktop which works normally
-So grub is working but somehow no menu

I remember that my grub menu had Ubuntu, Ubuntu[Recovery], Memtest and Win7 in that order
So I reboot:-
-Again the "out of Range error" message
-I hold [down key] then press [enter]
-Voila Windows 7 desktop!!!

The grub menu does not display for some reason I cannot figure out. I have had Lucid, Karmic and Maverick work flawlessly on this same hardware.

Its a minor nuisance, but I would like to fix it. However I have no clue as to my next step.
If you have any suggestions please feel free to comment here, I will try them out tomorrow.

Really sorry for the long post...again.
P.S. Installing grub on /dev/sda6 makes the menu visible, but symbol not found: 'grub_divmod64_full' on attempting windows boot. I installed on /dev/sda while testing beta2, found a blank screen, reinstalled on /dev/sda6 and now no windows with a nice boot menu.

Revision history for this message
Wulfric Freawine (wulfric-freawine) wrote :

Solved!!!
The default /etc/default/grub had
#GRUB_TERMINAL=console
#GRUB_GFXMODE=640X480

As I understand since console mode is disabled grub runs in graphical menu mode, whose default resolution is specified by key GRUB_GFXMODE, but this key is commented out too, so GRUB has no predefined resolution to work at. Apparently in my case, it picked out an inappropriate resolution, hence the "out of range" error. All I had to do was uncomment GRUB_GFXMODE=<something sensible, run vbeinfo> 1024x768 and the pretty menu is back.

If we want GRUB graphical as the default bootmanager for Natty, perhaps we should uncomment this by default, because atleast on my hardware, GRUB doesn't figure out sensible defaults by itself. Perhaps set it to some safe value such as 640x480 which all BIOSes support?

Revision history for this message
Andru Quinn (andru183) wrote :

I tried Wulfric Freawine fix but to no avail, still not booting into anything else

Revision history for this message
Wulfric Freawine (wulfric-freawine) wrote :

1.Purge grub from all installs
2.Specifically install GRUB on MBR not on any Partition Boot Records and especially not on logical partitions
3. I was able to confirm the bug by installing on the PBR of a logical partition on a different machine
4.If you must install on PBR prefer physical partitions to logical partitions

Excellent guide to purging and installing grub
http://ubuntuforums.org/showthread.php?t=1581099

Hope this helps
If more people can confirm this maybe we could put this on the grub-dev mailing list.
So far I have had this issue on two machines and each time purging and reinstalling to MBR has worked.
I will try on some other hardware when I can.
Do mention your hard disk partitions in comments so we can see if there is any pattern.

Revision history for this message
Josh Marshall (macassistant202) wrote :

Architecture: amd64
DistroRelease: Ubuntu 11.04
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
NonfreeKernelModules: nvidia
Package: grub2 1.99~rc1-13ubuntu3
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Tags: natty running-unity
Uname: Linux 2.6.38-9-generic x86_64
UpgradeStatus: Upgraded to natty on 2011-04-20 (13 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

Revision history for this message
Josh Marshall (macassistant202) wrote : Dependencies.txt

apport information

Revision history for this message
Josh Marshall (macassistant202) wrote :

grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
  grub2/linux_cmdline:
  grub-pc/install_devices_empty: false
  grub-pc/install_devices_failed: false
  grub-pc/chainload_from_menu.lst: true
  grub-pc/hidden_timeout: true
  grub-pc/timeout: 10
  grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/disk/by-id/ata-PATRIOT_MEMORY_SSD_256GB_MK0409090A4C80027-part6
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/disk_description:
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/partition_description:
  grub-pc/install_devices_disks_changed:
  grub2/linux_cmdline_default: quiet splash
  grub-pc/mixed_legacy_and_grub2: true

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.