Bug#584552: recent grub update makes insmod gpt fail

Soeren Sonnenburg sonne at debian.org
Fri Jun 4 14:06:49 UTC 2010


Package: grub-pc
Version: 1.98+20100527-2
Severity: grave


update-grub inserts
insmod gpt
basically everywhere in grub.cfg that used to work fine with
1.98+2010xxxxx but the latest upgrade broke gpt support - is the module
now called part_gpt.mod?

-- Package-specific info:

*********************** WARNING grub-setup left core.img in filesystem

*********************** BEGIN /proc/mounts
/dev/root / ext3 rw,noatime,errors=remount-ro,user_xattr,data=writeback 0 0
/dev/mapper/secured /mnt/secured ext3 rw,noatime,errors=continue,user_xattr,data=writeback 0 0
/dev/mapper/secured /etc ext3 rw,noatime,errors=continue,user_xattr,data=writeback 0 0
/dev/mapper/secured /home ext3 rw,noatime,errors=continue,user_xattr,data=writeback 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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
}
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 054756a9-4d8a-450e-8666-373db16167e4
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
fi
if terminal_output gfxterm ; then true ; else
  # For backward compatibility with versions of terminal.mod that don't
  # understand terminal_output
  terminal gfxterm
fi
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 054756a9-4d8a-450e-8666-373db16167e4
set locale_dir=($root)/boot/grub/locale
set lang=
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 054756a9-4d8a-450e-8666-373db16167e4
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
  set color_normal=black/black
  set color_highlight=magenta/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 2.6.35-rc1-sonne' --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,3)'
	search --no-floppy --fs-uuid --set 054756a9-4d8a-450e-8666-373db16167e4
	echo	'Loading Linux 2.6.35-rc1-sonne ...'
	linux	/boot/vmlinuz-2.6.35-rc1-sonne root=/dev/sda3 ro  usbcore.autosuspend=1 init=/sbin/boot quiet
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35-rc1-sonne (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,3)'
	search --no-floppy --fs-uuid --set 054756a9-4d8a-450e-8666-373db16167e4
	echo	'Loading Linux 2.6.35-rc1-sonne ...'
	linux	/boot/vmlinuz-2.6.35-rc1-sonne root=/dev/sda3 ro single 
}
menuentry 'Debian GNU/Linux, with Linux 2.6.34' --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,3)'
	search --no-floppy --fs-uuid --set 054756a9-4d8a-450e-8666-373db16167e4
	echo	'Loading Linux 2.6.34 ...'
	linux	/boot/vmlinuz-2.6.34 root=/dev/sda3 ro  usbcore.autosuspend=1 init=/sbin/boot quiet
}
menuentry 'Debian GNU/Linux, with Linux 2.6.34 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,3)'
	search --no-floppy --fs-uuid --set 054756a9-4d8a-450e-8666-373db16167e4
	echo	'Loading Linux 2.6.34 ...'
	linux	/boot/vmlinuz-2.6.34 root=/dev/sda3 ro single 
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32.13-sonne' --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,3)'
	search --no-floppy --fs-uuid --set 054756a9-4d8a-450e-8666-373db16167e4
	echo	'Loading Linux 2.6.32.13-sonne ...'
	linux	/boot/vmlinuz-2.6.32.13-sonne root=/dev/sda3 ro  usbcore.autosuspend=1 init=/sbin/boot quiet
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32.13-sonne (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,3)'
	search --no-floppy --fs-uuid --set 054756a9-4d8a-450e-8666-373db16167e4
	echo	'Loading Linux 2.6.32.13-sonne ...'
	linux	/boot/vmlinuz-2.6.32.13-sonne root=/dev/sda3 ro single 
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32.11-sonne' --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,3)'
	search --no-floppy --fs-uuid --set 054756a9-4d8a-450e-8666-373db16167e4
	echo	'Loading Linux 2.6.32.11-sonne ...'
	linux	/boot/vmlinuz-2.6.32.11-sonne root=/dev/sda3 ro  usbcore.autosuspend=1 init=/sbin/boot quiet
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32.11-sonne (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,3)'
	search --no-floppy --fs-uuid --set 054756a9-4d8a-450e-8666-373db16167e4
	echo	'Loading Linux 2.6.32.11-sonne ...'
	linux	/boot/vmlinuz-2.6.32.11-sonne root=/dev/sda3 ro single 
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Mac OS X (32-bit) (on /dev/sda2)" {
	insmod hfsplus
	set root='(hd0,2)'
	search --no-floppy --fs-uuid --set 6e414e9ab7508db8
        insmod vbe
        set do_resume=0
        if [ /var/vm/sleepimage -nt10 / ]; then
           if xnu_resume /var/vm/sleepimage; then
             set do_resume=1
           fi
        fi
        if [ $do_resume == 0 ]; then
           xnu_uuid 6e414e9ab7508db8 uuid
           if [ -f /Extra/DSDT.aml ]; then
              acpi -e /Extra/DSDT.aml
           fi
           xnu_kernel /mach_kernel boot-uuid=${uuid} rd=*uuid
           if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
              xnu_mkext /System/Library/Extensions.mkext
           else
              xnu_kextdir /System/Library/Extensions
           fi
           if [ -f /Extra/Extensions.mkext ]; then
              xnu_mkext /Extra/Extensions.mkext
           fi
           if [ -d /Extra/Extensions ]; then
              xnu_kextdir /Extra/Extensions
           fi
           if [ -f /Extra/devprop.bin ]; then
              xnu_devprop_load /Extra/devprop.bin
           fi
           if [ -f /Extra/splash.jpg ]; then
              insmod jpeg
              xnu_splash /Extra/splash.jpg
           fi
           if [ -f /Extra/splash.png ]; then
              insmod png
              xnu_splash /Extra/splash.png
           fi
           if [ -f /Extra/splash.tga ]; then
              insmod tga
              xnu_splash /Extra/splash.tga
           fi
        fi
}
menuentry "Mac OS X (64-bit) (on /dev/sda2)" {
	insmod hfsplus
	set root='(hd0,2)'
	search --no-floppy --fs-uuid --set 6e414e9ab7508db8
        insmod vbe
        set do_resume=0
        if [ /var/vm/sleepimage -nt10 / ]; then
           if xnu_resume /var/vm/sleepimage; then
             set do_resume=1
           fi
        fi
        if [ $do_resume == 0 ]; then
           xnu_uuid 6e414e9ab7508db8 uuid
           if [ -f /Extra/DSDT.aml ]; then
              acpi -e /Extra/DSDT.aml
           fi
           xnu_kernel64 /mach_kernel boot-uuid=${uuid} rd=*uuid
           if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
              xnu_mkext /System/Library/Extensions.mkext
           else
              xnu_kextdir /System/Library/Extensions
           fi
           if [ -f /Extra/Extensions.mkext ]; then
              xnu_mkext /Extra/Extensions.mkext
           fi
           if [ -d /Extra/Extensions ]; then
              xnu_kextdir /Extra/Extensions
           fi
           if [ -f /Extra/devprop.bin ]; then
              xnu_devprop_load /Extra/devprop.bin
           fi
           if [ -f /Extra/splash.jpg ]; then
              insmod jpeg
              xnu_splash /Extra/splash.jpg
           fi
           if [ -f /Extra/splash.png ]; then
              insmod png
              xnu_splash /Extra/splash.png
           fi
           if [ -f /Extra/splash.tga ]; then
              insmod tga
              xnu_splash /Extra/splash.tga
           fi
        fi
}
menuentry "Microsoft Windows XP Professional (on /dev/sda4)" {
	insmod ntfs
	set root='(hd0,4)'
	search --no-floppy --fs-uuid --set 40c4c840c4c83a44
	drivemap -s (hd0) ${root}
	chainloader +1
}
### 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 ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.13-sonne (SMP w/1 CPU core; PREEMPT)
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.32          Debian configuration management sy
ii  grub-common              1.98+20100527-2 GRand Unified Bootloader, version 
ii  libc6                    2.11.1-2        Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1       2:1.02.47-1     The Linux Kernel Device Mapper use
ii  ucf                      3.0025          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.5      common files for the Debian Deskto

-- Configuration Files:
/etc/default/grub changed:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="usbcore.autosuspend=1 init=/sbin/boot quiet"
GRUB_CMDLINE_LINUX=""


-- debconf information:
  grub2/kfreebsd_cmdline:
  grub-pc/linux_cmdline: fillme
* grub2/linux_cmdline:
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: usbcore.autosuspend=1 init=/sbin/boot quiet
* grub-pc/install_devices:





More information about the Pkg-grub-devel mailing list