mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2013-01-06, 10:06   #1
pinhodecarlos
 
pinhodecarlos's Avatar
 
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

3×17×97 Posts
Default New laptop with ubuntu

Hi all,

I bought a new laptop so I installed on it Ubuntu because I couldn’t understand very well Windows 8 that came incorporated with it. Then I installed virtual box and installed windows 7 64 bits sp1. My question, is why can't I have USB access under VM+Win? There's was a usb plug-in to install on VM and I did it but I still don't have access to USB connection under virtual box.

Carlos

Last fiddled with by pinhodecarlos on 2013-01-06 at 10:07
pinhodecarlos is offline   Reply With Quote
Old 2013-01-06, 10:29   #2
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Try fiddling with Settings/USB when the drive is plugged in (and of course make sure the box is checked).

Maybe ask Microsoft :P
Dubslow is offline   Reply With Quote
Old 2013-01-06, 12:15   #3
Ralf Recker
 
Ralf Recker's Avatar
 
Oct 2010

191 Posts
Default

Quote:
Originally Posted by pinhodecarlos View Post
There's was a usb plug-in to install on VM and I did it but I still don't have access to USB connection under virtual box.
Do you mean the extension pack for VirtualBox or the guest extensions? The extension pack for VirtualBox provides USB 2.0 support.

Last fiddled with by Ralf Recker on 2013-01-06 at 12:31
Ralf Recker is offline   Reply With Quote
Old 2013-01-07, 02:27   #4
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

7·1,373 Posts
Default

You have to install the guest additions to have access to (most of the) periferals. Also, in the older versions of VBox there was a bug with accessing USB on 64-bit guest running on 32 bit hosts, I hope it is not your case (are you running Linux 32?), I don't know if the bug is solved. You may find something on the readme files. I am a big fan of VBox, never gave me headaches. I usually use Win64 hosts (never been really a Linux guy).

Last fiddled with by LaurV on 2013-01-07 at 02:28
LaurV is offline   Reply With Quote
Old 2013-01-07, 02:55   #5
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11·347 Posts
Default

This is how I've accessed my USB drives on my machine(s). See if they help at all.

The following are for Virtual Machine Manager and Oracle VM VirtualBox, both in Fedora. They might be a little different, but probably similar for your system.

Virtual Machine Manager:
1. Plug the USB device into the host computer and let it come up under Ubuntu
2. Under View in the VM menu, choose Details rather than Console
3. At the bottom of the list on the left there should be an Add Hardware button - click it
4. Look for USB Host device (not USB redirection)
5. A list should come up with your USB device as one of the choices - choose it
6. Choose Finish
7. Change the view back to Console
8. Windows should go through the Found New Hardware routine and the USB device should become available to the VM
9. Simultaneously, it should disappear from the Ubuntu listing
10. Remember to use the removal procedure to "safely" remove the device

Oracle VM VirtualBox:
1. Plug the USB device into the host computer and let it come up under Ubuntu
2. Under Devices in the VM menu, choose USB Devices
3. The USB device should be in the list
4. Windows should go through the Found New Hardware routine and the USB device should simultaneously disappear from the Ubuntu system
5. Remember to use the removal procedure to "safely" remove the device

Edit: After you safely remove the USB device from Windows, you may still have to safely remove it from Ubuntu, if it reappears in that list.

Let me know if either of these helps...

Last fiddled with by EdH on 2013-01-07 at 02:58
EdH is offline   Reply With Quote
Old 2013-01-07, 08:21   #6
pinhodecarlos
 
pinhodecarlos's Avatar
 
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

115238 Posts
Default

Quote:
Originally Posted by EdH View Post
This is how I've accessed my USB drives on my machine(s). See if they help at all.

The following are for Virtual Machine Manager and Oracle VM VirtualBox, both in Fedora. They might be a little different, but probably similar for your system.

Oracle VM VirtualBox:
1. Plug the USB device into the host computer and let it come up under Ubuntu
2. Under Devices in the VM menu, choose USB Devices
3. The USB device should be in the list
4. Windows should go through the Found New Hardware routine and the USB device should simultaneously disappear from the Ubuntu system
5. Remember to use the removal procedure to "safely" remove the device

Edit: After you safely remove the USB device from Windows, you may still have to safely remove it from Ubuntu, if it reappears in that list.

Let me know if either of these helps...
Thank you. I'm trying it now to see if it works.
The problem is that under Windows VM I see the VBOX virtual machine as a USB device. When I do add a new filter device I don't see the external USB device plugin on Ubuntu but it is there. My "My Book" is plugin to ubuntu.

