LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-04-2016, 04:05 AM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 608

Rep: Reputation: 34
stop a filesystem from been mounted or checked at the boot time


Hi, is there a way to stop a filesystem from been mounted or checked at the boot time (from the grub prompt or something)

Thanks and best Regards
 
Old 03-04-2016, 04:12 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,172

Rep: Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672
see man fstab, especially the option noauto. Is this what you are looking for?
 
Old 03-04-2016, 04:43 AM   #3
Tonus
Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current with grub2
Posts: 387
Blog Entries: 3

Rep: Reputation: 100Reputation: 100
stop a filesystem from been mounted or checked at the boot time

Post the output of
Code:
 cat /etc/fstab
And tell us what volume you want to change the behaviour.
Basically, the last digit might be the one to change for startup check.
 
Old 03-04-2016, 06:44 AM   #4
Rickkkk
Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 495

Rep: Reputation: 146Reputation: 146
Hi,

+1 to the "noauto" suggestion ... add this to the appropriate line in your fstab file.

Cheers,

Rick
 
Old 03-04-2016, 08:37 AM   #5
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 3,396

Rep: Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485
You can't make that change directly from the GRUB prompt. You would have to boot the system in "emergency" mode (exactly what that is called and how to do it varies among distros), remount the root filesystem read-write, and edit the /etc/fstab to include the "noauto" option and put a zero in the sixth field to prevent the automatic fsck.

It might be easier to boot from external media like SystemRescueCd and do whatever repair is needed.
 
Old 03-07-2016, 05:19 AM   #6
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 608

Original Poster
Rep: Reputation: 34
Hi Thanks for the replies guys and sorry if my question was ambiguous! but rknichols is the answer that I was looking for. Lets say a if a file system is corrupted and unable to pass this point in boot process, only way out is to go in to rescue mode and comment out the relevant fstab entry.

Thanks Guys and Best Regards

Last edited by procfs; 03-07-2016 at 05:20 AM.
 
  


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
/home has been mounted X times without being checked? moana Linux - Newbie 7 08-01-2009 08:15 AM
How to find the time a filesystem was mounted neuralninja Linux - Server 2 04-06-2008 11:54 AM
NFS shares not mounted at boot time hpladd Linux - Networking 6 12-06-2007 10:48 PM
How do I keep a filesystem from being checked with fsck at boot time? ccmelton Linux - General 1 05-10-2006 11:32 AM


All times are GMT -5. The time now is 09:19 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration