Looking for some help. I've just done a new installation of Kubuntu 12.04.1 and have been getting horrifically long boot times (~3 mins on an i5 with 4GB RAM). I installed bootchart and found the kernel is forcing a full fsck on every boot. Anyone have any ideas as to how to stop it or fix it? The disk is brand new.
Announcement
Collapse
No announcement yet.
Kubuntu 12.04.1 slow boot
Collapse
This topic is closed.
X
X
-
The age of the disk isn't relevant. fsck checks the file system, not the hardware.
Search to see if you have a file forcefsck in your root directory. You can also boot to a live USB or CD and run dumpe2fs on the unmounted file system in question. Look at the line in the output which says "Filesystem state" and verify it says "clean."
One immediate workaround is to edit the /etc/fstab file and change the "0 1" at the end of the mount line to "0 0". However in this configuration no automatic file system checks will be done. This shouldn't concern you too much because for example, my server hasn't had 30 reboots in years. 30 is the default number of boots before a file system check is normally forced.
You can change the default using tune2fs:
Code:sudo tune2fs -c 50 /dev/sda1
- Top
- Bottom
-
Originally posted by oshunluvr View PostThe age of the disk isn't relevant. fsck checks the file system, not the hardware.
Search to see if you have a file forcefsck in your root directory. You can also boot to a live USB or CD and run dumpe2fs on the unmounted file system in question. Look at the line in the output which says "Filesystem state" and verify it says "clean."
One immediate workaround is to edit the /etc/fstab file and change the "0 1" at the end of the mount line to "0 0". However in this configuration no automatic file system checks will be done. This shouldn't concern you too much because for example, my server hasn't had 30 reboots in years. 30 is the default number of boots before a file system check is normally forced.
You can change the default using tune2fs:
Code:sudo tune2fs -c 50 /dev/sda1
- Top
- Bottom
Comment
Comment