Ubuntu makes a filesystem check every 30 boots or something. If for any case, you want a filesystem check you can do it by issuing the following command:
shutdown -rF now
This command will restart Ubuntu and will make a filesystem check.
Ubuntu makes a filesystem check every 30 boots or something. If for any case, you want a filesystem check you can do it by issuing the following command:
shutdown -rF now
This command will restart Ubuntu and will make a filesystem check.
August 28, 2008 at 5:49 pm |
Thank you *so* much for this!
October 18, 2008 at 1:51 pm |
I noticed that ‘F’ is not one of the options shown in ’shutdown –help’ (see below). How would anyone know that the F option exists if ’shutdown –help’ doesn’t show it?
shutdown –help
Usage: shutdown [OPTION]… TIME [MESSAGE]
Bring the system down.
Options:
-r reboot after shutdown
-h halt or power off after shutdown
-H halt after shutdown (implies -h)
-P power off after shutdown (implies -h)
-c cancel a running shutdown
-k only send warnings, don’t shutdown
-q, –quiet reduce output to errors only
-v, –verbose increase output to include informational messages
–help display this help and exit
–version output version information and exit
October 23, 2008 at 9:33 am |
sudo shoutdown -Fr now
did nothing but reboot for me. Im on Ubuntu 8.04.
October 23, 2008 at 6:49 pm |
Well, aparently the -F option is no longer available. You can do sudo touch /forcefsck (just places and empty file in /) and then restart normally. Then, the operating system will perform a filesystem check