Posts: 2
Threads: 1
Joined: Aug 2009
Reputation:
0
Hey,
I use aserver computer to share a usb drive and printer so that me and my mother can both use them.
It was running xp, but in the interest of stablity, I decided to switch it to linux.
The problem is this:
When I share the drive with samba, it works fine and all, but when I reboot, the share is lost.
I had this problem in xp, but I solved it by mounting the drive to a folder on my system drive.
However, I am noob @ linux, so I don't know how to overcome this issue in a foreign os.
Tyvm, wheybags
P.S: Running ubuntu.
Posts: 3,631
Threads: 899
Joined: Dec 2003
Reputation:
0
you can place commands that you want run on every boot in /etc/rc.d/rc.local
take a look at that file and add a line to setup your share in there
cheers
anyweb
Posts: 955
Threads: 36
Joined: Sep 2008
Reputation:
0
How are you sharing the drive out with samba?
If you are editing your smb.conf file, then it should persist after a reboot.
I think your issue may be to do with the fact the USB drive isn't being remounted after a reboot, so samba shares out an empty directory, rather than the mounted drive. Is the USB drive mentioned in /etc/fstab at all?