LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   VirtualBox - problems (http://www.linuxquestions.org/questions/ubuntu-63/virtualbox-problems-558382/)

Franz1234 06-01-2007 01:35 PM

VirtualBox - problems
 
Hi.

I have a lot of problems with setting up a Virtual Machine under my Feisty installation..

The first thing is that I wanted to setup VmWare Server but this failed completely and now
Im not able to remove it anymore.

Then I tried Virtual Box and everything was running very good but after a reboot a problem came up:

Quote:

Failed to start VM execution (VERR_PGM_MAPPING_CONFLICT).


Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

I tried to solve it with : sudo chmod 666 /dev/vboxdrv and login as root and change the
permissions on this way but both didn't worked. After re log everything was set to standard
and even after I set the permissions I couldn't start the XP.

Sorry for my bad english and thanks for your help :) !

tekkieman 06-02-2007 10:15 AM

Have you added your user to the vboxdrv group?

Franz1234 06-03-2007 12:55 AM

I added myself to this Group |Users and Groups-> Manage Groups -> vboxusers -> Group ID 1001/ Group members: Root, Me.

foxiness 06-06-2007 09:14 PM

Try to run with "superuser" like this:

1- F2+alt
2- gksu VirtualBox

this temp sol

Note : I found it GID = 1003,i do not know how whether this variable from one organ to another or not.

Franz1234 06-07-2007 05:27 AM

Thanks for your help.

I dun have any Problems running VirtualBox as Superuser so I just leave it like this. Created a launcher for this too.

pwc101 06-07-2007 05:54 AM

It might be that you need to change the permissions on /dev/vboxdrv. Can you post the output of:
Code:

ls -l /dev/vboxdrv
If it says it's in the root group and not vboxusers, then that's probably the problem. The solution would be:
Code:

chmod 660 /dev/vboxdrv
chgrp vboxusers /dev/vboxdrv

See http://www.howtoforge.com/virtualbox_ubuntu near the bottom for the instructions on permissions.

This would be preferable to running anything graphical as root, which is generally considered something of an unnecessary security risk.

Oh Cisco 06-07-2007 01:25 PM

I think I was getting the same error when I did a fresh install of Fiesty and VB. The problem is in the memory allocation in VB, you can't go above 192 mb of memory. As I said your error looks like the one I got, but it has been a month.

Franz1234 06-08-2007 03:12 AM

I installed Windows XP successful into the VirtualBox with 350mb Memory and its working as Superuser.

Here is the output of "ls -l /dev/vboxdrv"

Quote:

crw-rw---- 1 root vboxusers 10, 62 2007-06-08 15:59 /dev/vboxdrv

Quote:

If it says it's in the root group and not vboxusers, then that's probably the problem. The solution would be:
Code:

chmod 660 /dev/vboxdrv
chgrp vboxusers /dev/vboxdrv

Its working now :)
Thanks very much. I will import the Virtual Xp to my User Account.

pwc101 06-08-2007 03:34 AM

Glad it's working :)

shogun1234 06-08-2007 09:02 AM

Quote:

Originally Posted by pwc101
Glad it's working :)

Is it possible to make guest OS staying in the same subnet (e.g., 10.0.1.0) to be able to see each other? Because I have two Debian (Etch) installed on VirtualBox (1.3.8). Both of them stay in the same subnet, however, they can not see each other. For example, when using ping from guest OS A, it replies with destination unreachable. So does the guest OS B. What should I do in order to communicate through network between guest OS?

Thank you very much,

pwc101 06-08-2007 09:13 AM

If you goal is to share data between each of the installations, then there is a mechanism built into VirtualBox which allows you to designate a directory on your host operating system as a shared folder. This can be accessed by either the host or guest OS (and I presume multiple guests simultaneously) allowing data transfer from the virtual world to the real world.

If this is not your aim, I don't know how to get one Virtual OS to communicate with the other. Sorry.

edit: It may also have been more sensible to start a new thread with this question so more people are likely to see it, and therefore increase your chances of getting a good answer! I've reported it to one of the mods to see if they'll separate it into a new thread.

shogun1234 06-09-2007 04:05 AM

Quote:

Originally Posted by pwc101
If you goal is to share data between each of the installations, then there is a mechanism built into VirtualBox which allows you to designate a directory on your host operating system as a shared folder. This can be accessed by either the host or guest OS (and I presume multiple guests simultaneously) allowing data transfer from the virtual world to the real world.

If this is not your aim, I don't know how to get one Virtual OS to communicate with the other. Sorry.

edit: It may also have been more sensible to start a new thread with this question so more people are likely to see it, and therefore increase your chances of getting a good answer! I've reported it to one of the mods to see if they'll separate it into a new thread.

It seems not my aiming because I want to use network to communicate between two guest OS (not merely sharing data between them). Nonetheless, thanks for replying me message and giving me advice. I appreciate it. Thank you.

Franz1234 06-09-2007 04:07 AM

Hey I have another question.

I installed Windows Vista Business under VirtualBox and now I want to set up a network connection for Vista so I can load Updates. Is there any solution like Bridget Networking so that the VirtualBox shares the Network connection with Ubuntu?

Thanks for your help :)

pwc101 06-09-2007 05:24 AM

I haven't tried installing Vista since I don't have enough RAM - VirtualBox won't install it unless the host has more than 512MB. But I should think if the network is enabled in the setup (i.e. before you boot your Vista VM), then Vista should automatically connect you to the network you're host (Linux) is on.

Here's my Windows XP Setup, showing the Networking enabled:

http://img87.imageshack.us/img87/9316/virtualboxtp4.png

Franz1234 06-09-2007 10:41 PM

Thanks for reply.

Are you connected with cable or wireless?
I think my problem is that I'm connecting wireless.

Someone any idea?

Edit:
Now I know why its not working
>> Look here

Quote:

There is no networking in Windows Vista guests initially because, unfortunately, with Vista, Microsoft dropped driver support for the virtual AMD PCnet card that we are providing. See "Troubleshooting" -> "Windows guests" in the User Manual for a solution. The VirtualBox Guest Additions of version 1.4.0 contain the AMD PCnet driver.
But even after I installed the Driver its not working :(


All times are GMT -5. The time now is 10:56 PM.