You are not logged in.

#1 2008-12-31 01:16:12

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Automatically mounting a share in an Arch Virtual Machine

I am installing an arch virtualized system on a windows 2003 R2 ...
The wiki works fine for mounting the shared folders:

# mount -t vboxsf [-o OPTIONS] sharename mountpoint


but i have to do this everytime i boot the system up

How can i make the system to automaticaly mount a folder on every startup?

Thanks!

BTW, i am mounting the share in /mnt/Shared , i think and hope this is correct....

Last edited by Xi0N (2008-12-31 01:16:53)

Offline

#2 2008-12-31 01:39:46

sirius
Member
From: Norway
Registered: 2008-12-25
Posts: 68

Re: Automatically mounting a share in an Arch Virtual Machine

Add the mount command to your /etc/rc.local :-)

Offline

#3 2008-12-31 01:47:23

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: Automatically mounting a share in an Arch Virtual Machine

Add this to the /etc/fstab in your guest:

share /your/mount/point vboxsf defaults,uid=123,gid=456 0 0

The uid and gid are optional.  Make sure vboxadd and vboxvfs are in the MODULES array in rc.conf, and that should do it.

Offline

#4 2008-12-31 14:04:17

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: Automatically mounting a share in an Arch Virtual Machine

Thanks!!!

Offline

Board footer

Powered by FluxBB