* Andrew Schulman <and...@alumni.utexas.net> [20091213 13:08]:

> I'm trying to install memtest86+ in a chroot environment, in order to
> create a rescue disk image.  I've done this successfully in the past,
> but now when I try, I get:

> Setting up memtest86+ (4.00-2) ...
> grub-probe: error: cannot find a device for /.

> dpkg: error processing memtest86+ (--configure):
>  subprocess installed post-installation script returned error exit status 1

Same here.

Setup: openvz (so "simfs on / type simfs") with a chroot inside.

> I can't find a call to grub-probe in memtest86+.postinst, so I'm not
> sure where this call is coming from.

The grub-probe call is coming from the execution of update-grub2
within postinst.

Is updating the grub configuration really worth a package
installation error if that fails?

Maybe using:

  update-grub2 || true

would be an option.

regards,
-mika-

Attachment: signature.asc
Description: Digital signature

Reply via email to