Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Virus, Spyware, and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


 
Reply to this topicStart new topic
> How would I make this command run at start up?
haun
post Nov 15 2009, 06:38 PM
Post #1


Forum Regular
***

Group: Members
Posts: 150
Joined: 1-September 08
From: Denver, CO
Member No.: 235,066



i am using Virtual Box to run Xubutu and I have a shared folder setup that works, but the problem is that i have to enter it into the terminal every time i start up the machine.

this is the code:
CODE
mount -t vboxsf shared /home/ian/Desktop/Shared


--------------------
Annnnd you're, asking, me...
Go to the top of the page
 
+Quote Post
powerjuce
post Nov 15 2009, 07:31 PM
Post #2


Forum Regular
***

Group: Members
Posts: 318
Joined: 24-February 08
Member No.: 192,241



You can add this line into the /etc/fstab file:

CODE
shared /home/ian/Desktop/Shared vboxsf users,defaults,umask=000 0 0


To do so, follow these steps.
  1. Press Alt+F2 (Or whatever key combo to launch the run application window)
  2. Enter "gksu gedit /etc/fstab" (without the quotes). Then hit enter.
  3. Enter you password when prompted.
  4. Simple copy and paste
    CODE
    shared /home/ian/Desktop/Shared vboxsf users,defaults,umask=000 0 0
    into the next available line.
  5. Save, and close the file.
  6. Reboot, and you should see the folder created.

That should auto-mount the drive with full permissions to use.

I hope that helps

~powerjuce
Go to the top of the page
 
+Quote Post
haun
post Nov 15 2009, 09:37 PM
Post #3


Forum Regular
***

Group: Members
Posts: 150
Joined: 1-September 08
From: Denver, CO
Member No.: 235,066



That didnt really work, in "Places" it shows the Shared mount, but says "only root is allowed to mount from host"


--------------------
Annnnd you're, asking, me...
Go to the top of the page
 
+Quote Post
powerjuce
post Nov 16 2009, 07:08 PM
Post #4


Forum Regular
***

Group: Members
Posts: 318
Joined: 24-February 08
Member No.: 192,241



Hey haun

Repeat the steps (if u deleted something).
After step 5 however type in.
CODE
sudo mount -a

that should mount the drive.

Reboot and the drive should still be there.

~powerjuce
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 15th March 2010 - 08:31 PM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Virus Removal Guides

© 2003-2010 All Rights Reserved Bleeping Computer LLC.