Skip or force fsck when rebooting a Linux server
Posted by Emerson Takahashi on June 9, 2011
If you issue this command, the system will create a file /fastboot
root@linux:~ # shutdown -rf now
or
root@linux:~ # touch /fastboot
root@linux:~ # shutdown -r now
You can also pass the arguments to grub prompt to skip fsck on boot
grub> kernel /vmlinuz-2.6.16.60-0.66.1-smp root=/dev/rootvg/rootlv vga=0×317 resume=/dev/rootvg/swaplv splash=silent showopts fastboot rootdelay=10
Create a /forcefsck file or reboot your computer with -F option to force a fsck on boot
root@linux:~ # shutdown -rF now
or
root@linux:~ # touch /fastboot
root@linux:~ # shutdown -r now
Sorry, the comment form is closed at this time.