Disable file system check at boot time

Bug #369787 reported by Martin Leopold
6
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: initscripts

Hi,
I would very much like to see the following feature: a way to disable the filesystem check's at boot time. This could be done for example by adding a command line paramenter to the kernel or similar.

The checkroot.sh and checkfs.sh scripts allready abort file system checks if /fastboot is available, but this requires, that I'm able to boot the system and create the /fastboot file, which may be incovennient or impossible in some cases.

- Martin.

Revision history for this message
Martin Leopold (martin-leopold) wrote :

Hi,
This problem can be related to the following two bugs in which forcing a check at boot-time would be advantageous. The above suggestion could be implemented in such a way that the user could force a check or force the check not to occur.

https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/316200
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/219382

Revision history for this message
Yann Lossouarn (yann-lossouarn) wrote :

Hello,

I tried to define a solution that would prevent laptop users from being blocked due to a read-only filesystem, but still allow the fsck sequence to be performed at shutdown time, so that users can quickly boot theier computer...

My suggestion is :

At boot time :
-> Display a timer and ask the user whether he wants to perform a filesystem check (wording TBD...). Default option : no fsck

At shutdown time :
-> test whether a fsck is needed
  If YES -> test whether the computer runs on batteries,
                 if YES ->skip fsck
                 if NO, -> perform fsck
  if NO -> shutdown

Revision history for this message
Steve Langasek (vorlon) wrote :

Current releases of Ubuntu allow you to interactively skip filesystem checks of any filesystems, which I think addresses this request.

Changed in sysvinit (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.