Bug#624232: grub-pc 1.99~rc1-13 fails to install, problem with /boot on raid1 suspected.

tv.debian at googlemail.com tv.debian at googlemail.com
Tue Apr 26 18:36:52 UTC 2011


Package: grub-pc
Version: 1.99~rc1-13
Severity: important

*** Please type your report below this line ***

Hi, upon upgrade on a Wheezy/sid system grup-pc fails to install, postinst
script fails to run due to an "unknown file-system" error. The system is
left in an unbootable state. Only chroot from another system and then
Downgrading to 1.98+20100804-14 solve the problem.

Manually running "install-grub" gives error about device not existing
and unknown file-system.
"grub-mkdevicemap" completes without error.
"grub-probe" invariably fails with messages about /dev not being mounted
and device not existing, no matter what path is used for the target(s)
disk(s).
Checks show /dev mounted just fine.

System is raid1, /boot on separate raid1 with ext4, rest of the system
is luks on raid1.

Tried latest two grub-pc and grub-common packages from 1.99 serie (from
snapshot.debian.org) and they all failed to install properly, only
latest 1.98  works.

Thank you for your attention.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/cryptroot / ext4 rw,relatime,errors=remount
ro,barrier=1,data=ordered 0 0
/dev/md4 /boot ext4 rw,relatime,errors=remount
ro,barrier=1,data=ordered 0 0
/dev/mapper/_dev_md3 /home ext4 rw,relatime,barrier=1,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90Z323493
(hd1)	/dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ9CZB09883
(hd2)	/dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ90Z323486
(hd3)	/dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJ9CZB09877
(hd4)	/dev/disk/by-id/ata-WDC_WD5001AALS-00L3B2_WD-WCASY4118453
*********************** 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 raid
insmod mdraid
insmod part_msdos
insmod ext2
set root='(md/126)'
search --no-floppy --fs-uuid --set 6e23b1fc-1039-48ed-91aa-be7b50d037fb
if loadfont /grub/unicode.pf2 ; then
  set gfxmode=1920x1080 1440x900 1280x720 1024x768 640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod raid
insmod mdraid
insmod part_msdos
insmod ext2
set root='(md/126)'
search --no-floppy --fs-uuid --set 6e23b1fc-1039-48ed-91aa-be7b50d037fb
insmod tga
background_image -m stretch /grub/vladstudio_leaf.tga
insmod raid
insmod mdraid
insmod part_msdos
insmod ext2
set root='(md/126)'
search --no-floppy --fs-uuid --set 6e23b1fc-1039-48ed-91aa-be7b50d037fb
set locale_dir=($root)/grub/locale
set lang=fr
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod raid
insmod mdraid
insmod part_msdos
insmod ext2
set root='(md/126)'
search --no-floppy --fs-uuid --set 6e23b1fc-1039-48ed-91aa-be7b50d037fb
insmod tga
if background_image /grub/vladstudio_leaf.tga; then
  true
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, avec Linux 2.6.38.4-deb64' --class debian
--class gnu-linux --class gnu --class os {
	insmod raid
	insmod mdraid
	insmod part_msdos
	insmod ext2
	set root='(md/126)'
	search --no-floppy --fs-uuid --set 6e23b1fc-1039-48ed-91aa-be7b50d037fb
	echo	'Chargement de Linux 2.6.38.4-deb64 ...'
	linux	/vmlinuz-2.6.38.4-deb64 root=/dev/mapper/cryptroot ro  quiet
	echo	'Chargement du disque mémoire initial ...'
	initrd	/initrd.img-2.6.38.4-deb64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.38-2-amd64' --class debian
--class gnu-linux --class gnu --class os {
	insmod raid
	insmod mdraid
	insmod part_msdos
	insmod ext2
	set root='(md/126)'
	search --no-floppy --fs-uuid --set 6e23b1fc-1039-48ed-91aa-be7b50d037fb
	echo	'Chargement de Linux 2.6.38-2-amd64 ...'
	linux	/vmlinuz-2.6.38-2-amd64 root=/dev/mapper/cryptroot ro  quiet
	echo	'Chargement du disque mémoire initial ...'
	initrd	/initrd.img-2.6.38-2-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 ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
### 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

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500,
'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.4-deb64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.38           Debian configuration
management sy
ii  grub-common             1.98+20100804-14 GRand Unified Bootloader,
version
ii  libc6                   2.11.2-11        Embedded GNU C Library:
Shared lib
ii  libdevmapper1.02.1      2:1.02.63-3      The Linux Kernel Device
Mapper use
ii  ucf                     3.0025+nmu2      Update Configuration File:
preserv

grub-pc recommends no packages.

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

-- debconf information excluded


Additional info:

#####################################################
cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sda3[0] sdc3[1]
      4194292 blocks super 1.2 [2/2] [UU]

md4 : active raid1 sda1[0] sdc1[1]
      1051190 blocks super 1.2 [2/2] [UU]

md3 : active raid1 sdb1[0] sdd1[1]
      488383936 blocks [2/2] [UU]

md0 : active raid1 sda4[0] sdc4[1]
      46547241 blocks super 1.2 [2/2] [UU]
#####################################################

Attached: "fdisk -l", "parted -l" and verbose "grub-probe".

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fdisk.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110426/4a21ec28/attachment-0003.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: grub-probe_fail.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110426/4a21ec28/attachment-0004.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: parted.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110426/4a21ec28/attachment-0005.txt>


More information about the Pkg-grub-devel mailing list