VBOX with WIN 7 (access to Mint files?) [SOLVED]

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
wallyUSA
Level 6
Level 6
Posts: 1439
Joined: Thu Jun 08, 2017 2:31 pm
Location: Top of Georgia

VBOX with WIN 7 (access to Mint files?) [SOLVED]

Post by wallyUSA »

Hello, I installed VBOX with the WIN & option mentioned in the post "Installing Windows on VM". It is working and that is pleasing.
Now I would like to access the host Mint files or the USB drive.
I see an option for 'shared folder' but not sure how to set it up?
Also I can not how to assign the USB drive to the VBOX/WIN7 program.
Suggestions on which way to go and any tips?
shared folders.png
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
> If your query has been resolved, edit your original post and add <SOLVED> to the beginning of the subject line. This may help others find solutions. <

Dell Latitude 7490 Mint 21.3 Ker 5.15.0-102 Cinn 6.0.4
jerson
Level 3
Level 3
Posts: 181
Joined: Thu Dec 08, 2016 1:19 pm
Location: Bombay, India

Re: VBOX with WIN 7 (access to Mint files?)

Post by jerson »

In shared folders, you need to specify the drive/folder you wish to access.

For example, you might want to share the /dev/sda1 drive with VBOX guest, so, you need to place that entry in the shared folders.

Now, in W7, you need to access the shared drive as a network drive. You will find it under Network Places->VirtualBox shared folders->VboxSvr. Map network drive to this shared folder and you're done. You could mark the share as permanent in VBOX and let it connect at power on in the W7 guest.

A word of caution : Your shared folder/drive should be mounted and accessible or it will give you errors.

Good luck
Regards
Jerson
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: VBOX with WIN 7 (access to Mint files?)

Post by Cosmo. »

Using an USB drive in a virtual guest is a bad idea. Because of the mechanism, that gets used to switch the usb device from the host to the guest it will likely create data loss on the stick. This is no problem for other usb devices, but true for writable media (usually sticks).
arvY99
Level 3
Level 3
Posts: 102
Joined: Sat Sep 10, 2016 6:10 am

Re: VBOX with WIN 7 (access to Mint files?)

Post by arvY99 »

In case, for the Shared Folders feature to work you also likely need to install the Guest Additions into your guest system.
User avatar
wallyUSA
Level 6
Level 6
Posts: 1439
Joined: Thu Jun 08, 2017 2:31 pm
Location: Top of Georgia

Re: VBOX with WIN 7 (access to Mint files?)

Post by wallyUSA »

Cosmo. wrote:Using an USB drive in a virtual guest is a bad idea. Because of the mechanism, that gets used to switch the usb device from the host to the guest it will likely create data loss on the stick. This is no problem for other usb devices, but true for writable media (usually sticks).
OK, let's skip the USB. I am trying to share the 'Download' folder in Mint (more details to be posted). TY
> If your query has been resolved, edit your original post and add <SOLVED> to the beginning of the subject line. This may help others find solutions. <

Dell Latitude 7490 Mint 21.3 Ker 5.15.0-102 Cinn 6.0.4
User avatar
wallyUSA
Level 6
Level 6
Posts: 1439
Joined: Thu Jun 08, 2017 2:31 pm
Location: Top of Georgia

Re: VBOX with WIN 7 (access to Mint files?)

Post by wallyUSA »

arvY99 wrote:In case, for the Shared Folders feature to work you also likely need to install the Guest Additions into your guest system.
Guest Additions already installed. TY
> If your query has been resolved, edit your original post and add <SOLVED> to the beginning of the subject line. This may help others find solutions. <

Dell Latitude 7490 Mint 21.3 Ker 5.15.0-102 Cinn 6.0.4
User avatar
wallyUSA
Level 6
Level 6
Posts: 1439
Joined: Thu Jun 08, 2017 2:31 pm
Location: Top of Georgia

Re: VBOX with WIN 7 (access to Mint files?)

Post by wallyUSA »

jerson wrote:In shared folders, you need to specify the drive/folder you wish to access.

For example, you might want to share the /dev/sda1 drive with VBOX guest, so, you need to place that entry in the shared folders.

Now, in W7, you need to access the shared drive as a network drive. You will find it under Network Places->VirtualBox shared folders->VboxSvr. Map network drive to this shared folder and you're done. You could mark the share as permanent in VBOX and let it connect at power on in the W7 guest.

A word of caution : Your shared folder/drive should be mounted and accessible or it will give you errors.

Good luck
Do not know how to find /dev/sda1 drive. On W7 I click VboxSvr but it is empty. I am trying to share 'Downloads' on Mint. 'Downloads' already marked as 'share'.
Suggestions? :?:
> If your query has been resolved, edit your original post and add <SOLVED> to the beginning of the subject line. This may help others find solutions. <

Dell Latitude 7490 Mint 21.3 Ker 5.15.0-102 Cinn 6.0.4
jerson
Level 3
Level 3
Posts: 181
Joined: Thu Dec 08, 2016 1:19 pm
Location: Bombay, India

Re: VBOX with WIN 7 (access to Mint files?)

Post by jerson »

You need to find out which hard disk your Downloads resides on. The usual convention is that harddisk1 is called sda, partition 1 of hard disk 1 is called sda1, partition 2 of hdd1 is sda2 and so on. Harddisk2 would be sdb and the partitions on it sdb1, sdb2 etc

So, you need to identify the hard disk on which your folder resides and share that in VBox

In Mint, it is possible to know the hard disk number / partition names by running the 'inxi -Fxzi' command from a terminal
Regards
Jerson
User avatar
wallyUSA
Level 6
Level 6
Posts: 1439
Joined: Thu Jun 08, 2017 2:31 pm
Location: Top of Georgia

Re: VBOX with WIN 7 (access to Mint files?)

Post by wallyUSA »

jerson wrote: In Mint, it is possible to know the hard disk number / partition names by running the 'inxi -Fxzi' command from a terminal
OK, it is /dev/sda.
What or where do I use this info? :?:
> If your query has been resolved, edit your original post and add <SOLVED> to the beginning of the subject line. This may help others find solutions. <

Dell Latitude 7490 Mint 21.3 Ker 5.15.0-102 Cinn 6.0.4
User avatar
wallyUSA
Level 6
Level 6
Posts: 1439
Joined: Thu Jun 08, 2017 2:31 pm
Location: Top of Georgia

Re: VBOX with WIN 7 (access to Mint files?)

Post by wallyUSA »

wallyUSA wrote:
jerson wrote: In Mint, it is possible to know the hard disk number / partition names by running the 'inxi -Fxzi' command from a terminal
OK, it is /dev/sda.
What or where do I use this info? :?:
Actually there is more:
Drives: HDD Total Size: 120.0GB (47.2% used)
ID-1: /dev/sda model: Corsair_Force_LS size: 120.0GB
Partition: ID-1: / size: 105G used: 48G (48%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 6.32GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
> If your query has been resolved, edit your original post and add <SOLVED> to the beginning of the subject line. This may help others find solutions. <

Dell Latitude 7490 Mint 21.3 Ker 5.15.0-102 Cinn 6.0.4
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: VBOX with WIN 7 (access to Mint files?)

Post by Cosmo. »

In the dialog from your starting post do the following:

Click at the right top the icon with the + sign, now you get a sub-dialog where you get asked for the path. Click the arrow to the right and select to change. What you see now is the quite usual "open folder" dialog, where you should see the Downloads folder at the left. Open it, click the OK button and you are back in the sub-dialog. Whether you want to make the shared folder writable from inside of the guest is your choice, but activate in any case to mount automatically. Click OK until you have closed all dialogs and boot the VM to check, whether you see the shared folder. In a Windows guest this folder will appear as an additional drive letter.
User avatar
wallyUSA
Level 6
Level 6
Posts: 1439
Joined: Thu Jun 08, 2017 2:31 pm
Location: Top of Georgia

Re: VBOX with WIN 7 (access to Mint files?)

Post by wallyUSA »

Cosmo. wrote:In the dialog from your starting post do the following:

Click at the right top the icon with the + sign, now you get a sub-dialog where you get asked for the path. Click the arrow to the right and select to change. What you see now is the quite usual "open folder" dialog, where you should see the Downloads folder at the left. Open it, click the OK button and you are back in the sub-dialog. Whether you want to make the shared folder writable from inside of the guest is your choice, but activate in any case to mount automatically. Click OK until you have closed all dialogs and boot the VM to check, whether you see the shared folder. In a Windows guest this folder will appear as an additional drive letter.
Dear Cosmo - It worked - Thank you :D
> If your query has been resolved, edit your original post and add <SOLVED> to the beginning of the subject line. This may help others find solutions. <

Dell Latitude 7490 Mint 21.3 Ker 5.15.0-102 Cinn 6.0.4
Locked

Return to “Virtual Machines”