Bug#669946: grub2/grub-pc upgrade fails with grub-probe complaining /dev not mounted (even if it is)
Aurélien Roux
orl at ammd.net
Sun Apr 22 08:28:23 UTC 2012
Package: grub2
Version: 1.99-21
Severity: important
Dear Maintainer,
During upgrade (in SID), grub-pc, grub2 and any new kernel just won't be properly installed because of grub-probe complaining of /dev not being mounted.
This bug already occurred in previous versions of grub2, from what I've read, but as the fix was to upgrade grub2, I cannot use it by now, being at the latest one!
Please note this dist-upgrade was quite big, because of several times spent everywhere but on this machine, and I might have done a versions jump.
Thanks a lot.
Aurélien
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/54936e14-a93a-4b48-91ed-ff45f5a326fe / ext4 rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sdb16 /boot ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/md0 /home ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sdb13 /tmp ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sdb10 /usr ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sdb15 /usr/src ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sdb17 /usr/local ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sdb12 /var ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sdb1 /mnt/windows fuseblk ro,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
/dev/sda1 /mnt/transfert vfat rw,nosuid,nodev,noexec,relatime,uid=1000,gid=1001,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
/dev/md1 /home/commun ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-Maxtor_6Y120P0_Y3NJTTGE
(hd1) /dev/disk/by-id/ata-HDS728080PLA380_PFDB32S7RM0PSM
(hd2) /dev/disk/by-id/ata-ST3500418AS_5VMHN0KW
(hd3) /dev/disk/by-id/ata-ST3500418AS_5VMHZE7V
*********************** 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 part_msdos
insmod ext2
set root='(hd1,msdos10)'
search --no-floppy --fs-uuid --set=root 4cc4f1e8-2179-4e4f-8a85-a2d704919690
if loadfont /share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
set locale_dir=($root)/grub/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd1,msdos10)'
search --no-floppy --fs-uuid --set=root 4cc4f1e8-2179-4e4f-8a85-a2d704919690
insmod png
if background_image /share/images/desktop-base/spacefun-grub.png; then
set color_normal=light-gray/black
set color_highlight=white/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, avec Linux 3.2.0-2-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 3.2.0-2-amd64 ...'
linux /vmlinuz-3.2.0-2-amd64 root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro quiet
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-3.2.0-2-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 3.2.0-2-amd64 (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 3.2.0-2-amd64 ...'
linux /vmlinuz-3.2.0-2-amd64 root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro single
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-3.2.0-2-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 3.1.0-1-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 3.1.0-1-amd64 ...'
linux /vmlinuz-3.1.0-1-amd64 root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro quiet
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-3.1.0-1-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 3.1.0-1-amd64 (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 3.1.0-1-amd64 ...'
linux /vmlinuz-3.1.0-1-amd64 root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro single
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-3.1.0-1-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.38-2-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.38-2-amd64 ...'
linux /vmlinuz-2.6.38-2-amd64 root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro quiet
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-2.6.38-2-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.38-2-amd64 (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.38-2-amd64 ...'
linux /vmlinuz-2.6.38-2-amd64 root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro single
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-2.6.38-2-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.37-2-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.37-2-amd64 ...'
linux /vmlinuz-2.6.37-2-amd64 root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro quiet
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-2.6.37-2-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.37-2-amd64 (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.37-2-amd64 ...'
linux /vmlinuz-2.6.37-2-amd64 root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro single
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-2.6.37-2-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.32-3-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.32-3-amd64 ...'
linux /vmlinuz-2.6.32-3-amd64 root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro quiet
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-2.6.32-3-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.32-3-amd64 (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.32-3-amd64 ...'
linux /vmlinuz-2.6.32-3-amd64 root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro single
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-2.6.32-3-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.32-orldc' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.32-orldc ...'
linux /vmlinuz-2.6.32-orldc root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro quiet
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-2.6.32-orldc
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.32-orldc (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.32-orldc ...'
linux /vmlinuz-2.6.32-orldc root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro single
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-2.6.32-orldc
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.31.12-rt20-orldc' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.31.12-rt20-orldc ...'
linux /vmlinuz-2.6.31.12-rt20-orldc root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro quiet
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-2.6.31.12-rt20-orldc
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.31.12-rt20-orldc (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.31.12-rt20-orldc ...'
linux /vmlinuz-2.6.31.12-rt20-orldc root=UUID=54936e14-a93a-4b48-91ed-ff45f5a326fe ro single
echo 'Chargement du disque mémoire initial ...'
initrd /initrd.img-2.6.31.12-rt20-orldc
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.29.1-rt8-orldc-bluez' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.29.1-rt8-orldc-bluez ...'
linux /vmlinuz-2.6.29.1-rt8-orldc-bluez root=/dev/sdb14 ro quiet
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.29.1-rt8-orldc-bluez (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.29.1-rt8-orldc-bluez ...'
linux /vmlinuz-2.6.29.1-rt8-orldc-bluez root=/dev/sdb14 ro single
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.29.1-rt8-orldc' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.29.1-rt8-orldc ...'
linux /vmlinuz-2.6.29.1-rt8-orldc root=/dev/sdb14 ro quiet
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.29.1-rt8-orldc (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.29.1-rt8-orldc ...'
linux /vmlinuz-2.6.29.1-rt8-orldc root=/dev/sdb14 ro single
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.29.1-orldc' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.29.1-orldc ...'
linux /vmlinuz-2.6.29.1-orldc root=/dev/sdb14 ro quiet
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.29.1-orldc (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos16)'
search --no-floppy --fs-uuid --set=root ae59bc66-89c4-4448-ba79-40f6a384dc27
echo 'Chargement de Linux 2.6.29.1-orldc ...'
linux /vmlinuz-2.6.29.1-orldc root=/dev/sdb14 ro single
}
### 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 "Microsoft Windows XP Professionnel (on /dev/sdb1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 826C10D96C10CA35
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 ###
### 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
*********************** BEGIN /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdc1[0] sdd1[1]
102398904 blocks super 1.2 [2/2] [UU]
md1 : active raid1 sdc2[0] sdd2[1]
385984376 blocks super 1.2 [2/2] [UU]
unused devices: <none>
*********************** END /proc/mdstat
*********************** BEGIN LVM
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub2 depends on:
ih grub-common 1.99-21
ih grub-pc 1.99-21
grub2 recommends no packages.
grub2 suggests no packages.
-- no debconf information
More information about the Pkg-grub-devel
mailing list