Bug#708123: [grub-pc] grub2 (2.00-14) fails to install on RAID arrays (rescue, boot is broken)

Gleb Golubitsky sectoid at gnolltech.org
Mon May 13 11:25:09 UTC 2013


Package: grub-pc
Version: 2.00-14
Severity: critical

--- Please enter the report below this line. ---

I have my system 
installed on RAID 1 (fakeraid). After upgrading  1.99-27.1 -> 2.00-14 it was 
impossible to boot system. 

Workaround for those who met this: boot from livecd, chroot, downgrade grub to 
1.99-27.1 (from Wheezy repo), manually grub-install & update-grub2.

---- Attempt to install grub 2.00-14 manually ---
root at dagon:~# grub-install 
/dev/mapper/isw_hbghdbjgf_SYSTEM
Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. 
Aborting.

--- Attempt to update-grub2 ---
root at dagon:~# update-grub2
Generating grub.cfg ...
/usr/sbin/grub-probe: error: unknown filesystem.
Found background image: .background_cache.png
Found linux image: /boot/vmlinuz-3.8-1-686-pae
Found initrd image: /boot/initrd.img-3.8-1-686-pae
/usr/sbin/grub-probe: error: unknown filesystem.
/usr/sbin/grub-probe: error: unknown filesystem.
/usr/sbin/grub-probe: error: unknown filesystem.
Found linux image: /boot/vmlinuz-3.2.0-4-686-pae
Found initrd image: /boot/initrd.img-3.2.0-4-686-pae
/usr/sbin/grub-probe: error: unknown filesystem.
/usr/sbin/grub-probe: error: unknown filesystem.
/usr/sbin/grub-probe: error: unknown filesystem.
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
File descriptor 8 (pipe:[340000]) leaked on lvs invocation. Parent PID 29937: 
/bin/sh
  No volume groups found
grub-probe: error: unknown filesystem.
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
Found Debian GNU/Linux (jessie/sid) on /dev/mapper/isw_hbghdbjgf_SYSTEM5
done

--- System information. ---
Architecture: i386
Kernel:       Linux 3.8-1-686-pae

Debian Release: jessie/sid
  500 unstable        packages.gnolltech.org 
  500 unstable        debian.gnolltech.org 
  500 stable          debian.gnolltech.org 
  500 stable          deb.opera.com 
  500 squeeze         deb.playonlinux.com 
  100 squeeze-backports backports.debian.org 
    1 experimental    debian.gnolltech.org 

--- Package information. ---
Depends            (Version) | Installed
============================-+-============
debconf            (>= 0.5)  | 1.5.50
 OR debconf-2.0              | 
grub-common                  | 2.00-14
grub2-common     (= 2.00-14) | 2.00-14
grub-pc-bin      (= 2.00-14) | 2.00-14
ucf                          | 3.0025+nmu3


Package's Recommends field is empty.

Package's Suggests field is empty.


--- Output from package bug script ---

*********************** BEGIN /proc/mounts
/dev/dm-3 / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/mapper/isw_hbghdbjgf_SYSTEM1 /boot ext2 rw,relatime,errors=continue 0 0
/dev/mapper/isw_hbghdbjgf_SYSTEM6 /home ext4 rw,relatime,data=ordered 0 0
/dev/mapper/isw_hbghdbjgf_SYSTEM6 /var/lib/mysql ext4 rw,relatime,data=ordered 
0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-ST31500341AS_9VS3ZFD8
(hd1)	/dev/disk/by-id/ata-ST31500341AS_9VS3ZVDE
(hd2)	/dev/mapper/isw_hbghdbjgf_SYSTEM
*********************** 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 /grubenv ]; then
  load_env
fi
set default="0"

if [ x"" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "" ]; then
  set saved_entry=""
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "" ]; then
    saved_entry=""
    save_env saved_entry
  fi
}

function load_video {
  if [ x = 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 loadfont unicode ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=/locale
  set lang=ru_UA
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set root='hd2'
insmod png
if background_image /grub/.background_cache.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 ###
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --
class os  'gnulinux-simple-/dev/mapper/isw_hbghdbjgf_SYSTEM5' {
	load_video
	insmod gzio

	echo	'Loading Linux 3.8-1-686-pae ...'
	linux	/vmlinuz-3.8-1-686-pae root=/dev/mapper/isw_hbghdbjgf_SYSTEM5 ro  
quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-3.8-1-686-pae
}
submenu 'Advanced options for Debian GNU/Linux'  'gnulinux-
advanced-/dev/mapper/isw_hbghdbjgf_SYSTEM5' {
	menuentry 'Debian GNU/Linux, with Linux 3.8-1-686-pae' --class debian --
class gnu-linux --class gnu --class os  'gnulinux-3.8-1-686-pae-
advanced-/dev/mapper/isw_hbghdbjgf_SYSTEM5' {
		load_video
		insmod gzio
	
		echo	'Loading Linux 3.8-1-686-pae ...'
		linux	/vmlinuz-3.8-1-686-pae root=/dev/mapper/isw_hbghdbjgf_SYSTEM5 
ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.8-1-686-pae
	}
	menuentry 'Debian GNU/Linux, with Linux 3.8-1-686-pae (recovery mode)' --
class debian --class gnu-linux --class gnu --class os  'gnulinux-3.8-1-686-
pae-recovery-/dev/mapper/isw_hbghdbjgf_SYSTEM5' {
		load_video
		insmod gzio
	
		echo	'Loading Linux 3.8-1-686-pae ...'
		linux	/vmlinuz-3.8-1-686-pae root=/dev/mapper/isw_hbghdbjgf_SYSTEM5 
ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.8-1-686-pae
	}
	menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-686-pae' --class debian 
--class gnu-linux --class gnu --class os  'gnulinux-3.2.0-4-686-pae-
advanced-/dev/mapper/isw_hbghdbjgf_SYSTEM5' {
		load_video
		insmod gzio
	
		echo	'Loading Linux 3.2.0-4-686-pae ...'
		linux	/vmlinuz-3.2.0-4-686-pae root=/dev/mapper/isw_hbghdbjgf_SYSTEM5 
ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.2.0-4-686-pae
	}
	menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-686-pae (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os  
'gnulinux-3.2.0-4-686-pae-recovery-/dev/mapper/isw_hbghdbjgf_SYSTEM5' {
		load_video
		insmod gzio
	
		echo	'Loading Linux 3.2.0-4-686-pae ...'
		linux	/vmlinuz-3.2.0-4-686-pae root=/dev/mapper/isw_hbghdbjgf_SYSTEM5 
ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.2.0-4-686-pae
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {

	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {

	linux16	/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {

	multiboot	/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental 
multiboot)" {

	multiboot	/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###

### 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  /custom.cfg ]; then
  source /custom.cfg
elif [ -z "" -a -f  /custom.cfg ]; then
  source /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
-- 
WBR,
Gleb Golubitsky
Gnolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20130513/ba9df8d5/attachment-0001.pgp>


More information about the Pkg-grub-devel mailing list