Bug#814465: grub-pc: grub fails to boot "partition not recognized" on upgrade to 2.02~beta2-36

Joe Public webmaster at thelotterystation.com
Thu Feb 11 21:53:28 UTC 2016


Package: grub-pc
Version: 2.02~beta2-36
Severity: important

Dear Maintainer,

Upgrading to grub 2.02~beta2-36 seemed successful, "Installation finished. No
error reported." followed by a listing of the kernels installed and then
"done".

But on reboot, instead of the usual grub menu, there was only a message
"Partition not recognized" and the grub-rescue prompt.  Grub-rescue commands
like "insmod normal" failed with "Partition not recognized."

Booting the system from rescue CD and downgrading grub to 2.02~beta2-22+deb8u1
worked perfectly on reboot, so the problem may have been something in the new
version.

For what it's worth this is debian testing on a thinkpad edge with a Hitachi
Travelstar Z7K320 320GB (2.5") hard drive partitioned into an ext4 and a swap
partition.

Peace,

Joe Public



-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda1 / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sdc1 /media/joe/E4D0-414A vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0
/dev/sdb1 /media/joe/My\040Passport fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
*********************** END /proc/mounts

*********************** 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
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

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 {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  55594683-61f6-4b57-99da-c1d418455040
else
  search --no-floppy --fs-uuid --set=root 55594683-61f6-4b57-99da-c1d418455040
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  55594683-61f6-4b57-99da-c1d418455040
else
  search --no-floppy --fs-uuid --set=root 55594683-61f6-4b57-99da-c1d418455040
fi
insmod png
if background_image /usr/share/images/desktop-base/lines-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
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 ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-55594683-61f6-4b57-99da-c1d418455040' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  55594683-61f6-4b57-99da-c1d418455040
	else
	  search --no-floppy --fs-uuid --set=root 55594683-61f6-4b57-99da-c1d418455040
	fi
	echo	'Loading Linux 4.4.1-xanmod4 ...'
	linux	/boot/vmlinuz-4.4.1-xanmod4 root=UUID=55594683-61f6-4b57-99da-c1d418455040 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-4.4.1-xanmod4
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-55594683-61f6-4b57-99da-c1d418455040' {
	menuentry 'Debian GNU/Linux, with Linux 4.4.1-xanmod4' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.1-xanmod4-advanced-55594683-61f6-4b57-99da-c1d418455040' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  55594683-61f6-4b57-99da-c1d418455040
		else
		  search --no-floppy --fs-uuid --set=root 55594683-61f6-4b57-99da-c1d418455040
		fi
		echo	'Loading Linux 4.4.1-xanmod4 ...'
		linux	/boot/vmlinuz-4.4.1-xanmod4 root=UUID=55594683-61f6-4b57-99da-c1d418455040 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.1-xanmod4
	}
	menuentry 'Debian GNU/Linux, with Linux 4.4.1-xanmod4 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.1-xanmod4-recovery-55594683-61f6-4b57-99da-c1d418455040' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  55594683-61f6-4b57-99da-c1d418455040
		else
		  search --no-floppy --fs-uuid --set=root 55594683-61f6-4b57-99da-c1d418455040
		fi
		echo	'Loading Linux 4.4.1-xanmod4 ...'
		linux	/boot/vmlinuz-4.4.1-xanmod4 root=UUID=55594683-61f6-4b57-99da-c1d418455040 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.1-xanmod4
	}
	menuentry 'Debian GNU/Linux, with Linux 4.4-1.dmz.1-liquorix-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4-1.dmz.1-liquorix-amd64-advanced-55594683-61f6-4b57-99da-c1d418455040' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  55594683-61f6-4b57-99da-c1d418455040
		else
		  search --no-floppy --fs-uuid --set=root 55594683-61f6-4b57-99da-c1d418455040
		fi
		echo	'Loading Linux 4.4-1.dmz.1-liquorix-amd64 ...'
		linux	/boot/vmlinuz-4.4-1.dmz.1-liquorix-amd64 root=UUID=55594683-61f6-4b57-99da-c1d418455040 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4-1.dmz.1-liquorix-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.4-1.dmz.1-liquorix-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4-1.dmz.1-liquorix-amd64-recovery-55594683-61f6-4b57-99da-c1d418455040' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  55594683-61f6-4b57-99da-c1d418455040
		else
		  search --no-floppy --fs-uuid --set=root 55594683-61f6-4b57-99da-c1d418455040
		fi
		echo	'Loading Linux 4.4-1.dmz.1-liquorix-amd64 ...'
		linux	/boot/vmlinuz-4.4-1.dmz.1-liquorix-amd64 root=UUID=55594683-61f6-4b57-99da-c1d418455040 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4-1.dmz.1-liquorix-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.3.0-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.3.0-1-amd64-advanced-55594683-61f6-4b57-99da-c1d418455040' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  55594683-61f6-4b57-99da-c1d418455040
		else
		  search --no-floppy --fs-uuid --set=root 55594683-61f6-4b57-99da-c1d418455040
		fi
		echo	'Loading Linux 4.3.0-1-amd64 ...'
		linux	/boot/vmlinuz-4.3.0-1-amd64 root=UUID=55594683-61f6-4b57-99da-c1d418455040 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.3.0-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.3.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.3.0-1-amd64-recovery-55594683-61f6-4b57-99da-c1d418455040' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  55594683-61f6-4b57-99da-c1d418455040
		else
		  search --no-floppy --fs-uuid --set=root 55594683-61f6-4b57-99da-c1d418455040
		fi
		echo	'Loading Linux 4.3.0-1-amd64 ...'
		linux	/boot/vmlinuz-4.3.0-1-amd64 root=UUID=55594683-61f6-4b57-99da-c1d418455040 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.3.0-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-advanced-55594683-61f6-4b57-99da-c1d418455040' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  55594683-61f6-4b57-99da-c1d418455040
		else
		  search --no-floppy --fs-uuid --set=root 55594683-61f6-4b57-99da-c1d418455040
		fi
		echo	'Loading Linux 3.16.0-4-amd64 ...'
		linux	/boot/vmlinuz-3.16.0-4-amd64 root=UUID=55594683-61f6-4b57-99da-c1d418455040 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-4-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-recovery-55594683-61f6-4b57-99da-c1d418455040' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  55594683-61f6-4b57-99da-c1d418455040
		else
		  search --no-floppy --fs-uuid --set=root 55594683-61f6-4b57-99da-c1d418455040
		fi
		echo	'Loading Linux 3.16.0-4-amd64 ...'
		linux	/boot/vmlinuz-3.16.0-4-amd64 root=UUID=55594683-61f6-4b57-99da-c1d418455040 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-4-amd64
	}
}

