• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Execute startup script in Linux

 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • 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?
 
Tim Holloway
Saloon Keeper
Posts: 18300
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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 Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I#m doing that using VMBoxWare...
 
Tim Holloway
Saloon Keeper
Posts: 18300
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic