Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-05-2015, 04:53 PM   #1
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 487

Rep: Reputation: 29
fstab and auto mounting

am i right in saying that fstab only describes to the system what partitions should be mounted to what device (location) i know it can do a bit more than that...

but how do you get the system to mount file systems automatically at start up? is that a setting within fstab? under mount options...or is it a command that you need to type...or is it in another config file?
Old 03-05-2015, 05:02 PM   #2
Registered: Oct 2008
Location: San Diego County, CA
Distribution: LFS, Gentoo
Posts: 64

Rep: Reputation: 23
Yes, that is the purpose of fstab.
Everything should be auto-mounted unless you use the noauto option.
Old 03-05-2015, 05:11 PM   #3
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,569

Rep: Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129
Everything in fstab will be auto mounted on boot, unless it has the "noauto" option. If any device listed in fstab is not able to be mounted on boot (unless it has "noauto" or "nofail" set, or is a network mount), it will halt the boot process and send you into repair mode.

Last edited by suicidaleggroll; 03-05-2015 at 05:15 PM.
Old 03-05-2015, 09:37 PM   #4
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,983
Blog Entries: 18

Rep: Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388
Here's a pretty good tutorial on fstab.


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
Auto mounting smb fstab pr0xibus Slackware 6 10-21-2014 08:30 AM
Auto-mounting ntfs partition in fstab Mithrilhall Linux - Newbie 3 09-22-2009 02:03 AM
USB pen drives not auto prompting or auto mounting on KDE3.5 (PCLOS) k.king Linux - General 1 03-17-2009 04:16 PM
Auto generate /etc/fstab sadarax Linux - Hardware 1 04-21-2007 08:40 PM
fstab and samba auto network mounting! eca00cdy Linux - Newbie 3 05-14-2002 06:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:50 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