Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-21-2007, 03:03 AM
|
#1
|
Member
Registered: Jul 2003
Location: The Netherlands
Distribution: Linux Mint 19.1
Posts: 99
Rep:
|
Mount problems during boot
I've installed a command line system of Feisty and installed mythtv on it. During boot I'm trying to automatically mount some network shares (smbfs) but it doesn't work. I have added the necessary entries to /etc/fstab but the shares aren't mounted after booting has completed.
When I do a sudo mount -a the shares are mounted correctly.
How can I make these shares mount at boot?
|
|
|
04-21-2007, 03:51 AM
|
#2
|
Member
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 449
Rep:
|
Perhaps they are attempting to be mounted before Networking has been started?
|
|
|
04-21-2007, 03:21 PM
|
#3
|
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
|
lets see your /etc/fstab
|
|
|
04-22-2007, 08:18 AM
|
#4
|
Member
Registered: Jul 2003
Location: The Netherlands
Distribution: Linux Mint 19.1
Posts: 99
Original Poster
Rep:
|
Thnx for the responses so far. Here's my /etc/fstab:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=024a8cf8-19c5-4ed4-9f43-464519f42ba7 / ext3 defaults,errors=remount-ro 0 1
# /dev/sda3
UUID=cd57be8a-7c11-4b16-a74d-3080838e2024 /media/myth xfs defaults 0 2
# /dev/sda2
UUID=77b00903-c187-4375-abb9-d468ae64f173 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
//192.168.1.10/PCLinux /media/myth/pclinux smbfs credentials=/root/.smbcredentialspc,dmask=777,fmask=777,auto 0 0
//192.168.1.10/PCDocs /media/myth/pcdocs smbfs credentials=/root/.smbcredentialspc,dmask=777,fmask=777,auto 0 0
//192.168.1.12/serfhome /media/myth/serfhome smbfs credentials=/root/.smbcredentialsserf,dmask=777,fmask=777,auto 0 0
//192.168.1.10/PCFoto /media/myth/pcfoto smbfs credentials=/root/.smbcredentialspc,dmask=777,fmask=777,auto 0 0
|
|
|
04-23-2007, 11:40 PM
|
#5
|
Member
Registered: Jul 2003
Location: The Netherlands
Distribution: Linux Mint 19.1
Posts: 99
Original Poster
Rep:
|
Can nobody help me with this?
|
|
|
04-23-2007, 11:46 PM
|
#6
|
Member
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 449
Rep:
|
I can't help with the cause, but could a workaround be to put 'mount -a' in to your rc.local file?
|
|
|
04-24-2007, 11:45 PM
|
#7
|
Member
Registered: Jul 2003
Location: The Netherlands
Distribution: Linux Mint 19.1
Posts: 99
Original Poster
Rep:
|
Thanks fukawi2, that works indeed.
|
|
|
All times are GMT -5. The time now is 12:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|