2

I created a new root partition and I am trying run update-grub inside a chroot. I bindmount the following

for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done

And then:

update-grub
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?)

The error message normally occurs when /proc or /dev are not mounted but, as described above, I believe they were mounted correctly.

Why can't I run update-grub?

Jakuje
  • 10,363

0 Answers0