grub-probe fails to find grub device for uuid (raid)

Bug #700147 reported by Philip Muškovac on 2011-01-07
40
This bug affects 5 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: grub2

Todays updates got me:
Setting up grub-pc (1.99~20110106-1ubuntu1) ...
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/disk/by-uuid/9c833d6f-4685-4a19-ad27-fa60a77a4054. Check your device.map.
Auto-detection of a filesystem of /dev/disk/by-uuid/9c833d6f-4685-4a19-ad27-fa60a77a4054 failed.
Please report this together with the output of "/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to <email address hidden>
Generating grub.cfg ...
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/disk/by-uuid/9c833d6f-4685-4a19-ad27-fa60a77a4054. Check your device.map.
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 grub-pc

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: grub-pc 1.99~20110106-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic 2.6.37
Uname: Linux 2.6.37-12-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Fri Jan 7 23:40:58 2011
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 LANGUAGE=en_US.UTF-8
SourcePackage: grub2

Related branches

Philip Muškovac (yofel) wrote :
Philip Muškovac (yofel) wrote :

as for the devices, my boot device is dm-0 where it's supposed to install grub to
6667 0 lrwxrwxrwx 1 root root 7 2011-01-07 23:31 /dev/mapper/sil_bhabadcbbbfh -> ../dm-0
7424 0 lrwxrwxrwx 1 root root 7 2011-01-07 23:31 /dev/mapper/sil_bhabadcbbbfhp1 -> ../dm-2

7433 0 lrwxrwxrwx 1 root root 10 2011-01-07 23:31 /dev/disk/by-uuid/9c833d6f-4685-4a19-ad27-fa60a77a4054 -> ../../dm-2

Philip Muškovac (yofel) wrote :

Reverting to grub-pc_1.99~20110104-2ubuntu1 resolves this

tags: added: regression-release
Ramon Casellas (ramon-casellas) wrote :

I can confirm/reproduce this bug
Somehow I managed to miss this bug so the one I reported [1] seems to be a duplicate.
In my case I reverted to 1.98 as in debian sid, but I got the same problem with an intel soft-raid in an sony vaio with SSD disks

[1] https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/700431

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub2 - 1.99~20110112-1ubuntu1

---------------
grub2 (1.99~20110112-1ubuntu1) natty; urgency=low

  * Resynchronise with Debian. Remaining changes:
    - Adjust for default Ubuntu boot options ("quiet splash").
    - Default to hiding the menu; holding down Shift at boot will show it.
    - Set a monochromatic theme and an aubergine background for Ubuntu.
    - Apply Ubuntu GRUB Legacy changes to legacy update-grub script: title,
      recovery mode, quiet option, tweak how memtest86+ is displayed, and
      use UUIDs where appropriate.
    - Fix backslash-escaping in merge_debconf_into_conf.
    - Remove "GNU/Linux" from default distributor string.
    - Add crashkernel option.
    - Bypass menu unless other OSes are installed or Shift is pressed.
    - Allow Shift to interrupt 'sleep --interruptible'.
    - Reduce visual clutter in normal mode.
    - Remove verbose messages printed before reading configuration.
    - Suppress kernel/initrd progress messages, except in recovery mode.
    - Handle filesystems loop-mounted on file images.
    - Ignore devices loop-mounted from files in Linux grub.d scripts.
    - Show the boot menu if the previous boot failed.
    - Don't generate device.map during grub-install or grub-mkconfig.
    - Adjust upgrade version checks for Ubuntu.
    - Suppress "GRUB loading" message unless Shift is held down.
    - Adjust versions of grub-doc and grub-legacy-doc conflicts.
    - Fix LVM/RAID probing in the absence of /boot/grub/device.map.
    - Look for .mo files in /usr/share/locale-langpack first.
    - Make sure GRUB_TIMEOUT isn't quoted unnecessarily.
    - Build-depend on qemu-kvm rather than qemu-system for grub-pc tests.
    - Use qemu rather than qemu-system-i386.
    - Add a grub-rescue-efi-amd64 package.
    - On Wubi, don't ask for an install device, but just update wubildr
      using the diverted grub-install.
    - Enable lua from grub-extras.
    - Incorporate the bitop library into lua.
    - Add enum_pci function to grub module in lua.
    - Check hardware support before using gfxpayload=keep.
    - Build part_msdos and vfat into EFI boot images.
    - Put second and subsequent Linux menu entries in a submenu.
    - Preferred resolution detection for VBE.
    - Set vt.handoff=7 for smooth handoff to kernel graphical mode.

grub2 (1.99~20110112-1) experimental; urgency=low

  * New Bazaar snapshot.
    - Disable ieee1275_fb on sparc (closes: #560823).
    - Fix pf2 font generation on big-endian platforms (closes: #609818).
  * branch_butter.patch: Resolve the device returned by
    grub_find_root_device_from_mountinfo or find_root_device_from_libzfs
    using grub_find_device (closes: #609590, #609814, LP: #700147).
 -- Colin Watson <email address hidden> Thu, 13 Jan 2011 08:58:59 -0600

Changed in grub2 (Ubuntu):
status: New → Fix Released
tekstr1der (tekstr1der) wrote :

Still seeing this issue with 1.99~20110112-1ubuntu1:

$ sudo grub-install --force /dev/sdb1
/usr/sbin/grub-probe: error: cannot stat `aufs'.

$ cat /proc/self/mountinfo
14 22 0:14 / /sys rw,nosuid,nodev,noexec,relatime - sysfs none rw
15 22 0:3 / /proc rw,nosuid,nodev,noexec,relatime - proc none rw
16 22 0:5 / /dev rw,relatime - devtmpfs none rw,size=1917364k,nr_inodes=479341,mode=755
17 16 0:11 / /dev/pts rw,nosuid,noexec,relatime - devpts none rw,gid=5,mode=620,ptmxmode=000
18 14 0:15 / /sys/fs/fuse/connections rw,relatime - fusectl fusectl rw
19 22 8:17 / /cdrom rw,relatime - vfat /dev/sdb1 rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
20 22 7:0 / /rofs ro,noatime - squashfs /dev/loop0 ro
22 1 0:16 / / rw,noatime - aufs aufs rw,si=a4deb630c6c33ec0
23 14 0:7 / /sys/kernel/debug rw,relatime - debugfs none rw
24 14 0:10 / /sys/kernel/security rw,relatime - securityfs none rw
25 16 0:17 / /dev/shm rw,nosuid,nodev,relatime - tmpfs none rw
26 22 0:18 / /tmp rw,nosuid,nodev,relatime - tmpfs tmpfs rw
27 22 0:19 / /var/run rw,nosuid,relatime - tmpfs none rw,mode=755
28 22 0:20 / /var/lock rw,nosuid,nodev,noexec,relatime - tmpfs none rw
29 15 0:21 / /proc/sys/fs/binfmt_misc rw,nosuid,nodev,noexec,relatime - binfmt_misc binfmt_misc rw
31 22 0:22 / /home/ubuntu/.gvfs rw,nosuid,nodev,relatime - fuse.gvfs-fuse-daemon gvfs-fuse-daemon rw,user_id=999,group_id=999

Also seeing it on todays daily live i386

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers