Follow-up Comment #1, bug #42409 (project grub): Hi,
I agree with Alain that the error message should be improved. I ran into this issue when using systemd-nspawn which by default restricts access to the devices in the container, here is an example: $ sudo systemd-nspawn -q --directory "/media/ao2/USB_rootfs" --bind /dev grub-probe / grub-probe: warning: disk does not exist, so falling back to partition device /dev/sdf2. grub-probe: warning: disk does not exist, so falling back to partition device /dev/sdf2. grub-probe: warning: disk does not exist, so falling back to partition device /dev/sdf2. grub-probe: error: disk `hostdisk//dev/sdf2' not found. / the message says that the disk does not exist but it does, and in my case the error is that it cannot be opened: open("/dev/sdf", O_RDONLY) = -1 EPERM (Operation not permitted) So if grub would just tell "Operation not permitted" it would be easier for the user to understand what is going on. Should we send a patch? Thanks, Antonio _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?42409> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org https://lists.gnu.org/mailman/listinfo/bug-grub