Thanks, Colin.

I checked it again. It's because I cloned a virtualbox disk,
which caused the uuid changed.

Need to run grub-mkdevicemap to update the device map, and
reinstall grub by `grub-install' or dpkg-reconfigure grub-pc.

Regards
-Rex

2011/9/5 Debian Bug Tracking System <ow...@bugs.debian.org>:
> This is an automatic notification regarding your Bug report
> which was filed against the grub-pc package:
>
> #640517: grub-pc: Failed to boot after upgraded to sid, error: symbol not 
> found: `grub_divmod64_full'.
>
> It has been closed by Colin Watson <cjwat...@debian.org>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Colin Watson 
> <cjwat...@debian.org> by
> replying to this email.
>
>
> --
> 640517: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640517
> Debian Bug Tracking System
> Contact ow...@bugs.debian.org with problems
>
>
> ---------- 轉寄訊息 ----------
> From: Colin Watson <cjwat...@debian.org>
> To: 640517-cl...@bugs.debian.org
> Date: Mon, 5 Sep 2011 15:15:29 +0100
> Subject: Re: Bug#640517: grub-pc: Failed to boot after upgraded to sid, 
> error: symbol not found: `grub_divmod64_full'.
> On Mon, Sep 05, 2011 at 08:04:53PM +0800, Rex Tsai wrote:
>> After upgraded from wheezy to sid, grub-pc run into rescue mode,
>> with the following message -
>>
>> error: symbol not found: `grub_divmod64_full'.
>
> This happens when your grub-pc package is not properly configured to
> install to the hard disk you're actually booting from.  Run
> 'dpkg-reconfigure grub-pc' to fix it.
>
> In particular I notice that the serial number of your hard disk appears
> to have changed at some point:
>
>> *********************** BEGIN /boot/grub/device.map
>> (hd0) /dev/disk/by-id/ata-VBOX_HARDDISK_VBd3a07ba6-243d9064
>> *********************** END /boot/grub/device.map
> [...]
>> -- debconf information:
> [...]
>> * grub-pc/install_devices: 
>> /dev/disk/by-id/ata-VBOX_HARDDISK_VBb2a857d8-3ee144e2
>
> ... which means that GRUB has no way to know which disk it's supposed to
> install to.  You might want to run 'grub-mkdevicemap' before calling
> dpkg-reconfigure.
>
> Regards,
>
> --
> Colin Watson                                       [cjwat...@debian.org]
>
>
>
> ---------- 轉寄訊息 ----------
> From: Rex Tsai <chihc...@kalug.linux.org.tw>
> To: Debian Bug Tracking System <sub...@bugs.debian.org>
> Date: Mon, 05 Sep 2011 20:04:53 +0800
> Subject: grub-pc: Failed to boot after upgraded to sid, error: symbol not 
> found: `grub_divmod64_full'.
> Package: grub-pc
> Version: 1.99-11
> Severity: important
>
> After upgraded from wheezy to sid, grub-pc run into rescue mode,
> with the following message -
>
> error: symbol not found: `grub_divmod64_full'.
> Entering rescue mode...
> grub rescue>
>
> I uncomment GRUB_GFXMODE in /etc/default/grub and grub-install /dev/sda
> to fix the problem.
>
> -- Package-specific info:
>
> *********************** BEGIN /proc/mounts
> /dev/disk/by-uuid/f55864a8-0587-4ba0-9765-082a7395a28b / ext3
> rw,relatime,errors=remount-ro,commit=5,barrier=0,data=ordered 0 0
> *********************** END /proc/mounts
>
> *********************** BEGIN /boot/grub/device.map
> (hd0)   /dev/disk/by-id/ata-VBOX_HARDDISK_VBd3a07ba6-243d9064
> *********************** END /boot/grub/device.map
>
> *********************** BEGIN /boot/grub/grub.cfg
> #
> # DO NOT EDIT THIS FILE
> #
> # It is automatically generated by grub-mkconfig using templates
> # from /etc/grub.d and settings from /etc/default/grub
> #
>
> ### BEGIN /etc/grub.d/00_header ###
> if [ -s $prefix/grubenv ]; then
>  load_env
> fi
> set default="0"
> if [ "${prev_saved_entry}" ]; then
>  set saved_entry="${prev_saved_entry}"
>  save_env saved_entry
>  set prev_saved_entry=
>  save_env prev_saved_entry
>  set boot_once=true
> fi
>
> function savedefault {
>  if [ -z "${boot_once}" ]; then
>    saved_entry="${chosen}"
>    save_env saved_entry
>  fi
> }
>
> function load_video {
>  insmod vbe
>  insmod vga
>  insmod video_bochs
>  insmod video_cirrus
> }
>
> insmod part_msdos
> insmod ext2
> set root='(hd0,msdos1)'
> search --no-floppy --fs-uuid --set=root
> f55864a8-0587-4ba0-9765-082a7395a28b
> if loadfont /usr/share/grub/unicode.pf2 ; then
>  set gfxmode=640x480
>  load_video
>  insmod gfxterm
>  insmod part_msdos
>  insmod ext2
>  set root='(hd0,msdos1)'
>  search --no-floppy --fs-uuid --set=root
> f55864a8-0587-4ba0-9765-082a7395a28b
>  set locale_dir=($root)/boot/grub/locale
>  set lang=C
>  insmod gettext
> fi
> terminal_output gfxterm
> set timeout=5
> ### END /etc/grub.d/00_header ###
>
> ### BEGIN /etc/grub.d/05_debian_theme ###
> insmod part_msdos
> insmod ext2
> set root='(hd0,msdos1)'
> search --no-floppy --fs-uuid --set=root
> f55864a8-0587-4ba0-9765-082a7395a28b
> insmod png
> if background_image /usr/share/images/desktop-base/spacefun-grub.png;
> then
>  set color_normal=light-gray/black
>  set color_highlight=white/black
> else
>  set menu_color_normal=cyan/blue
>  set menu_color_highlight=white/blue
> fi
> ### END /etc/grub.d/05_debian_theme ###
>
> ### BEGIN /etc/grub.d/10_linux ###
> menuentry 'Debian GNU/Linux, with Linux 3.0.0-1-686-pae' --class debian
> --class gnu-linux --class gnu --class os {
>        insmod gzio
>        insmod part_msdos
>        insmod ext2
>        set root='(hd0,msdos1)'
>        search --no-floppy --fs-uuid --set=root
> f55864a8-0587-4ba0-9765-082a7395a28b
>        echo    'Loading Linux 3.0.0-1-686-pae ...'
>        linux   /boot/vmlinuz-3.0.0-1-686-pae
> root=UUID=f55864a8-0587-4ba0-9765-082a7395a28b ro  quiet
>        echo    'Loading initial ramdisk ...'
>        initrd  /boot/initrd.img-3.0.0-1-686-pae
> }
> menuentry 'Debian GNU/Linux, with Linux 3.0.0-1-686-pae (recovery mode)'
> --class debian --class gnu-linux --class gnu --class os {
>        insmod gzio
>        insmod part_msdos
>        insmod ext2
>        set root='(hd0,msdos1)'
>        search --no-floppy --fs-uuid --set=root
> f55864a8-0587-4ba0-9765-082a7395a28b
>        echo    'Loading Linux 3.0.0-1-686-pae ...'
>        linux   /boot/vmlinuz-3.0.0-1-686-pae
> root=UUID=f55864a8-0587-4ba0-9765-082a7395a28b ro single
>        echo    'Loading initial ramdisk ...'
>        initrd  /boot/initrd.img-3.0.0-1-686-pae
> }
> menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686' --class debian
> --class gnu-linux --class gnu --class os {
>        insmod gzio
>        insmod part_msdos
>        insmod ext2
>        set root='(hd0,msdos1)'
>        search --no-floppy --fs-uuid --set=root
> f55864a8-0587-4ba0-9765-082a7395a28b
>        echo    'Loading Linux 2.6.32-5-686 ...'
>        linux   /boot/vmlinuz-2.6.32-5-686
> root=UUID=f55864a8-0587-4ba0-9765-082a7395a28b ro  quiet
>        echo    'Loading initial ramdisk ...'
>        initrd  /boot/initrd.img-2.6.32-5-686
> }
> menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)'
> --class debian --class gnu-linux --class gnu --class os {
>        insmod gzio
>        insmod part_msdos
>        insmod ext2
>        set root='(hd0,msdos1)'
>        search --no-floppy --fs-uuid --set=root
> f55864a8-0587-4ba0-9765-082a7395a28b
>        echo    'Loading Linux 2.6.32-5-686 ...'
>        linux   /boot/vmlinuz-2.6.32-5-686
> root=UUID=f55864a8-0587-4ba0-9765-082a7395a28b ro single
>        echo    'Loading initial ramdisk ...'
>        initrd  /boot/initrd.img-2.6.32-5-686
> }
> ### END /etc/grub.d/10_linux ###
>
> ### BEGIN /etc/grub.d/20_linux_xen ###
> ### END /etc/grub.d/20_linux_xen ###
>
> ### BEGIN /etc/grub.d/30_os-prober ###
> ### END /etc/grub.d/30_os-prober ###
>
> ### BEGIN /etc/grub.d/40_custom ###
> # This file provides an easy way to add custom menu entries.  Simply
> type the
> # menu entries you want to add after this comment.  Be careful not to
> change
> # the 'exec tail' line above.
> ### END /etc/grub.d/40_custom ###
>
> ### BEGIN /etc/grub.d/41_custom ###
> if [ -f  $prefix/custom.cfg ]; then
>  source $prefix/custom.cfg;
> fi
> ### END /etc/grub.d/41_custom ###
> *********************** END /boot/grub/grub.cfg
>
> *********************** BEGIN /proc/mdstat
> cat: /proc/mdstat: No such file or directory
> *********************** END /proc/mdstat
>
> *********************** BEGIN LVM
>
> -- System Information:
> Debian Release: wheezy/sid
>  APT prefers unstable
>  APT policy: (500, 'unstable')
> Architecture: i386 (i686)
>
> Kernel: Linux 3.0.0-1-686-pae (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages grub-pc depends on:
> ii  debconf [debconf-2.0]  1.5.41
> ii  grub-common            1.99-11
> ii  grub-pc-bin            1.99-11
> ii  grub2-common           1.99-11
> ii  ucf                    3.0025+nmu2
>
> grub-pc recommends no packages.
>
> grub-pc suggests no packages.
>
> -- Configuration Files:
> /etc/grub.d/05_debian_theme changed [not included]
>
> -- debconf information:
>  grub-pc/kopt_extracted: false
>  grub2/kfreebsd_cmdline:
>  grub2/device_map_regenerated:
> *
> grub-pc/install_devices: /dev/disk/by-id/ata-VBOX_HARDDISK_VBb2a857d8-3ee144e2
>  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: 
> /dev/disk/by-id/ata-VBOX_HARDDISK_VBb2a857d8-3ee144e2
> * grub2/linux_cmdline_default: quiet
>  grub-pc/chainload_from_menu.lst: true
>  grub-pc/mixed_legacy_and_grub2: true
>
>
>



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to