LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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: 651

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 Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

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

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
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
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
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: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
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: 651

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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