Virtual box and usb

Asked by Khaled

Am using ubuntu 8.04 and virtual box i cant see my usb devices neither my hard disk partitions

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Solved by:
delance
Solved:
Last query:
Last reply:
Revision history for this message
George Standish (george-standish-deactivatedaccount) said :
#1

Did you install VirtualBox from the Ubuntu repository? If so, that version (OSE - Open Source Edition) does NOT support USB.

To get the VBox version that does support USB see http://www.virtualbox.org/wiki/Linux_Downloads

Best of luck,
George

Revision history for this message
Khaled (k6fahmy) said :
#2

i downloaded latest stable version 3.1and installed it by typing sudo dpkg -i virtualbox.deb but i cannot find it or from where can i open virtualbox where do the virtualbox installed

Revision history for this message
Khaled (k6fahmy) said :
#3

i downloaded latest stable version 3.1and installed it by typing sudo dpkg -i virtualbox.deb but i cannot find it or from where can i open virtualbox where do the virtualbox installed

Revision history for this message
delance (olivier-delance) said :
#4

Applications->Outils Systèmes->Sun VirtualBox

Revision history for this message
Khaled (k6fahmy) said :
#5

Its not there :S am newbie but not to that extent:S

Revision history for this message
Khaled (k6fahmy) said :
#6

khaled@khaled-desktop:~/Desktop$ sudo dpkg -i virtualbox.deb
[sudo] password for khaled:
Selecting previously deselected package virtualbox-3.1.
(Reading database ... 240793 files and directories currently installed.)
Unpacking virtualbox-3.1 (from virtualbox.deb) ...
Setting up virtualbox-3.1 (3.1.4-57640_Ubuntu_hardy) ...
Adding group `vboxusers' (GID 125) ...
Done.
Messages emitted during module compilation will be logged to /var/log/vbox-install.log.
Success!
 * Starting VirtualBox kernel module * done.

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
khaled@khaled-desktop:~/Desktop$

that what i did

Revision history for this message
delance (olivier-delance) said :
#7

There also perfect newbies on launchpad, and I have no crystal ball.

Try "/usr/lib/virtualbox/VirtualBox". You should get the graphical interface.

Revision history for this message
Khaled (k6fahmy) said :
#8

Failed to create the VirtualBox COM object.
The application will now terminate.
Error in /home/khaled/.VirtualBox/VirtualBox.xml (line 3) -- Cannot handle settings version '1.2-linux'.
/home/vbox/vbox-3.1.4/src/VBox/Main/VirtualBoxImpl.cpp[420] (nsresult VirtualBox::init()).

This what i got

Revision history for this message
delance (olivier-delance) said :
#9

http://www.virtualbox.org/wiki/User_FAQ

    * Sometimes VirtualBox fails to start with a message on the lines of

      Failed to create VirtualBox COM object
       Callee RC: 0x80470007

      This usually means that the VirtualBox COM server was unable to start up, and is often a sign of problems in your installation of VirtualBox. In many cases this problem can be solved simply by reinstalling VirtualBox. Reinstalling will simply set up the VirtualBox program files again, and will not affect any virtual machines which you have created.

    If this does not help, and you wish to investigate the problem further yourself, try starting the VirtualBox COM server (the program VBoxSVC in the VirtualBox program folder) from a command prompt. You may be able to see what is going wrong from error messages when the server starts.

    Please do not open bug reports when you get this error before you have tried the other available support channels (forums, mailing lists and IRC).
--------------------------------------------------------------------------------------------------------------
cd /usr/lib/virtualbox
./VBoxSVC

Can you provide me error messages ?

Revision history for this message
Khaled (k6fahmy) said :
#10

khaled@khaled-desktop:~$ cd /usr/lib/virtualbox
khaled@khaled-desktop:/usr/lib/virtualbox$ ./VBoxSVC
*****************************************
Sun VirtualBox XPCOM Server Version 3.1.4
(C) 2008-2010 Sun Microsystems, Inc.
All rights reserved.

Starting event loop....
[press Ctrl-C to quit]

Terminated event loop.
XPCOM server has shutdown.
khaled@khaled-desktop:

this is nonendless loop it dont want to stop i pressed ctrl-c after 14 hrs when i waked up

Revision history for this message
delance (olivier-delance) said :
#11

You have to run in one terminal /usr/lib/virtualbox/VirtualBox, and in another terminal /usr/lib/virtualbox/VBoxSVC.

Revision history for this message
Khaled (k6fahmy) said :
#12

Informational: VirtualBox object created (rc=NS_ERROR_FAILURE).
Informational: VirtualBox object deleted.

this is the result

Revision history for this message
delance (olivier-delance) said :
#13

I get:

Sun VirtualBox XPCOM Server Version 3.1.4
(C) 2008-2010 Sun Microsystems, Inc.
All rights reserved.
Starting event loop....
[press Ctrl-C to quit]
Informational: VirtualBox object created (rc=NS_OK).
Informational: VirtualBox object deleted.

1) Send me a mail with /home/khaled/.VirtualBox/VirtualBox.xml as attached file.
<email address hidden>
You had an error message at this file.
2) Install packages dkms, build-essential and linux-header, if they are not yet installed.
3) Try also "sudo /etc/init.d/vboxdrv setup". This command could repair installation.
4) In synaptic, check you have
       - Virtualbox-3.1
       - 3.1.4-57640_Ubuntu_karmic
with karmic replaced by hardy.

Unfortunetly I saw nothing on the net.

Revision history for this message
delance (olivier-delance) said :
#14

I received the VirtualBox.xml. I see nothing except you have a "Linux version" 1.2 and me a version 1.7.
Have already installed VirtualBox before installing the last one ?
In this case, perhaps VirtualBox try to read an obsolete configuration file.
Can you answer, please, to point (4) ?

Revision history for this message
Khaled (k6fahmy) said :
#15

yes i tried to install it using different methods but it all fails last installed version was virtualbox 1.5 which doesnot support usb how can i update to linux ver 1.7 or what is the solution

Revision history for this message
Best delance (olivier-delance) said :
#16

I don't know what is the solution.
The best is:
   - full desinstallation of VirtualBox
   - rm -Rf ~/.VirtualBox
   - install from scratch of Virtualbox-3.1 USB version (on VirtualBox side)
and reporting what is the state when we start from scratch.

After, I will have a hope to analyze the problem.

Revision history for this message
Khaled (k6fahmy) said :
#17

you dun have to analyze u already solved my problem with your magic command rm -Rf ~/.VirtualBox just this command after this command i wrote /usr/lib/virtualbox/VirtualBox, virtualbox 3.1 started and the linux ver changed to linux ver 1.9 instead 1.2.
i don know how to thank yo. thank youuu very much for ur time and effort

Revision history for this message
Khaled (k6fahmy) said :
#18

Thanks delance, that solved my question.