Transferring Data to an External Harddrive

This is for discussing general topics about how to use VirtualBox.
Post Reply
Euan
Posts: 2
Joined: 19. Mar 2014, 12:55

Transferring Data to an External Harddrive

Post by Euan »

Hey all,

So for my dissertation this year at University, I have been tasked to use openSource software on linux to run simulations. I managed to dual boot my laptop and it runs well .

Recently, I built a desktop PC on and I had to resort to using a virtual machine due to hardware incompatibility issues. On this virtual machine I run simulations my laptop can't handle. This generates a lot of data that I would like to have on an external hard drive to show to other people in the department more easily. However, when I go to transfer data from this virtual machine on to an external hard drive/USB it seems to corrupt it every single time and I need to format it. Just now I am having to upload it to the likes of dropbox and download it via my laptop (hardly a time efficient solution).

Does anyone have a suggested method of transferring data in this manner or has anyone encountered similar problems?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Transferring Data to an External Harddrive

Post by mpack »

Since you don't tell us what you already tried, or what you mean by "corruption", it's hard to suggest alternatives.

For transferring data to and from a VM, USB drives can be added directly, or GA or standard shared folders can be used.
Euan
Posts: 2
Joined: 19. Mar 2014, 12:55

Re: Transferring Data to an External Harddrive

Post by Euan »

Thanks for the response

Sorry I should have said.

I have connected my hard drive and allowed the virtual machine to gain access to it. Then I just copy and paste the files over. When I disconnect and try and access the data from my laptop/windows/any machine I can't access it and have to reformat the drive.

Is their something that I am missing or could you expand how you would add USB drives directly?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Transferring Data to an External Harddrive

Post by mpack »

I'm still finding your description somewhat vague, e.g. "connected my hard drive and allowed the virtual machine to gain access to it". Access how? Virtual machines as a rule do not have access to host drives, so depending on what you mean this could certainly be a cause of corruption.

I won't expand on the USB method since that isn't the method I'd recommend. I would recommend using a shared folder.
rpmurray
Volunteer
Posts: 918
Joined: 3. Mar 2009, 00:29
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Mac OS X (various flavors)
Location: Between Heaven and Hell

Re: Transferring Data to an External Harddrive

Post by rpmurray »

How did you format your external drive and what format is your linux virtual machine expecting?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Transferring Data to an External Harddrive

Post by mpack »

rpmurray wrote:How did you format your external drive and what format is your linux virtual machine expecting?
Doesn't fit, AFAICS. If the drive was being directly connected to the guest then the OP would have to know if the guest recognized the filesystem. If he's using shared folders then the filesystem doesn't matter.
Post Reply