LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-21-2007, 03:03 AM   #1
broxtor
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Linux Mint 19.1
Posts: 99

Rep: Reputation: 16
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?
 
Old 04-21-2007, 03:51 AM   #2
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 449

Rep: Reputation: 34
Perhaps they are attempting to be mounted before Networking has been started?
 
Old 04-21-2007, 03:21 PM   #3
Micro420
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: Reputation: 45
lets see your /etc/fstab
 
Old 04-22-2007, 08:18 AM   #4
broxtor
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Linux Mint 19.1
Posts: 99

Original Poster
Rep: Reputation: 16
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
 
Old 04-23-2007, 11:40 PM   #5
broxtor
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Linux Mint 19.1
Posts: 99

Original Poster
Rep: Reputation: 16
Can nobody help me with this?
 
Old 04-23-2007, 11:46 PM   #6
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 449

Rep: Reputation: 34
I can't help with the cause, but could a workaround be to put 'mount -a' in to your rc.local file?
 
Old 04-24-2007, 11:45 PM   #7
broxtor
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Linux Mint 19.1
Posts: 99

Original Poster
Rep: Reputation: 16
Thanks fukawi2, that works indeed.
 
  


Reply


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
Mount at boot problems jovie Linux - Newbie 1 07-05-2006 09:30 AM
FSTAB: My Win Share Wont Mount @ Boot, but will when I sudo mount -a...please help! TruANTOlogy Ubuntu 8 06-20-2006 08:00 AM
CD Boot/mount problems (Rank Newbie - Sorry) Killdog Linux - Newbie 3 08-31-2005 04:25 AM
Drive mount at boot time problems pete123 SUSE / openSUSE 4 03-13-2005 02:17 PM
Why a FSTAB entry will mount using -a switch but will not mount automatically at boot mjen Linux - Newbie 3 05-19-2004 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:18 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
Open Source Consulting | Domain Registration