LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
LinkBack Search this Thread
Old 08-12-2013, 01:27 AM   #1
saintkay
LQ Newbie
 
Registered: Aug 2007
Location: Kampala, Uganda, East Africa
Distribution: debian 4.0
Posts: 27

Rep: Reputation: 0
Question Physically Mounting A USB Disk Under a VM


Hello Guys, Thanks for the nice Job of keeping this forum alive.
Currently I am Running a couple of UNIX Virtuals on my Win7 Box and of recent I managed to acquire a new USB 2TB external HD which I want to use for My Backups.
But because of issues with Windows Virus/Malware and the fact that i would love to physically share this drive with my linux desktop at work, i just want to mount it under one of the VMs.
So my question is; is it possible to physically mount this USB Disk under one of UNIX virtual machines because for reasons above I don't want to use virtual Disks on it.

Last edited by saintkay; 08-12-2013 at 01:51 AM.
 
Old 08-12-2013, 03:21 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 10,246

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
Yes, Maybe and no. What VM are you using? Does this unix also support usb devices?
 
Old 08-13-2013, 12:33 PM   #3
saintkay
LQ Newbie
 
Registered: Aug 2007
Location: Kampala, Uganda, East Africa
Distribution: debian 4.0
Posts: 27

Original Poster
Rep: Reputation: 0
am using a blend of Ubuntu, debian and recently I am totally switching to FreeBSD. Its totally cool. hope this helps.
 
Old 08-13-2013, 02:22 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 10,246

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
I still would need to know the application you are using on Windows 7. Almost every virtual machine supports a way to attach a physical disk and/or usb to the client. The notable exception is VirtualPC. Every VM has pretty clear documentation on how to attach a usb device to the client.

A few of the VM's also offer a sort of integration add on that allows you to cut and paste across host and client and offers some video and other improvements.

Last edited by jefro; 08-14-2013 at 02:52 PM.
 
Old 08-14-2013, 03:38 AM   #5
saintkay
LQ Newbie
 
Registered: Aug 2007
Location: Kampala, Uganda, East Africa
Distribution: debian 4.0
Posts: 27

Original Poster
Rep: Reputation: 0
Am running Virtual box 4.0 on windows 7. hope this helps.
 
Old 08-14-2013, 03:01 PM   #6
jefro
Guru
 
Registered: Mar 2008
Posts: 10,246

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
There are basically four ways to get a usb drive to be accessed by virtualbox. One is to attach a filter to the vm settings before you boot the client. Two is to attach the usb after it is booted. Third is to use some form of transfer like ftp, smb over the virtual network or even add in guest additions to cut and paste. If you keep linux only there would only be the smallest chance any cross platform virus would attack. Dunno why the VB documents are some complex. Simple video should be out there to show how to do it.
 
1 members found this post helpful.
Old 08-14-2013, 03:19 PM   #7
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid + various in VMs.
Posts: 2,855

Rep: Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626
To attach USB drives to VM guests all I have done in the past is plug them in, unmount them in Windows (don't recall what the command is though, sorry I think it's available on the right-click menu in Computer or explorer) then select the USB stick uncer Devices->USB devices in VirtualBox's menu for the guest.
 
Old 08-15-2013, 02:48 PM   #8
jefro
Guru
 
Registered: Mar 2008
Posts: 10,246

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
I don't even bother unmounting (you don't want to eject) it in windows. I just go to the options where it allows you to select usb devices, then attach. It takes a while to show up. It also may say something like installing new device in windows during this process.

In some cases I have had to use a filter on the client before it is booted. Either way would be the most common ways.
 
Old 08-16-2013, 12:55 AM   #9
saintkay
LQ Newbie
 
Registered: Aug 2007
Location: Kampala, Uganda, East Africa
Distribution: debian 4.0
Posts: 27

Original Poster
Rep: Reputation: 0
Thanks alot guys. let me give it a go and see what i come up with.
 
Old 08-23-2013, 11:18 AM   #10
saintkay
LQ Newbie
 
Registered: Aug 2007
Location: Kampala, Uganda, East Africa
Distribution: debian 4.0
Posts: 27

Original Poster
Rep: Reputation: 0
yipeee. I finally made it work using the USB filters. thanks a lot guys for the help.
 
Old 08-23-2013, 03:23 PM   #11
jefro
Guru
 
Registered: Mar 2008
Posts: 10,246

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
Seems like filters work better on linux or odd format or unpartitioned drives.

Thanks for the update. Mark it as solved maybe.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Messages errors with a SATA Hard Disk which is physically WRITE-PROTECTED - Red Hat 6 redrat Linux - Hardware 2 11-18-2011 03:47 AM
Is it possible for a system lock to physically kill a disk? damgar Linux - Hardware 2 08-17-2010 12:32 AM
How do physically identify a failed RAID disk? horde Linux - General 5 02-17-2008 04:23 AM
Mounting a USB disk mabeken Linux - Hardware 4 04-03-2006 08:52 AM
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM


All times are GMT -5. The time now is 05:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration