Virtualbox Shared Folder Help

Post here if you are a new Porteus member and you're looking for some help.
User avatar
anandisrocking007
Black ninja
Black ninja
Posts: 47
Joined: 20 Jun 2015, 05:12
Distribution: KDE4
Location: Kolkata

Virtualbox Shared Folder Help

Post#1 by anandisrocking007 » 21 Jul 2015, 14:35

Hi everyone I ran Porteus in virtualbox through an .iso included also a guest addition module in it with the help of poweriso and the guest addition worked flawlessly but I am not able to create a shared folder through which I can share my files between my guest and the host machine can someone help me

Note the extensions are also installed

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Virtualbox Shared Folder Help

Post#2 by francois » 21 Jul 2015, 18:30

The instructions in the help menu of virtual box are self-explanatory. You need the virtualbox guest additions for the share folder. :)

Edited: I might come back with more explicit explanations tomorrow. I might find some time to finish that type of installation. I am a little rusted with vbox. :(
Prendre son temps, profiter de celui qui passe.

User avatar
sunnysideofthesun
Black ninja
Black ninja
Posts: 62
Joined: 24 Apr 2015, 22:16
Distribution: other
Location: check the logs

Re: Virtualbox Shared Folder Help

Post#3 by sunnysideofthesun » 21 Jul 2015, 19:47

If you don't know where is Help menu, then have an URL instead https://www.virtualbox.org/manual/ch04. ... redfolders

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Virtualbox Shared Folder Help

Post#4 by francois » 24 Jul 2015, 18:53

Hum! I get some problem of space with my vbox virtual partitions. I get an error message saying that the disk is full, while gparted tells me that there is more than enough. I will have to fix this before working with the share folder issue. :(
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Virtualbox Shared Folder Help

Post#5 by francois » 25 Jul 2015, 04:43

Installing a shared folder for a porteus guest in a linux host.

1.0 start your porteus or linux os in vbox
2.0 install the guest additions and reboot
3.0 In the vbox menu at the top of your guest window:
Devices > shared folders > shared folders settings > machine folders > folder + (at right) > other (for whatever folder on your hdd host)
4.0 Once the selected folder is choosen, for example /mnt/sda5, you have to mount it:
example for selecting /mnt on hdd of the guest:

Code: Select all

root@porteus:~# mkdir /mnt/shares
root@porteus:~# mount -t vboxsf "mnt" /mnt/shares
root@porteus:~# 
in which "mnt" is sda5 for example

You will find the tree of folders of /mnt/sda5 in your porteus guest /mnt/shares
Prendre son temps, profiter de celui qui passe.

User avatar
anandisrocking007
Black ninja
Black ninja
Posts: 47
Joined: 20 Jun 2015, 05:12
Distribution: KDE4
Location: Kolkata

Re: Virtualbox Shared Folder Help

Post#6 by anandisrocking007 » 27 Jul 2015, 06:58

francois wrote:Installing a shared folder for a porteus guest in a linux host.

1.0 start your porteus or linux os
2.0 install the guest additions
3.0 In the vbox menu at the top of your gues window:
Devices > shared folders > shared folders settings > machine folders > folder + (at right) > other (for whatever folder on your hdd host)
example for selecting /mnt/sda7 on hdd:

Code: Select all

root@porteus:~# mkdir /mnt/shares
root@porteus:~# mount -t vboxsf sda7 /mnt/shares
root@porteus:~# 
You will find the tree of folders of /mnt/sda7 in your porteus guest /mnt/shares
Thanks a ton

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Virtualbox Shared Folder Help

Post#7 by francois » 27 Jul 2015, 15:50

Edited my above post for a better description of the procedure. :)

Is this thread solved to the satisfaction of the demander?
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Virtualbox Shared Folder Help

Post#8 by francois » 02 Oct 2015, 16:37

I thank myself for such useful information on shared folders. Without this thread I would have to do some research again. 8)

I like necro bumping, as I think that information does not become obsolete with time, but on the contrary like red wine, is grewing better in maturity. Unless, the contrary. :(
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Virtualbox Shared Folder Help

Post#9 by francois » 17 May 2018, 14:29

This thread is still useful and alive. B)
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Virtualbox Shared Folder Help

Post#10 by francois » 27 Dec 2020, 02:37

Modified post for more precision on where to mount the /mnt/shares, that is on the guest. :)
Prendre son temps, profiter de celui qui passe.

Post Reply