My problems with running virtualbox

Asked by Mr. MInhaj

I've installed sun virtualbox yesterday and then installed XP servicepack 2 in another drive rather than my ubuntu or xp home drive.
after installing virtual xp,i found that it can't capture mouse.i click the capture button in the capture mouse prompt window but then i see that mouse is not captured,
another problem is that sometimes virtual discs become inaccessible so when i hit the start button to start my virtual xp, it can't start and an error message is shown.
I am using ubuntu 8.10 intreped ibex.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Solved by:
Mike Mc
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Mr. MInhaj (imhell99) said :
#1

when i hit the settings in the v.Box window an warning is showed,i've given below what is contained in that window

  " Failed to access the usb subsystem

Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.

Result Code:
NS_ERROR_FAILURE (0x00004005)
Component:
Host
Interface:
IHost {f39438d7-abfd-409b-bc80-5f5291d92897}
Callee:
IMachine {ea6fb7ea-1993-4642-b113-f29eb39e0df0} "

please help me

Revision history for this message
Mr. MInhaj (imhell99) said :
#2

when i hit the settings in the v.Box window an warning is showed,i've given below what is contained in that window

  " Failed to access the usb subsystem

Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.

Result Code:
NS_ERROR_FAILURE (0x00004005)
Component:
Host
Interface:
IHost {f39438d7-abfd-409b-bc80-5f5291d92897}
Callee:
IMachine {ea6fb7ea-1993-4642-b113-f29eb39e0df0} "

please help me

Revision history for this message
Best Mike Mc (mmcclune) said :
#3

Have you installed the Guest Additions? Start your virtual machine (win xp) then click on Devices->Install Guest Additions That should solve your mouse problem; you will no longer need to press the home key (right control by default).

I'm not sure what you mean by a virtual disk.

Revision history for this message
Mike Mc (mmcclune) said :
#4

As far as your USB problem there are many How To on the net:
You need to edit a couple of files so MAKE COPIES of the originals in case this goes wrong

First edit /etc/init.d/mountdevsubfs.sh:
gksu gedit /etc/init.d/mountdevsubfs.sh
Find the do start () {} section
Add or uncomment this text just before the closing brace of do start():

 #
 # Magic to make /proc/bus/usb work
 # following four lines need to be uncommented for use with VirtualBox
 #
 mkdir -p /dev/bus/usb/.usbfs
 domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
 ln -s .usbfs/devices /dev/bus/usb/devices
 mount --rbind /dev/bus/usb /proc/bus/usb

Save the file

Open /etc/fstab and add:
# mount usb ports for VirtualBox
none /proc/bus/usb usbfs devgid=126,devmode=664 0 0

save the file and reboot

Revision history for this message
Mike Mc (mmcclune) said :
#5

Sorry Mr. MInhaj but just to clarify
Before you add none /proc/bus/usb usbfs devgid=126,devmode=664 0 0 to your fstab file
type in a terminal grep vboxusers /etc/group
you'll see a line like: vboxusers:x:126:youruserid
substitute the group number from the above number for the one shown in devgid=126
so if your line looks like: vboxusers:x:500:youruserid
the entry in fstab would be: none /proc/bus/usb usbfs devgid=500,devmode=664 0 0

Revision history for this message
Mr. MInhaj (imhell99) said :
#6

i've removed my previous v.box and installed the latest version.
It does not make any problem except one, it don't show pendrive when i connect.
though it autamatically get my USB keyboard.

How can i make virtualbox virtual os to detect pendrive?
V.box version is "virtualbox-2.1_2.1.2-41885_Ubuntu_intrepid_i386"
and my pendrive is 4 GB Apacer.
my host is ubuntu and guest is ubuntu 8.10

Revision history for this message
Mr. MInhaj (imhell99) said :
#7

i've removed my previous v.box and installed the latest version.
It does not make any problem except one, it don't show pendrive when i connect.
though it autamatically get my USB keyboard.

How can i make virtualbox virtual os to detect pendrive?
V.box version is "virtualbox-2.1_2.1.2-41885_Ubuntu_intrepid_i386"
and my pendrive is 4 GB Apacer.
my host is ubuntu and guest is ubuntu 8.10

Revision history for this message
Mr. MInhaj (imhell99) said :
#8

Thanks Mike Mc, that solved my question.