Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-29-2012, 03:17 AM   #16
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, Sparky, Salix64
Posts: 115

Rep: Reputation: 22

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.

Old 05-29-2012, 03:33 AM   #17
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, Sparky, Salix64
Posts: 115

Rep: Reputation: 22
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.

Thanks for all your help
You're welcome.

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

Original Poster
Rep: Reputation: 1
I found this -

I put
// /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.


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


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:43 PM.

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