### 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 ###
menuentry 'MS-DOS 5.x/6.x/Win3.1 (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-73D568CC674EFF66' {
	insmod part_msdos
	insmod ntfs
	set root='hd1,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  73D568CC674EFF66
	else
	  search --no-floppy --fs-uuid --set=root 73D568CC674EFF66
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -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 /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Feb 11 14:00 ata-HITACHI_HTS723232A7A364_E3834563K03HMN -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 11 14:00 ata-HITACHI_HTS723232A7A364_E3834563K03HMN-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 11 14:00 ata-HITACHI_HTS723232A7A364_E3834563K03HMN-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Feb 11 13:45 ata-MATSHITADVD-RAM_UJ8A0AS_YK75_157111 -> ../../sr0
lrwxrwxrwx 1 root root  9 Feb 11 13:45 usb-SanDisk_Cruzer_20060775110C80B1892B-0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 Feb 11 13:45 usb-SanDisk_Cruzer_20060775110C80B1892B-0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root  9 Feb 11 13:45 usb-WD_My_Passport_0820_575853314543344E5A57434B-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb 11 13:45 usb-WD_My_Passport_0820_575853314543344E5A57434B-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Feb 11 14:00 wwn-0x5000cca61dea53aa -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 11 14:00 wwn-0x5000cca61dea53aa-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 11 14:00 wwn-0x5000cca61dea53aa-part2 -> ../../sda2
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Feb 11 14:00 55594683-61f6-4b57-99da-c1d418455040 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 11 13:45 73D568CC674EFF66 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Feb 11 13:45 E4D0-414A -> ../../sdc1
lrwxrwxrwx 1 root root 10 Feb 11 14:00 aa73e13d-b1be-4cd3-96c3-a9002f038b4b -> ../../sda2
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.58
ii  dpkg                   1.18.4
ii  grub-common            2.02~beta2-36
ii  grub-pc-bin            2.02~beta2-36
ii  grub2-common           2.02~beta2-36
ii  ucf                    3.0033

grub-pc recommends no packages.

grub-pc suggests no packages.

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



More information about the Pkg-grub-devel mailing list