LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-29-2012, 03:17 AM   #16
toothandnail
Member
 
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, SolydX, Salix64
Posts: 74

Rep: Reputation: 6

Glad it worked....

I suspect the reason it failed to work in fstab is the lack of an absolute path, but there might also be issues with network startup on boot.

Anyhow, great that you've to it working.

Paul.
 
Old 05-29-2012, 03:33 AM   #17
toothandnail
Member
 
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, SolydX, Salix64
Posts: 74

Rep: Reputation: 6
Quote:
Originally Posted by Polymorph View Post
Is there any startup script that I could put the mount statement into to get the drive mounted on startup? I have tried ~/.profile and /etc/bash.bashrc but I am just guessing
Sorry, missed this. The normal place for that type of command in a Debian based system would be /etc/rc.local The mount command requires root access, and rc.local will run with the correct access.

There may be a problem with the network layer not being fully operational when rc.local is run. I suspect that would depend mainly on whether you're using a wired or wireless connection to the router. If its wireless, the mount command in rc.local will probably not work - Network Manager will only run when you log in as a user, which will be after rc.local has run.

Quote:
Thanks for all your help
You're welcome.

Paul.
 
Old 05-29-2012, 10:35 AM   #18
Polymorph
LQ Newbie
 
Registered: Dec 2010
Location: NSW, Australia
Distribution: Xubuntu 12.40
Posts: 18

Original Poster
Rep: Reputation: 1
I found this - http://opensuse.swerdna.org/susesambacifs.html#fstab

I put
Quote:
//192.168.0.1/USB /USB cifs guest,_netdev 0 0
into /etc/fstab and the USB drive mounts on startup without any problem.

I will have to switch the modem on and let it boot fully so that the drive is available before starting the computers. No problem!!

Thanks again.

Alan

Last edited by Polymorph; 05-29-2012 at 10:38 AM.
 
  


Reply

Tags
externalharddrive, router, rsync


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsync'd my entire drive to an external drive, grub-installed and FAILED to load GUI rootaccess Linux - General 1 03-15-2012 02:09 PM
[SOLVED] rsync problem. Lucid Lynx backing up to Samsung external drive karmicnoob Linux - Desktop 6 10-27-2010 04:44 AM
[SOLVED] rsync to an external usb drive rjo98 Linux - General 8 01-28-2010 03:40 PM
[SOLVED] Still having rsync errors to external drive rjo98 Linux - General 23 01-28-2010 03:39 PM
Problem connecting external hard drive Findus Linux - Hardware 9 03-01-2009 06:06 AM


All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration