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

2016-12-21 Thread Jason Straight
Recently encountered this, and I turned up this page while searching for
solutions, and I hate to turn this into a "forum" post but I wanted to
leave this here for anyone else beating their head against the wall over
this.

On my afflicted system one of the partitions that was part of my btrfs
raid 1 array did not have a type. fdisk, changed the type to Linux and
grub was happy.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2013-12-24 Thread Tv
I still see this (or very similar errors) on 13.10, with / on btrfs
(multidevice sda3  sdb3) and /boot on devicemapper raid1 (sda2 and
sdb2). Since my symptoms look cosmetical only, I haven't tried deleting
anything in /etc/grub.d.

tv@zulu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 13.10
Release:13.10
Codename:   saucy

tv@zulu:~$ sudo update-grub
Generating grub.cfg ...
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sdb3
/dev/sda3.  Check your device.map.
Found linux image: /boot/vmlinuz-3.11.0-12-generic
Found initrd image: /boot/initrd.img-3.11.0-12-generic
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sdb3
/dev/sda3.  Check your device.map.
Found memtest86+ image: /memtest86+.bin
done

tv@zulu:~$ grep /dev/sd /proc/mounts 
/dev/sdb3 / btrfs rw,relatime,space_cache 0 0
/dev/sdb3 /home btrfs rw,relatime,space_cache 0 0

tv@zulu:~$ grep /boot /proc/mounts 
/dev/md0 /boot ext4 rw,relatime,data=ordered 0 0

tv@zulu:~$ sudo mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
  Creation Time : Mon Oct 28 10:01:06 2013
 Raid Level : raid1
 Array Size : 976320 (953.60 MiB 999.75 MB)
  Used Dev Size : 976320 (953.60 MiB 999.75 MB)
   Raid Devices : 2
  Total Devices : 2
Persistence : Superblock is persistent

Update Time : Tue Dec 24 15:34:00 2013
  State : clean 
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

   Name : zulu:0  (local to host zulu)
   UUID : c65746ce:08f53527:8494833c:c4723a0d
 Events : 19

Number   Major   Minor   RaidDevice State
   0   8   180  active sync   /dev/sdb2
   1   821  active sync   /dev/sda2

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2013-01-07 Thread Launchpad Bug Tracker
[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]

** Changed in: grub2 (Ubuntu)
   Status: Incomplete = Expired

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-11-07 Thread Kirill Bogdanenko
Had the same issue, resolved by:

rm /etc/grub.d/00_header.backup

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-11-07 Thread Andreas Heinig
Problem solved for me!

The tipp of Kirill was perfect. The updated created the file
/etc/grub.d/00_header.myversion which leads to the problem.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-11-06 Thread Andreas Heinig
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 612090012   6120888   1% /dev
tmpfs2453352   904   2452448   1% /run
none5120 0  5120   0% /run/lock
none 6133376  7484   6125892   1% /run/shm
none  102400 0102400   0% /run/user
/dev/md0  467302138767303604  32% /boot
/dev/mapper/LVM--MD1-rtems--nfs  1032088377356602304  39% 
/mnt/rtemsnfs
/dev/mapper/LVM--MD1-tftpboot1032088 52020927640   6% 
/mnt/tftpboot
/dev/mapper/root-home1030072 80228897520   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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1069856

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-11-06 Thread Phillip Susi
Can you run sudo grub-probe -t device -d /dev/mapper/LVM--MD1-kubuntu--
root and post the output?

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-11-05 Thread Andreas Heinig
For me the suggested command sequence (purge + install) don't fix the
problem.

# update-grub
Generating grub.cfg ...
cat: /video.lst: No such file or directory
/usr/sbin/grub-probe: error: failed to get canonical path of .
/usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your 
device.map.

I have a software raid as boot partition.

