in

 

Jason Meridth

There is no spoon

Ubuntu 8.04, VirtualBox, and USB support

UPDATE: Make sure your user account is a member of the vboxusers account.  VirtualBox will not start and the error will tell you this, but just want to be explicit.  You will have to logout and log back in.

I recently upgraded my Ubuntu to the latest version, as mentioned in a previous post.  I'm very excited about it, due to greater support for hardware items that I've had to fight battles with (one of the many reasons people won't make the switch to Linux).  I upgraded to Hardy Heron and then upgraded VirtualBox when prompted.  It was a fatal hardware recognition mistake.  As soon as I booted back up after a restart, I didn't have sound, wireless, etc. 

After just not being in the mood of going down the road of trying to get the hardware re-recognized, I reloaded and di my research on the virtualbox upgrade.  It seems to be a known issue on the ubuntuforms. 

I looked through the forums and got educated on a few things about the ose (open source edition) versions of VirtualBox.  1. no usb support (I will update if I'm proved wrong). 2. the new ose kernel modules hose toshiba satellite hardware detection (at least on my laptop).

To get the gutsy non-ose version of Virtual Box, add this repository to /etc/apt/sources.list:

deb http://www.virtualbox.org/debian gutsy non-free

then in a terminal:

apt-get update
apt-get install virtualbox

if you get a host key issue, the do the following:

go get the public key.. go to this website and it'll have the key there just right click anywhere in the page and go to save page as then save it to your home directory preferably.

http://www.virtualbox.org/debian/innotek.asc

Now to add that key run...

apt-key add innotek.asc
apt-get update
apt-get install virtualbox

This will give you the gutsy version that I've worked with and have had no problems with.  The bonus is that you get USB support. 

I will get back to code posts next.  Just want to share the knowledge with other Linux users. 

Comments

 

JLangbridge said:

Works great! I still had a slight problem afterwards, I needed to add myself to the usbfs group, etc, but that is easily done. Many thanks!

April 28, 2008 9:06 AM
 

Dan Delaney said:

Odd. I did this. It installed fine. It runs. But then when I bring up the settings for my virtual machine I get this:

Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND)

April 30, 2008 4:09 PM
 

Jason Meridth said:

@Dan

Look here: paulsiu.wordpress.com/.../tips-on-running-innotek-virtualbox

It looks like you just need to edit the /etc/init.d/mountdevsubfs.sh file by uncommenting the commented lines.

You also have to grant some permissions shown in the post.

I didn't have this issue, but it seems to be related to the same thing that JLangbridge had.

Thanks.

April 30, 2008 5:50 PM
 

taurusx5 said:

Presently, i have virtualbox installed on my ubuntu 7.10. however, i want to uprade to 8.04. will upgrading to 8.04 adversely affect my virtualbox? will upgrading also affect my opera broswer already installed also?

May 1, 2008 2:13 PM
 

Jason Meridth said:

@taurusx5

when prompted to upgrade your virtualbox install during upgrade, say NO.

I don't know about Opera.  I'm a Firefox guy.  I'm enjoying the Firefox 3 Beta 5 install that is default with 8.04.

If you do decide to upgrade, please let me know about Opera.

May 1, 2008 11:41 PM
 

taurusx5 said:

jason, thanks for the comment. however, one thing i didn't tell you is that i have the closed source edition of virtualbox. i therefore have 3 questions for you:

1) will upgrading to 8.04 affect my closed source edition of virtualbox in any way?

2) will upgrading to 8.04 affect USB support in virtualbox?

3) will upgrading to 8.04 affect the user group?

May 10, 2008 10:19 AM
 

taurusx5 said:

Jason, one more question that I forgot to ask was, will upgrading to 8.04 affect guest additions in virtualbox cse. And please disregard question #3 of my previous post. Thanks.

May 11, 2008 12:17 PM
 

Jason Meridth said:

@taurusx5

You ask excellent questions.  My current answer is "I don't know".  I am researching now.

Keep'em coming.

May 11, 2008 1:44 PM
 

taurusx5 said:

hi, jason. hope that you can soon answer my questions regarding my virtualbox cse. i'm really desperate about upgrading to the latest 8.04, but of course, my concern for virtualbox stability after upgrade takes precedence. hope you understand... thanks!

May 15, 2008 5:23 PM
 

Jason Meridth said:

@taurusx5

i followed gusman21's response to your post on ubuntuforms (ubuntuforums.org/showthread.php) and it worked for me.

Hope this helps.

Sorry for the delay, I've been under the weather.

May 19, 2008 4:58 PM
 

taurusx5 said:

