Re: Can I over ride the disk check?

Dave M G wrote:

Ubuntu Users,

As everyone knows, every so often when you boot the computer, it forces
a scan of the disk. I believe this is happening every 30 boots or so.

However, while I understand that this is a good thing and don't often
have a problem, sometimes it happens at an inconvenient time. Like when


You can modify the frequency (or shut boot scans off) with 'tune2fs'
like this, in a terminal...

sudo tune2fs -c 60 /dev/sda1

The key parts are '-c 60' and '/dev/sda1'. 60 is the number of boots
between scans, and /dev/sda1 is the partition you want to modify.
Typically that will be /dev/sda1 or /dev/hda1 for "normal"
installations. If you're unsure, invoking 'df -h' in a terminal will
list your partitions. Look for the "big one" mounted on '/'. ;)
Invoking 'mount -l' will give you similar info, but not so pretty.

Setting something larger than the default 30 won't make boot scans less
annoying, just less frequent. You can shut them off with '-c 0', but as
you've already acknowledged that's not wise.

There's also a utility that can supposedly (haven't tried it personally)
modify and/or warn you about impending scans at next boot, delay them,
schedule them for next boot, etc...

I don't know if there's anywhere to get Bonager other than through the

_?_ Outside of a dog, a book is a man's best friend.
(o o) Inside of a dog, it's too dark to read.
-oOO-(_)--OOo------------------------------[ Groucho Marx ]---
NP: 3D House Of Beef - Egg Chamber

Attachment: signature.asc
Description: PGP signature

ubuntu-users mailing list
Modify settings or unsubscribe at:

Relevant Pages

  • Re: XP Home problem after installing SP3
    ... basically, just modify the ... boot menu. ... Internet Gateway Router. ... All were working fine until I installed SP3. ...
  • Re: AT91RM9200 bootloaders (to boot into u-boot)
    ... a bootloader which should be easier to modify to match a boards ... configuration. ... > I have a board based on the AT91RM9200, and want to boot from SPI ... > for the ROM bootloader to handle). ...
  • Re: grub2
    ... I updated from fedora14 to fedora16 and I am trying to modify the ... boot command. ... Edit /etc/grub2.cfg and that should be it. ...
  • Re: Making /etc/fstab persistent in live-system
    ...     That would work but it has the annoying side effect that it becomes ...  that his/her fstab would not be reset at each boot). ... to modify after a chattr +i? ...
  • Re: Chaninging network settings from OK prompt
    ... I type boot and the ... process, shell out of the install process, mount the system partition, ... modify the files, and reboot. ... DeeDee, don't press that button! ...