LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   stop a filesystem from been mounted or checked at the boot time (https://www.linuxquestions.org/questions/linux-newbie-8/stop-a-filesystem-from-been-mounted-or-checked-at-the-boot-time-4175573943/)

procfs 03-04-2016 04:05 AM

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

pan64 03-04-2016 04:12 AM

see man fstab, especially the option noauto. Is this what you are looking for?

Tonus 03-04-2016 04:43 AM

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.

Rickkkk 03-04-2016 06:44 AM

Hi,

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

Cheers,

Rick

rknichols 03-04-2016 08:37 AM

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.

procfs 03-07-2016 05:19 AM

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


All times are GMT -5. The time now is 07:42 AM.