Skip navigation.
Home
Now Shipping Version 7.0

Hard disk check on boot up

roadrash's picture

Posts: 171

every so often (after each 100 boots i think) mepis does a hard disk check upon boot up. Can someone tell me how to change the number of boots it does before a check and also how to turn it off altogether.

AdrianTM's picture

Look in /etc/fstab for

Look in /etc/fstab for something like this:
/dev/hda1 / ext3 defaults,noatime 1 1

change it to:
/dev/hda1 / ext3 defaults,noatime 1 0

I think this should solve the issue.

Another way is to use "tune2fs" see man page.

--
Check out MEPIS Wiki: www.mepis.org/docs

roadrash's picture

my fstab reads like

my fstab reads like this

Quote:

/dev/hda8 / auto defaults,noatime 1 1
/dev/hda7 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
# Dynamic entries below
/dev/hda1 /mnt/hda1 vfat,ext3,ext2,reiserfs noauto,users,exec 0 0
/dev/hda5 /mnt/hda5 ntfs-3g noauto,users 0 0
/dev/hda6 /mnt/hda6 vfat,ext3,ext2,reiserfs noauto,users,exec 0 0
/dev/hdb1 /mnt/hdb1 ntfs-3g noauto,users 0 0
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/hdc /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/fd0 /media/floppy vfat,ext2 noauto,users,exec,rw 0 0

and the man page for tune2fs mentions that parameters for the disk check should be changed in e2fsk.
where is this parameter? its not in fstab

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.