How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

November 28, 2013

ubuntu virtualbox networking not working

Filed under: Linux — Tags: , , — admin @ 10:20 am

Hello
Today I wanted to test something on a ubuntu server . So I start a virtualbox with it. However when it started there was no network. But only a error with 60 seconds to wait.
After long wait, the ubuntu server have started, but no network available . I have to mention that I use bridged adapter on virtual server.

The solution is to empty one file.
I did make a backup first with
cp /etc/udev/rules.d/70-persistent-net.rules /root

After this I have empty the file
echo ""> /etc/udev/rules.d/70-persistent-net.rules

And rebooted the server.
After this all was ok.

May 9, 2013

Virtualbox same UUID as an existing virtual machine

Filed under: Linux — Tags: , — admin @ 11:49 am

Long time no post.
Well because I want to test a lot of things, well I work with virtual box. Well but because I need more then one server on my virtual network I have to use same image more time to create more instances. However if you want to add another instance with same vdi/vbox file you will have the error.
“Trying to open virtual machine located in … vbox
“Trying to open a VM config ‘…vbox’ witch has the same UUID as an existing virtual machine.”

Well unfortunately there is no short fix with some dialog box to hit it. So to fix this you have to go on folder where is your virtbualbox installed if is not in default directory as

C:\Program Files\Oracle\VirtualBox\

And run this
VBoxManage.exe internalcommands sethduuid “c:\path\MyVM.vdi”

Now you can hit new button chose what you want and on third section just pick up “use an existing virtual hard drive file” and pick this c:\path\MyVM.vdi

Hope will help someone.

Powered by WordPress