Quoting Florian Motlik (flomot...@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

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to