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