0

I have VirtualBox installed in Windows 8.1 and I am using it to launch and use CentOS 7 within VirtualBox. When I connect a USB drive to the computer, and right click over the icon circled in the image below, it lists the correct name of the USB drive that has been inserted. But Then I am not able to find the USB drive within the CentOS 7 file manager.

I read this other posting but using its methods caused the CentOS 7 terminal to reply group vboxusers does not exist and bash VBoxManage: command not found...

What do I need to do in order to connect to and manipulate the USB drive from within CentOS 7 running within VirtualBox installed in Windows 8.1?


EDIT:


I re-installed the VirtualBox Extension Pack and rebooted the PC. Now, when I insert the USB drive, VirtualBox is able to "claim" it, either by right clicking on the icon in the image shown above, or by clicking Devices > USB Devices > Device Name. Either of these two methods now causes a check mark to be added next to Device Name in VirtualBox, while also causing a system sound, and also causing Windows Explorer to stop seeing the usb drive, so that the USB drive disappears from Windows Explorer and is marked in VirtualBox as selected.

But the problem is that the CentOS 7 installation inside VirtualBox cannot seem to see the USB drive. The USB device itself is an Apricorn SATA Wire 3.0 connector to the hard drive from a dead PC that had CentOS 7 and Windows 7 installed in a dual boot fashion. I want to access the data from the CentOS partition of the old hard drive using the CentOS 7 running inside VirtualBox on the new PC. Now that VirtualBox can see the USB device, how can I get CentOS 7 to see and manipulate the USB device?

  • What action does your host Win take when inserting the usb drve? – Nils Jun 11 '16 at 14:50
0

I guess your virtualbox is missing the USB extension pack. Please do download it from the respective website and add that extenstion pack to your virtualbox using the below stelps,

  1. File-> Preferences ->Extensions-> Add extension.

Hope it works.

  • Where is the File menu? I do not see it in either VirtualBox or in CentOS. – CodeMed Jun 23 '15 at 17:02
  • Please see EDIT to my OP showing progress. Any suggestions? – CodeMed Jun 23 '15 at 18:18
  • You will get the file menu from the virtualbox. You didn't mentioned about your virtualbox so I assumed that you might be using Orcale VM Virtualbox – Thushi Jun 24 '15 at 5:32
  • Does USB drive mounted on your CentOS 7? – Thushi Jun 24 '15 at 5:35
  • Thank you. I found the file menu, but what is the download link for the USB extension pack that you recommend? – CodeMed Jun 24 '15 at 5:38
0

When a USB storage device is connected to a CentOS system, it (and its partitions) should appear as /dev/sd* devices. You can use the lsblk or lsscsi commands to identify the devices, or read /proc/partitions to see a list of disk/partition devices and their sizes.

A desktop environment might offer to auto-mount a regular USB stick with just a single filesystem on it, but a hard drive with multiple partitions and different filesystem types might be regarded by the desktop environment as "too complex to mount automatically": you may have to use the mount command as root to choose the partition(s) you wish to mount and the desired mountpoint(s).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.