Howto Change Ubuntu Forced fsck

November 3rd, 2007 | Tags: , , , , ,

In Ubuntu 7.10 the boot hard disk is checked every 20 boots. I have to boot my laptop quite often, so about once a week booting takes more than 10 minutes. This clearly sucks. Fortunately, there is an easy way to fix this. With tune2fs it is possible to change the interval from mount-times to timed interval:

sudo tune2fs -c 0 -i 1m /dev/sda3

This disables maximum mount time for forced check, but instead uses timed check. Every month the harddisk is forced to get checked. I can live with that.

  1. twilight
    November 3rd, 2007 at 03:35
    Reply | Quote | #1

    thank you very usefull. fortunatelly my notebook does boot in 10 minutes. It does it in one minute from the moment i press enter in grub to full desktop environment.

  2. November 3rd, 2007 at 19:55
    Reply | Quote | #2

    Very informative and useful post.

  3. Matt
    November 9th, 2007 at 01:28
    Reply | Quote | #3

    One thing to note is that it may not be sda3 for your drive. For instance, on my laptop it’s /dev/hda1.

  4. 1 trackbacks
TOP