Scandisk or chkdsk equivalent in Linux.

Scandisk or chkdsk equivalent in Linux.

Postby Taehoon on Wed Jan 27, 2010 11:32 am

The command to use to check the disk is 'fsck'; make sure to unmount first.

To automatically check your disk on startup follow these instructions:

Login as the root:
Code: Select all
$ su -


Change directory to root (/) directory:
Code: Select all
# cd /


Create a file called forcefsck:
Code: Select all
# touch /forcefsck


Now reboot the system:
Code: Select all
# reboot


ref: http://www.cyberciti.biz/faq/linux-forc ... -sequence/
Taehoon
Site Admin
 
Posts: 70
Joined: Sun Sep 09, 2007 3:43 pm



Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

cron