automatically mount a shared folder in Ubuntu guest

Asked by eyekhay@hotmail.co.uk

I still cannot get the shared folder to automatically load each time i start Ubuntu
This is a list of the steps i have carried out so far:

1 - I have installed the guest additions
2 - I have specified a folder to share and the name of the folder is "FOLDERS" whick is located on my "K drive" which is an external drive
3 - sudo mkdir /media/windows-share
4 - sudo mount -t vboxsf folders /media/windows-share
5 - gksudo gedit /etc/init.d/rc.local /mount -t vboxsf folders /media/windows-share
6 - ls /media/windows-share (this command listed the contents of the shared folder)
7 - Each time i restart the Ubuntu operating system, the folder would not be mounted unless i have to go through the same process of mounting it again each and everytime. Please, from the description i have given above, could you tell me what i have done wrong and possibly how to make sure that the shared folder is automatically mounted each time i start the Ubuntu guest operating system. I look forward to your response. Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
eyekhay@hotmail.co.uk
Solved:
Last query:
Last reply:
Revision history for this message
Attila Vági (avagi) said :
#1

Check you file system table:
# cat /etc/fstab
You should inlude the presistent mounts in this file, to get they mounted at any boot time.

Revision history for this message
Attila Vági (avagi) said :
#2

Check your file system table:
# cat /etc/fstab
You should inlude the presistent mounts in this file, to get they mounted at any boot time.

Revision history for this message
eyekhay@hotmail.co.uk (eyekhay) said :
#3

Please do not be offended but how do i check my "file table system" and where exactly should i include the command "cat/etc/fstab"? Please i am a novice in this field, your patience is greatly appreciated. Thank you

Revision history for this message
eyekhay@hotmail.co.uk (eyekhay) said :
#4

Solved