PDA

View Full Version : File transfer in Virtual Box


Sunny1211993
05-04-2008, 08:12 PM
Guys,I installed VB today and installed XP and its running too smooth till now but the only prob is that i cant transfer fiels btw my ubutnu partitions and XP on virtual PC.how do i do that??
Help wud be appreciated:D

praka123
05-04-2008, 08:19 PM
someone suggested setting up samba server between host and guest :?

Gigacore
05-04-2008, 08:30 PM
i had same prob with my VMware in XP which was running ubuntu.. Still couldn't figure how to do it, so using ma pen drive :))

Sunny1211993
05-04-2008, 08:37 PM
i cant use a 4 GB pendrive to transfer fugging 6GB games!! :mad:

BTW does VM use its own proccy,GPU etc or it uses the real components coz it automatically detected sound card without installing any drivers?

@giga u can use vmplayer to transfer files btw host and guest OS by just dragging and dropping

Gigacore
05-04-2008, 08:48 PM
^ no instead, I opted for VMware tools, but i was not happy with it

infra_red_dude
05-04-2008, 09:00 PM
Open virtual box. Right click on the virtual machine and select Settings. Now on the left pane select "Shared folders". Share a folder on your physical drive.

Now boot into the guest OS. Once booted, press the "Focus out" key (right ctrl key by default), then goto Devices Menu and select "install guest addons".

The shared folder will now appear as a Network shared folder in Windows. Mount it and share files between the guest and host OS.

Sunny1211993
05-04-2008, 09:02 PM
adn what abt transferring files from guest to host?
i dont wanna create another thread so im asking this question here-
can u tell me any scheduler for ubutnu?i wanna plan my DLs as i have a NU plan.

infra_red_dude
05-04-2008, 09:07 PM
Guest to Host and vice versa. Unless you make the physical folder read-only in guest file transfer to and fro is possible.

Scheduler? Cron! The most powerful! Don't ask me how to use it, tho :D

praka123
05-04-2008, 09:14 PM
@saany: open a terminal type "man 5 cron" ;)

Sunny1211993
05-04-2008, 09:29 PM
Open virtual box. Right click on the virtual machine and select Settings. Now on the left pane select "Shared folders". Share a folder on your physical drive.

Now boot into the guest OS. Once booted, press the "Focus out" key (right ctrl key by default), then goto Devices Menu and select "install guest addons".

The shared folder will now appear as a Network shared folder in Windows. Mount it and share files between the guest and host OS.
It shows me only my filesystem partition but not the other ones :(

mehulved
05-04-2008, 09:30 PM
gnome-schedule, it uses cron.
Actually it's easy to use cron unless you want to do complicated stuff. I usually use cron to edit signatures attached to my mails.
It goes something like this
crontab -e

0 0 * * * ~/.mutt/signature

~/.mutt/signature is the path to script which generates my signature.

MetalheadGautham
05-04-2008, 09:31 PM
someone suggested setting up samba server between host and guest :?
Remember who this advice is targeted at.
Imagine Sunny setting up a Samba Server :lol:
Poor guy is having enough troubles already :lol:

mehulved
05-04-2008, 09:34 PM
To start a GUI program at midnight, it would be something like this

0 0 * * * DISPLAY = :0.0 /usr/bin/deluge

Sunny1211993
05-04-2008, 09:36 PM
Remember who this advice is targeted at.
Imagine Sunny setting up a Samba Server :lol:
Poor guy is having enough troubles already :lol:
Bull$h1t!!!
im having problems and u are showing ur batti si?

T159
05-04-2008, 09:39 PM
samba config is easy :)

http://2tap.com/2007/04/22/sharing-files-between-a-windows-guest-and-ubuntu-host-using-vmware-and-samba/

mehulved
05-04-2008, 09:40 PM
Remember who this advice is targeted at.
Imagine Sunny setting up a Samba Server :lol:
Poor guy is having enough troubles already :lol:
Basic configuration is hardly any difficult. It's quite easy acutally.
And then again, there's SWAT.

infra_red_dude
05-04-2008, 10:22 PM
@Sunny
There are 2 versions of Virtual Box

1) Binary (available from sun's website)
2) Opensource edition (OSE) in ubuntu repos. Which one are you using?

This guide may help you: http://ubuntu-tutorials.com/2008/02/01/how-to-do-seamless-window-integration-with-ubuntu-virtualbox/

shady_inc
05-04-2008, 10:41 PM
someone suggested setting up samba server between host and guest :?
No need.The shared folder thing suggested by infra works fine for me in OSE edition.
@ Sunny: you will need to install Guest additions in XP and not in Ubuntu.
Me is thinking of installing opensolaris express as guest in Ubuntu.Have got vacations, so too much free time nowadays :D Any solaris user can share his experience with it here.?

mehulved
05-04-2008, 11:42 PM
I have just started with OpenSolaris. But haven't explored further due to lack of time. But, it's too slow on my 2GHz proccy. I have allocated 768MB of RAM to it, that's good enough. But, my processor always hangs around 95-100%. And firefox didn't even start after 20 mins both the times I tried.

ChaiTan3
06-04-2008, 04:14 PM
It shows me only my filesystem partition but not the other ones :(
You can go the media directory in the filesystem partition to access your other drives.

Sunny1211993
06-04-2008, 06:40 PM
You can go the media directory in the filesystem partition to access your other drives.
THNX:D

MetalheadGautham
07-04-2008, 04:53 PM
@sunny: I am just saying that its not advisable to use sambha when you have no idea what you are doing. Even one of my geek friends got screwed by Apache the first time he used it. Sambha is similar.

And yes, use the Virtual Box version thats the Personal Use Editon, available on their site. I remember that you could mount other partitions in it.

infra_red_dude
07-04-2008, 09:48 PM
^^^ What are you saying, pal??!!! "Sambha" is similar to "Apache"??!!!

And there is no "Personal Use Edition".. now whatever that means! There is either the binary one that available at Sun's site or the OSE one whose sources are available at innotek's site.

infra_red_dude
14-04-2008, 08:21 PM
@Sunny
Did you get past this thing? I logged onto to virtualbox after a long time and remembered this query of yours.