[Bug 1069856] Re: error: cannot find a GRUB drive for . Check your device.map.

Andreas Heinig andreas.heinig at gmx.de
Tue Nov 6 07:51:27 UTC 2012


I tried both: With and without a device.map

Btw.: in hte configuration dialog, I choose to install grub on sda.
(->hd0)

Here is the device.map:
#> cat /boot/grub/device.map 
(hd0)   /dev/disk/by-id/ata-Hitachi_HDS721075KLA330_GTE200P8G1E7HE
(hd1)   /dev/disk/by-id/ata-ST3750330NS_9QK1YCFE
(hd2)   /dev/disk/by-id/ata-SAMSUNG_HD753LJ_S13UJ1MQ30648

And the df output:
#> df
Filesystem                         1K-blocks      Used Available Use% Mounted on
/dev/mapper/LVM--MD1-kubuntu--root  48057224  39004160   6611848  86% /
udev                                 6120900        12   6120888   1% /dev
tmpfs                                2453352       904   2452448   1% /run
none                                    5120         0      5120   0% /run/lock
none                                 6133376      7484   6125892   1% /run/shm
none                                  102400         0    102400   0% /run/user
/dev/md0                              467302    138767    303604  32% /boot
/dev/mapper/LVM--MD1-rtems--nfs      1032088    377356    602304  39% /mnt/rtemsnfs
/dev/mapper/LVM--MD1-tftpboot        1032088     52020    927640   6% /mnt/tftpboot
/dev/mapper/root-home                1030072     80228    897520   9% /root
/dev/mapper/heandr                 516059576  43260800 446584480   9% /home/heandr
/dev/mapper/LVM--MD1-project       619273992 256980120 330836592  44% /home/heandr/Projects

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1069856

Title:
  error: cannot find a GRUB drive for .  Check your device.map.

Status in “grub2” package in Ubuntu:
  Incomplete

Bug description:
  i have STRIPE in bios (fake RAID0). was working fine on 12.04.
  but, during upgrade to 12.10 ... here is output.

  $ sudo update-grub
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-3.5.0-17-generic
  Found initrd image: /boot/initrd.img-3.5.0-17-generic
  /usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your device.map.
  /usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your device.map.
  /usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your device.map.
  Found linux image: /boot/vmlinuz-3.2.0-33-generic
  Found initrd image: /boot/initrd.img-3.2.0-33-generic
  /usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your device.map.
  /usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your device.map.
  Found linux image: /boot/vmlinuz-3.2.0-32-generic
  Found initrd image: /boot/initrd.img-3.2.0-32-generic
  /usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your device.map.
  /usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your device.map.
  Found linux image: /boot/vmlinuz-3.2.0-31-generic
  Found initrd image: /boot/initrd.img-3.2.0-31-generic
  /usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your device.map.
  /usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your device.map.
  /usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your device.map.
  Found memtest86+ image: /boot/memtest86+.bin
  grub-probe: error: cannot find a GRUB drive for /dev/mapper/isw_cijbaaefjb_Volume0p1.  Check your device.map.
  grub-probe: error: cannot find a GRUB drive for /dev/mapper/isw_cijbaaefjb_Volume0p2.  Check your device.map.
  grub-probe: error: cannot find a GRUB drive for /dev/mapper/isw_cijbaaefjb_Volume1p1.  Check your device.map.
  done

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: grub-pc 2.00-7ubuntu11
  Uname: Linux 3.0.24-std251-amd64 x86_64
  NonfreeKernelModules: raid10 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx raid1 raid0 multipath linear usb_storage nouveau ttm drm_kms_helper drm xhci_hcd r8169 mii i2c_algo_bit i2c_core mxm_wmi video wmi
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  Date: Mon Oct 22 17:50:33 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  SourcePackage: grub2
  UpgradeStatus: Upgraded to quantal on 2012-10-22 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1069856/+subscriptions




More information about the foundations-bugs mailing list