Impossible to start Virtualbox image

Stephen Stewart stephen.stewart at canonical.com
Thu Apr 23 11:39:08 UTC 2015


Hi,

I use OS X with VMware fusion running an Ubuntu host, so this might be
helpful to some who want a snappy vm on OS X (you'll need the Ubuntu VM for
the first step):

On the Ubuntu VM:

sudo ubuntu-device-flash core -o snappy.img --channel edge --enable-ssh &&
qemu-img convert snappy.img -O vmdk snappy.vmdk

Then scp the snappy.vmdk to OS X (or use shared folders), and create a new
vm in Fusion with:

New > Other options > Create a custom virtual machine > Linux > Ubuntu
64-bit >
Use existing virtual disk > Choose virtual disk... (snappy.vmdk) > ...

(I use 'Take this disk away from the virtual machine currently using it'
for the last step, as it means not having two copies of the vmdk laying
around)

Start the vm and login with ubuntu/ubuntu

On 22 April 2015 at 18:25, Nick McCloud <nick at descartes.co.uk> wrote:

> This link https://developer.ubuntu.com/en/snappy/start/#ova on this page
> https://developer.ubuntu.com/en/snappy/start appears to imply we can run
> a virtual local image legitimately. I’ve offered to go over the Snappy
> pages prior to their formal release so I’ll alert your colleagues about
> this.
>
> My main desktop is Mac OS, most of the rest of the computers in my office
> are virtual as there is a limit to how much hardware I can cram
> on/under/over my desk and I’m not keen on running Ubuntu Desktop on VMware
> Fusion to have it run VirtualBox to run the OVA. Giving us the freedom to
> run a virtual Snappy Core against VMware Workstation/Fusion/ESXi or
> VirtualBox or Hyper-V would be very useful.
>
> That said, I’ll see if I can quintuple boot my MacBook and slip an Ubuntu
> partition on it. I’ll also try the blog instructions out.
>
> Ta
>
> Nick
>
>
> On 22 Apr 2015, at 17:31, Ben Howard <ben.howard at canonical.com> wrote:
>
> I fixed the Vagrant images, so they now work.
>
> I think there is some confusion about the OVA images; they are meant to
> run within a Cloud fabric. The Vagrant images are the developer laptop
> story. If you want to use the OVA images, please see [2].
>
> Thanks,
> Ben
>
>
> [1]
>
> http://cloud-images.ubuntu.com/snappy/15.04/core/edge/20150422.1/core-edge-amd64-vagrant.box
> [2]
>
> http://blog.utlemming.org/2015/04/using-snappy-ova-images-when-you-dont.html
>
> On 04/22/2015 09:34 AM, Nick McCloud wrote:
>
> FWIW, I can login on latest VirtualBox on Mac OS after disabling PAE and
> waiting for rapl line to timeout.
>
> After a similar wait, get to the login on VMware Fusion & ESXi 5.5 U2, but
> can’t login on either.
>
> As I’m using the same OVA, this is weird!
>
> Nick
>
>
>
> On 22 Apr 2015, at 13:36, Ben Howard <ben.howard at canonical.com> wrote:
>
> Confirmed. I'm taking a look at what's going here.
> ~Ben
>
>
> On 04/21/2015 02:22 PM, mauro at freedomotic.com wrote:
>
> Hi,
> after 10 minutes it starts.
> Now I can't login with ubuntu/ubuntu. The login is incorrect for it.
>
> Thanks
> Mauro
>
> On Tue, April 21, 2015 7:44 am, Nick McCloud wrote:
>
> You have to wait about 10 minutes.
>
>
> Nick
>
>
>
> On 21 Apr 2015, at 13:09, mauro at freedomotic.com wrote:
>
>
> Hi Nick
> I disabled PAE/NX but the issue is still present.
>
>
> Mauro
>
>
>
> On Tue, April 21, 2015 6:28 am, Nick McCloud wrote:
>
> I have it working on Virtual Box 4.3.26 on my MacBook running Mac OS
> X
> 10.10.3
>
>
>
> Had to turn off the PAE before it worked: Settings -> System ->
> Processor
> -> Enable PAE/NX checkbox - turn it off.
>
>
>
> It gets stuck at the ‘rapl domains’  line but then eventually
> times out and you can login.
>
>
> However VMware Fusion and ESXi 5.5 also get stuck on the same line,
> Fusion eventually times out but then won’t let you login - you can
> type the user and then the password but it reverts to the login. I
> tried briefly with ESXi but ran out of time. This uses the same OVA so
> rather bizarre!
>
>
> Nick
>
>
>
>
>
>
>
> Hi,
> I'm trying to test your Virtualbox image but at startup I receive
> the following error
>
> Failed to start Load/Save Random Seed
> Unit systemd-random-seed.service entered failed state
> piix4_smbus 0000:00:07.0: SMBus base address unitialized - upgrade
> BIOS
> or use force_addr=0xaddr intel_rapl: no valid rapl domains found in
> package 0
>
> I'm using Virtualbox 4.3.8 on Windows 8 64 bit.
>
>
>
> Thanks in advance
> Mauro
>
>
>
> www.freedomotic.com
>
> --
> snappy-devel mailing list snappy-devel at lists.ubuntu.com
> <mailto:snappy-devel at lists.ubuntu.com>
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snappy-devel
> <https://lists.ubuntu.com/mailman/listinfo/snappy-devel>
>
> --
>
>
> Ben Howard
> ben.howard at canonical.com
> Canonical
> GPG ID 0x5406A866
>
>
>
>
> --
> snappy-devel mailing list
> snappy-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snappy-devel
>
>
> --
>
>
> Ben Howard
> ben.howard at canonical.com
> Canonical
> GPG ID 0x5406A866
>
>
>
>
>
> --
> snappy-devel mailing list
> snappy-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snappy-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150423/9fb28296/attachment-0001.html>


More information about the snappy-devel mailing list