[SOLVED] VM from Ubuntu hosts don't run under Mac OS x

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
konze
Posts: 6
Joined: 9. Dec 2012, 10:27

[SOLVED] VM from Ubuntu hosts don't run under Mac OS x

Post by konze »

Hello,

I have the following problem, I've created a VM under Ubuntu (host) with Ubuntu Server (guest). Yesterday I tried to move this VM to my MacBook (host) (1. Method: I copied the *.vdi, 2. Method: I copied the whole VM folder, 3. Method: I used 'export appliance'). When I want to start this Ubuntu Server (Guest) on my MacBook everything seems fine, but the boot process looks completely different (graphic fallback mode...), The biggest problem is that the Ubuntu Server (guest) cant retrieve an IP (I in my opinion the VM doesn't find a networkcard).
I also installed a new VM on my MacBook (host) with Ubuntu Server (guest) and this one runs without any errors.

I hope you can help my

Best regards

konze
Last edited by konze on 9. Dec 2012, 19:38, edited 1 time in total.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: VM from Ubuntu hosts don't run under Mac OS x

Post by stefan.becker »

VBOX version and guest additions must be the same version.
konze
Posts: 6
Joined: 9. Dec 2012, 10:27

Re: VM from Ubuntu hosts don't run under Mac OS x

Post by konze »

stefan.becker wrote:VBOX version and guest additions must be the same version.
I've created the VM under Ubuntu (host) with 4.1.3 but I've updated VirtualBox to 4.2.4 this morning. There are no guest additions on my VM. What is the right way to move/copy VMs form one host to another one?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: VM from Ubuntu hosts don't run under Mac OS x

Post by mpack »

The only officially supported way to move VMs between hosts is via the appliance route, but I wouldn't recommend it.

Personally, I would just copy the VM folder, and correct the resource names in the .vbox xml manually, before adding the VM.

If that's too hard, build a new VM around the old VDI. Of course that won't work if you use snapshots, but no sane person does, hence that won't be a problem.
konze
Posts: 6
Joined: 9. Dec 2012, 10:27

Re: VM from Ubuntu hosts don't run under Mac OS x

Post by konze »

mpack wrote:just copy the VM folder, and correct the resource names in the .vbox xml manually, before adding the VM.
Which resources?
mpack wrote:build a new VM around the old VDI.
This doesn't work, when Ubuntu Server boots (guest) it can't retrieve an IP.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VM from Ubuntu hosts don't run under Mac OS x

Post by Perryg »

konze wrote:
mpack wrote:just copy the VM folder, and correct the resource names in the .vbox xml manually, before adding the VM.
Which resources?
mpack wrote:build a new VM around the old VDI.
This doesn't work, when Ubuntu Server boots (guest) it can't retrieve an IP.
This usually happens when you change the MAC address in Linux.
You need to edit the /etc/udev/rules.d/70-persistent-net.rules or you can delete the rules and Linux will configure it on the next boot
konze
Posts: 6
Joined: 9. Dec 2012, 10:27

Re: VM from Ubuntu hosts don't run under Mac OS x

Post by konze »

Perryg wrote:You need to edit the /etc/udev/rules.d/70-persistent-net.rules or you can delete the rules and Linux will configure it on the next boot
Thanks to all, now it runs perfectly.

[SOLVED]
Post Reply