Jump to content

i have windows 10 home as a main system and i am using an ubuntu 20.04 vm (using oracle virtualbox). The problem is thet i can't share file from the vm to the main system and viceversa, any suggestion?

the vm has on it 6 threads, 8gb ram and 12gb hard disk, while the main system has the other 10 threads, 8gb ram if this can help to find a solution

Link to comment
https://linustechtips.com/topic/1267858-virtual-machine-file-sharing/
Share on other sites

Link to post
Share on other sites

Probably the easiest way to do this is to just startup an http server using python and then navigating to it with your main system. You can do this by typing python -m http.server 9000 (without quotes) into the terminal. 9000 is the port. You can use any port that you want but that's just the one that I use. When you close out of the terminal or press Ctrl+Z it will stop that server from running. Just make sure you're at the proper directory when you do this.

Link to post
Share on other sites

2 minutes ago, jaslion said:

Depending on what you are using and whatnot you could make a shared folder. I usually just do a network shared folder in windows real quick with everyone acces read/write and call it a day.

i already tried this both from ubuntu and windows but they do not want to detect each other

 

Link to post
Share on other sites

1 minute ago, Blade_792 said:

i already tried this both from ubuntu and windows but they do not want to detect each other

 

You have your network settings set correctly? So that the ubuntu vm is just on the network the windows machine is at and not using the windows machine as it's source of network access but basically connecting directly to the network itself?

Link to post
Share on other sites

4 minutes ago, jaslion said:

You have your network settings set correctly? So that the ubuntu vm is just on the network the windows machine is at and not using the windows machine as it's source of network access but basically connecting directly to the network itself?

i thinck this could be the problem because windows is on wifi and the ubuntu vm detect internet from a cable that do not exist.

how can i solve this?

Link to post
Share on other sites

You set network settings to bridged in virtualbox and select your wifi adapter, it'll then appear as if it was another physical machine on your network.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×