LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-01-2007, 01:35 PM   #1
Franz1234
LQ Newbie
 
Registered: Jun 2007
Posts: 18

Rep: Reputation: 0
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 !
 
Old 06-02-2007, 10:15 AM   #2
tekkieman
Member
 
Registered: Dec 2004
Location: Northern CA
Distribution: Mepis 6.5
Posts: 123

Rep: Reputation: 15
Have you added your user to the vboxdrv group?
 
Old 06-03-2007, 12:55 AM   #3
Franz1234
LQ Newbie
 
Registered: Jun 2007
Posts: 18

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

Last edited by Franz1234; 06-03-2007 at 07:18 AM.
 
Old 06-06-2007, 09:14 PM   #4
foxiness
LQ Newbie
 
Registered: Jun 2007
Distribution: ubuntu
Posts: 2

Rep: Reputation: 0
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.
 
Old 06-07-2007, 05:27 AM   #5
Franz1234
LQ Newbie
 
Registered: Jun 2007
Posts: 18

Original Poster
Rep: Reputation: 0
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.
 
Old 06-07-2007, 05:54 AM   #6
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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.
 
Old 06-07-2007, 01:25 PM   #7
Oh Cisco
Member
 
Registered: Jul 2004
Location: Phoenix
Distribution: debian etch
Posts: 95

Rep: Reputation: 15
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.
 
Old 06-08-2007, 03:12 AM   #8
Franz1234
LQ Newbie
 
Registered: Jun 2007
Posts: 18

Original Poster
Rep: Reputation: 0
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.
 
Old 06-08-2007, 03:34 AM   #9
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Glad it's working
 
Old 06-08-2007, 09:02 AM   #10
shogun1234
Member
 
Registered: May 2004
Posts: 226

Rep: Reputation: 15
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,
 
Old 06-08-2007, 09:13 AM   #11
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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.

Last edited by pwc101; 06-08-2007 at 09:14 AM.
 
Old 06-09-2007, 04:05 AM   #12
shogun1234
Member
 
Registered: May 2004
Posts: 226

Rep: Reputation: 15
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.
 
Old 06-09-2007, 04:07 AM   #13
Franz1234
LQ Newbie
 
Registered: Jun 2007
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
Old 06-09-2007, 05:24 AM   #14
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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
 
Old 06-09-2007, 10:41 PM   #15
Franz1234
LQ Newbie
 
Registered: Jun 2007
Posts: 18

Original Poster
Rep: Reputation: 0
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

Last edited by Franz1234; 06-10-2007 at 01:54 AM.
 
  


Reply

Tags
ubuntu, virtualbox



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox on Slackware: How? gargamel Slackware 94 04-26-2008 07:42 AM
Virtualbox keyboard problem JerryP Linux - Software 2 05-19-2007 04:48 PM
Virtualbox setup on openSUSE 10.2 madgenius SUSE / openSUSE 2 04-26-2007 10:36 PM
LXer: Installing VirtualBox On Ubuntu LXer Syndicated Linux News 0 04-15-2007 04:01 AM
virtualbox problem on openSUSE10.2 fireedo SUSE / openSUSE 1 02-11-2007 11:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration