LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to transfer files from virtual HD to real HD? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-transfer-files-from-virtual-hd-to-real-hd-721193/)

linus72 04-23-2009 11:43 AM

how to transfer files from virtual HD to real HD?
 
If I had a virtual HD on a USB, plugged into a host computer, how would I get files from the vhd to the host's hd?
note the vhd is connected to a Linux distro which plays via qemu from the usb...
any ideas?
thanks.

Udi 04-23-2009 11:50 AM

You'll need to have ssh server on either the host or guest machine, and use scp from the other machine to copy the files over. Any other file sharing method can also be used (like SMB, NFS etc...) but most probably you already have scp so just use that.

kapilbajpai88 04-23-2009 12:58 PM

Quote:

Originally Posted by linus72 (Post 3518604)
If I had a virtual HD on a USB, plugged into a host computer, how would I get files from the vhd to the host's hd?
note the vhd is connected to a Linux distro which plays via qemu from the usb...
any ideas?
thanks.

Hi There,

Mounting VHD(your usb) will help you in a better way. I am not very sure whether VHD can be mounted or not but u can give a try.
After mounting it you can directly copy the files using cp -rv * command

Cheers,
Kapil


All times are GMT -5. The time now is 02:40 PM.