• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Execute startup script in Linux

 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys,

In my VMBox, I have Ubuntu guest OS. I have a shared folder created. I would like to know how to get that shared folder mounted each and every time I bring my Ubuntu guest OS up. Where could I locate the startup scripts?
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How are you sharing it? If you're using NFS or Samba/cifs/Windows File Shares (3 names for the same thing), you'd simply define a mount point and add an entry to the VM's /etc/fstab directory just like you would on a stand-alone system.
 
Joe San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I#m doing that using VMBoxWare...
 
Tim Holloway
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you're not so much "sharing" as you are publishing a part of the host's filesystem into the guest. The main differences are that 1) - the "share" is presented as a virtual hard drive and 2) you probably aren't provided with filesystem locks that true sharing needs where both host and guest can write to files without danger of corruption.

If you're doing the virtual hard drive thing, just make note of what virtual device ID it uses (for example, /dev/sdb) and create a mount in fstab jiust like you would for NFS or Samba. Or an actual physical hard drive.
reply
    Bookmark Topic Watch Topic
  • New Topic