Jason, thanks for the info... I will be upgrading to 8.04 soon and I will modify code for USB access thereafter. Thanks man!

May 21, 2008 8:28 PM
 

ryba said:

jesli ktos bedzie mial problem z virtualboxem i postawieniem na nim windowsa to chetnie pomoge, moj gg 8009121,a jesli chodzi o sam system to w moim przypadku byl to najlepszy wybor jakiego dokonalem,ubuntu posiada wszystko co jest potrzebne a jesli nie dziala to po VB mozna otworzyc badz w WINE,bardzopolacam kazdemu kto ma dosc ciaglych problemow z windowsem i szukania seriali do programow hehe,ubunto oferuje to samo i w pelni legalnie.

June 27, 2008 4:44 PM
 

Jason Meridth said:

@ryba

I apologize.  I'm not able to translate.  Through quick research, this seems to be Hungarian?  If you can translate to English, I'll respond to any questions or concerns.

I do see WINE and VB mentioned.  I've use WINE to run games on my Linux boxes.

June 27, 2008 5:04 PM
 

taurusx5 said:

Hi, Jason! It's been a while! Hope you remember me as the guy who was skeptical about upgrading to ubuntu 8.04 in relation to virtualbox - I still got cold feet so I'm staying with 7.10....

Anyway, I got a question for you... I downloaded a folder icon with a .png extension and I want to make that my default folder icon throughout my ubuntu 7.10. What must I do for that? Also, I want to do the same thing to tar files - I want to change the icon for tar.bz2 and tar.gz files throughtout my system. What must I do?

July 8, 2008 11:07 PM
 

Jason Meridth said:

@taurusx5

welcome back.

check this out: answers.launchpad.net/.../38588

It worked for me.  Hadn't thought about doing this, but definitely good to know.

Hope it helps.  If it doesn't work, please let me know.

July 9, 2008 1:24 AM
 

taurusx5 said:

Jason, actually, the post you provided was started by me. Ha ha... That's ok. One of the repliers on it had recommended that I open up nautilus and then substitute the icon in usr/share/icons. But, he cautions that the icon must be the same size as the icon I'm substituting. I see many folders in there and in particular, there are folders denoted with 22x22, 24x24, 32x32, etc. Which would be the right one? I don't want to mess up my system if something should go wrong.

Thanks, Jason!

July 9, 2008 8:06 PM
 

Jason Meridth said:

LOL.

Now that's funny.

I'll play with it a bit, I'm willing to crash mine :) I like to learn, everything important is on my Gutsy Server.

Wife is 8 1/2 months pregnant, so give me a little bit of time on this one, please.

July 9, 2008 10:20 PM
 

taurusx5 said:

Hey, Jason. Actually, I went ahead and installed an icon theme. This was getting frustrating for me. And, sorry about giving you a headache over my little icon issue. However, I got a question regarding this. How can I change icons for files like, doc, mp3, zip, mov, openoffice files, etc. I just don't want to simply change an individual icon on my desktop. I want to make changes globally. Must must I do?

And thanks so much so far for all your needed help!

July 11, 2008 5:46 PM
 

Jason Meridth said:

@taurusx5

I'm sorry for the delay.  I started my new job this week and my wife is about to have our baby.

I'll try to get you an answer ASAP.

Thanks for understanding.

July 17, 2008 8:19 AM
 

phoenix101 said:

sir i have tried the step

"apt-get update"

unfortunately i got the message

W: Failed to fetch www.virtualbox.org/.../Packages.gz  403 Forbidden

E: Some index files failed to download, they have been ignored, or old ones used instead.

could you help me on this i kind of new to ubuntu and linux

July 20, 2008 8:36 AM
 

Jason Meridth said:

@phoenix101

first thing you need to try is prefix the apt-get command with the sudo command

sudo apt-get update

this allows you to temporarily run the apt-get command with root permissions.

let me know if you get the same error

July 20, 2008 1:56 PM
 

taurusx5 said:

Hi, Jason! Hope you and the wife are doing well. I got a question. My Ubuntu 7.10 has been running slow lately. I've deleted stuff in my trash but it's still running slow. Are there any management tools I can download to make Ubuntu run more efficiently and faster? Sort of like, XP's defragmentor? Also, I checked my CPU usage and found that the plugin for Opera is running 80% of my CPU usage.

Any ideas?

July 23, 2008 9:12 AM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Jason Meridth

I'm a senior web/software programmer working in San Antonio, Texas. I am currently coding with the .NET framework while using Agile methodologies and DDD/TDD/BDD practices.
Copyright Los Techies 2007. All rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems