Skip to content

Tag Archives: fsck

running fsck on reboot

24-Nov-09

The -F option force fsck on reboot, login as root and type the following command to reboot and run fsck:
# shutdown -rF now
-F Force fsck on reboot.
-r Reboot after shutdown.
-k Don’t really shutdown; only send the warning messages to everybody.
or
Login as user root and create a file called forcefsck:
# touch /forcefsck
Now reboot [...]

Running fsck on your server

24-Nov-09

Q. My laptop partition  /dev/sdb1  is showing file system error, how  do i use fsck command to check for file system error and repair the partition.

Solution  is to use   fsck – check and repair a Linux file system or use e2fsck – check a Linux ext2/ext3 file system.
Device              [...]