Facebook Twitter Instagram
    WiredRevolution.com
    • Home
    • About
    • Contact Us
    • Essential Linux Commands
    • Sitemap
    Facebook Twitter Instagram
    WiredRevolution.com
    system administration

    Disable ext3 boot-time check with tune2fs

    RyanBy RyanOctober 26, 2008Updated:October 26, 20082 Comments1 Min Read
    Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Email

    The ext3 file system forces an fsck once it has been mounted a certain number of times. By default this maximum mount count is usually set between 20-30. On many systems such as laptops which can be rebooted quite often this can quickly become a problem. To turn off this checking you can use the tune2fs command.

    The tune2fs command utility operates exclusively on ext2/ext3 file systems.

    To run these commands you must run the command as root or use sudo. You must also make sure that your filesystem is unmounted before making any changes. If you are doing this on your root partition the best solution is to use a LiveCD.

    You can run tune2fs on the ext3 partition with the ‘-l‘ option to view what your current and maximum mount count is set to currently.

    tune2fs -l /dev/sda1
    
    ...
    Mount count:              2
    Maximum mount count:      25
    ...
    

    To turn off this check set the maximum count to 0 with the ‘-c‘ option.

    # tune2fs -c 0 /dev/sda1
    

    If you do not want to completely disable the file system checking, you can also increase the maximum count.

    # tune2fs -c 100 /dev/sda1
    
    Share. Facebook Twitter Pinterest LinkedIn WhatsApp Reddit Email
    Previous ArticleDelete a specific line from a text file with sed
    Next Article Run a command at boot with Gentoo

    Related Posts

    Fix slow sendmail and sm-client startup at boot

    Enable or disable boot time services in SUSE

    Install Linux development man pages in Ubuntu

    Most Commented
    March 12, 2009

    Fix blue tinted video in Ubuntu

    September 10, 2010

    Setup SSH access between VirtualBox Host and Guest VMs

    March 8, 2011

    Install GNOME Shell in Ubuntu 10.10 Maverick

    April 4, 2009

    Setup the PS3 Bluetooth Controller on Ubuntu

    October 22, 2008

    How to correctly use LD_LIBRARY_PATH

    Recent Comments
    • Execute command on linux virtual machine (or server) from windows commandline on Setup SSH access between VirtualBox Host and Guest VMs
    • Solved: How to SSH to a VirtualBox guest externally through a host? - Daily Developer Blog on Setup SSH access between VirtualBox Host and Guest VMs
    • How to SSH to a VirtualBox guest externally through a host? [closed] – Code D3 on Setup SSH access between VirtualBox Host and Guest VMs
    • How to copy and paste from VirtualBox? [duplicate] on Setup SSH access between VirtualBox Host and Guest VMs
    • Jackie Laguna on Fix OpenGL: ChoosePixelFormat SketchUp error in WINE
    © 2025 ThemeSphere. Designed by ThemeSphere.

    Type above and press Enter to search. Press Esc to cancel.