LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to bypass fsck at reboot (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-bypass-fsck-at-reboot-821653/)

anon091 07-23-2010 04:50 AM

how to bypass fsck at reboot
 
I have a server that said a volume was dirty and to check it at reboot, so someone did a shutdown -rF now. only problem is the other volumes are HUGE and it will take forever, which i cant have happen. the volume with the trouble is non-critical so i could take it ofline and check it that way if i can get this to boot quickly. how can i do that if its going to auto check every volume on reboot now? :'(

rafaeldeoliveiracosta 07-23-2010 05:16 AM

to disable fsck check just set 0 to pass-num option in /etc/fstab

example: /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/sda1 / ext3 errors=remount-ro 0 1
/dev/sda5 /home ext3 defaults 0 0

the above example shows that / (/dev/sda1) will be checked if you reboot but /home (/dev/sda5) won't.

i hope i've helped you

anon091 07-23-2010 05:17 AM

Thanks Rafael. what i ended up doing is when the graphical menu came up at reboot that says i have 3 seconds to hit a key, i hit a key, then edited the line in there by added fastboot to the end of it. I forgot to mention the system was already restarted so i couldn't get into fstab in my original post.


All times are GMT -5. The time now is 03:09 PM.