Last fiddled with by pinhodecarlos on 2013-01-07 at 08:29
pinhodecarlos is offline   Reply With Quote
Old 2013-01-07, 13:54   #7
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

73518 Posts
Default

I will try to put Oracle VM on one of my Ubuntu machines a little later and see if I note any differences. Unfortunately, I don't have any Win 7 to try it with, although the necessary connection architecture should be within the Oracle VM itself and not be dependent on the virtual OS.
EdH is offline   Reply With Quote
Old 2013-01-07, 14:54   #8
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11×347 Posts
Default

Oracle VM under Ubuntu doesn't work with USB here, either.

I found the following statement (although it's old):
Quote:

If you've installed the VirtualBox version from the repositories, then this is the "OSE" or "Open Source Edition" and it doesn't support either USB connections or built-in RDP support on guest OS's.
at this page:

How to access USB in VirtualBox running Windows XP as guest OS

Bummer!! My Fedora version just worked right from the start, but I guess Ubuntu needs something more. I'm becoming less of a fan of Ubuntu every day. In fact, I have more of my math machines running antiX** now than Ubuntu...

**I haven't checked to see how Oracle VM works with antiX. It may not access USB there, either...
EdH is offline   Reply With Quote
Old 2013-01-07, 17:15   #9
pinhodecarlos
 
pinhodecarlos's Avatar
 
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

10011010100112 Posts
Default

EdH,

Without knowing it I made what that link tells but still doesn’t work.
I was wondering if I redo all steps from that link without uninstalling Oracle VM again will I need to install Windows 7 again? Will the virtual drive I created still be here available at Ubuntu?

Anyway, I don't have too much time because I will be travelling next Wednesday so tomorrow I will be taking the day off to make the bags.

Carlos

Last fiddled with by pinhodecarlos on 2013-01-07 at 17:16
pinhodecarlos is offline   Reply With Quote
Old 2013-01-07, 23:36   #10
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11·347 Posts
Default

Quote:
Originally Posted by pinhodecarlos View Post
EdH,

Without knowing it I made what that link tells but still doesn’t work.
I was wondering if I redo all steps from that link without uninstalling Oracle VM again will I need to install Windows 7 again? Will the virtual drive I created still be here available at Ubuntu?

Anyway, I don't have too much time because I will be travelling next Wednesday so tomorrow I will be taking the day off to make the bags.

Carlos
Carlos,

I believe that uninstalling and reinstalling will not remove the VMs. HOWEVER, to be more safe, I would use File>Export Appliance. This should, by default, create a file in the Documents directory with an ova extension (i.e. XXXX.ova, where XXXX is the VM name).

If the original VM doesn't appear with the new installation, you should be able to use File>Import Appliance to bring it back from the .ova file in your Documents folder.

Good luck with it.

Let me know how it turns out.

Ed
EdH is offline   Reply With Quote
Old 2013-01-08, 15:53   #11
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

381710 Posts
Default

Hi Carlos,

I had to go through a lot of BS, but I have USB support working with my Ubuntu 12.04 now. Here are the steps I needed to perform:

1. Install VirtualBox (base-binaries) from repository
2. Install VirtualBox from repository
3. Install VirtualBox-guest-additions from repository
4. Download the Extension Pack from Oracle VirtualBox
- I used the one under the "VirtualBox 4.1.24" link
5. Double-click the pack which brings up VirtualBox to run the installation script
6. Install gnome-system-tools from repository
7. Under "Dash home" search for users and click on "Users and Groups" icon
8. Under User, click on "Manage Groups"
9. Find vboxusers and highlight it
10. Chose "Properties" and check the username box
11. OK and authenticate the modification
12. Close everything and reboot Ubuntu
13. Open VirtualBox and go to Settings"
14. Check "Enable USB Controller" and add a New Filter
15. Then, power up the VM and choose Devices
16. Choose USB Devices, and the USB drive should be there. When you choose it, Windows should start its USB process

I think I gave you all the steps I used. I'm not sure all of them were necessary, but after all the BS, at least it's working here now.

I hope this was helpful. Let me know. (Have a good trip!)

Ed
EdH is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need a laptop... Dubslow Linux 4 2012-01-09 17:01
Best Laptop ever? hhh Hardware 5 2007-02-12 20:58
$100 laptop paulunderwood Hardware 3 2005-11-24 19:35
laptop 24/7??? OmbooHankvald Hardware 16 2005-11-08 15:14
Laptop CPU ndpowell Hardware 1 2005-07-07 21:10

All times are UTC. The time now is 07:55.


Sat Jul 17 07:55:18 UTC 2021 up 50 days, 5:42, 1 user, load averages: 1.45, 1.39, 1.34

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.