# blkid
/dev/sda1: UUID=45aa82a9-5fc2-6eae-8795-1fcf28759b4f 
UUID_SUB=ac14b6d9-8c9c-478d-79d8-39b942b29b48 LABEL=ubuntu:0 
TYPE=linux_raid_member 
/dev/sda2: UUID=235bd0a9-005a-c373-6d65-97a6c29d2e13 
UUID_SUB=81f0c4d9-5d46-f47b-2a72-71f5382a78ac LABEL=ubuntu:1 
TYPE=linux_raid_member 
/dev/sdb1: UUID=45aa82a9-5fc2-6eae-8795-1fcf28759b4f 
UUID_SUB=820d518d-0cce-692a-e01c-62e8b85fc696 LABEL=ubuntu:0 
TYPE=linux_raid_member 
/dev/sdb2: UUID=235bd0a9-005a-c373-6d65-97a6c29d2e13 
UUID_SUB=6fc7a785-c04c-bd9d-97f0-6b77922a2e51 LABEL=ubuntu:1 
TYPE=linux_raid_member 
/dev/sdc1: UUID=45aa82a9-5fc2-6eae-8795-1fcf28759b4f 
UUID_SUB=ac00f434-005a-fc22-4d48-c115e4bd6273 LABEL=ubuntu:0 
TYPE=linux_raid_member 
/dev/sdc2: UUID=235bd0a9-005a-c373-6d65-97a6c29d2e13 
UUID_SUB=c17bc39d-c898-e12e-cace-de0a71ad4603 LABEL=ubuntu:1 
TYPE=linux_raid_member 
/dev/md0: LABEL=TUSH_BOOT UUID=a2c9766f-4a3c-41d5-8eaf-f55518653820 
TYPE=ext2 
/dev/md1: UUID=6YlTj9-9lt3-rJOR-x8j3-jXSe-aDpW-rEWBwq TYPE=LVM2_member
[...]

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-11-05 Thread Andreas Heinig
** Changed in: grub2 (Ubuntu)
   Status: Invalid = Incomplete

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-11-05 Thread Phillip Susi
Do you have a /boot/grub/device.map file?  Can yuo post the output of
the df command?

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-10-30 Thread Reeyarn
I run the following two commands. It purged and reinstalled grub and it
solved my problem.

sudo apt-get purge grub grub-pc grub-common
sudo apt-get install grub-common grub-pc

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-10-30 Thread Phillip Susi
Glad you fixed it.


** Changed in: grub2 (Ubuntu)
   Status: Incomplete = Invalid

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-10-29 Thread Reeyarn
/boot/grub$ sudo cat device.map
[sudo] password for u910a6: 
(hd0)   /dev/disk/by-id/ata-HITACHI_HTS723232A7A364_E3834563JK71MN


sudo grub-probe -d /dev/disk/by-id/ata-HITACHI_HTS723232A7A364_E3834563JK71MN 
-t drive
(hd0)


sudo update-grub
Generating grub.cfg ...
/usr/sbin/grub-probe: error: failed to get canonical path of .
/usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your 
device.map.


So I first cat device.map, then run grub-probe successfully, but fail at 
update-grub.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-10-27 Thread Phillip Susi
Can you please run sudo grub-probe -d /dev/mapper/isw_cijbaaefjb_Volume0
-t drive?  Also do you have a /boot/grub/device.map file?


** Changed in: grub2 (Ubuntu)
   Status: Confirmed = Incomplete

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-10-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: grub2 (Ubuntu)
   Status: New = Confirmed

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-10-23 Thread Reeyarn
I was upgrading from 12.04 to 12.10,

Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up grub-pc (2.00-7ubuntu11) ...
Installation finished. No error reported.
Generating grub.cfg ...
cat: /video.lst: No such file or directory
/usr/sbin/grub-probe: error: failed to get canonical path of .
/usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your 
device.map.
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 1

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-10-22 Thread Vitaliy Kulikov
here is more info:

$ blkid 
/dev/sdb: TYPE=isw_raid_member 
/dev/sdc: TYPE=isw_raid_member 
/dev/sdd1: LABEL=USB DISK UUID=1B77-5EA6 TYPE=vfat 
/dev/mapper/isw_cijbaaefjb_Volume0p1: LABEL=System Reserved 
UUID=20647F8B647F6288 TYPE=ntfs 
/dev/mapper/isw_cijbaaefjb_Volume0p2: UUID=D216832016830527 TYPE=ntfs 
/dev/mapper/isw_cijbaaefjb_Volume1p1: LABEL=sys 
UUID=b369150b-f49e-4e96-9520-6165f24829dd TYPE=ext4

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs