Hi All,

In my case the issue was caused due to the fact that i have used a btrfs
filesystem for my root partition and as Nils mentioned if you just mount
the /dev/sdx to mnt and then mount --bind all the nedeed parts, chroot
and try to update grub or grub-install the comands will both fail as you
need to mount the default subvolume bellow i described how i managed to
do that:

I recomend that you

In case of btrfs mount the drive to a temp dir then find the ID of the
btrfs subvolumes or snapshots with

 btrfs subvolume list / where / is the path to a temp directory where
you have mounted the /dev/sdx btrfs filesystem


and in order to mount the desired subvolumne issue mount /dev/sda6 -o 
subvolid=ID /mnt

where ID is the ID returned by btrfs subvolume list
/path_to_temp_mount_folder

After that you can continue asn normal with the grub rescue :P:

sudo mount --bind /dev /mnt/dev && sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys && sudo mount --bind /dev/pts
/mnt/dev/pts && sudo cp /etc/resolv.conf /mnt/etc/resolv.conf && sudo
chroot /mnt

update-grub or grub-install /dev/sdax


Hope this help other as the previos comment gaved me a nice hint to solve my 
issue.

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

Title:
  grub-probe: cannot find a device for /boot/grub

To manage notifications about this bug go to:
https://bugs.launchpad.net/update-manager/+bug/591454/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to