[Lxc-users] Ubuntu-cloud memtest86 apt-get upgrade error

Serge Hallyn serge.hallyn at canonical.com
Tue Jan 15 14:47:42 UTC 2013


Quoting Florian Motlik (flomotlik at gmail.com):
> Hey guys,
> 
> just recently started getting
> 
> /usr/sbin/grub-probe: error: failed to get canonical path of
> /dev/disk/by-uuid/104a8748-2978-4b87-afb7-e476aff3a957.
> dpkg: error processing memtest86+ (--configure):
>  subprocess installed post-installation script returned error exit status 1
> 
> Errors were encountered while processing:
>  memtest86+
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> When creating a new virtual machine with ubuntu-cloud and running apt-get
> update.
> 
> Works fine with ubuntu as a template.
> 
> Tried it on two separate machines, one of them is a fresh Amazon EC2
> instance.
> 
> Any idea?

Hopefully these are 12.04 (precise) machines?  This is bug
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1060404

Grub isn't allowed to run in a container.  (In certain cases, where
using a block device backed container to prepare a VM for use by
kvm for instance, it might make sense to set it up to allow that, but
I don't think that's your case).  Well, in your case it fails bc
it can't find a device node for /, but even if it could it would
fail trying to install grub.  Which woudl be a good thing as
otherwise it would overwrite your host's grub.

-serge




More information about the lxc-users mailing list