11
5
In windows os chkdsk /f /r
will fix a hdd error automatically.
i have lost access in my laptop though i am able to live boot into my laptop using linux.
I have live boot ubuntu 14.04 and i am in a need to run a command to fix hdd logical errors and fix automatically like in windows we can repair using chkdsk /f /r
.
So what is the alternative command for chkdsk /f /r
in linux in order to fix hdd error?
for linux filesystems like ext4, etc, use
– Frank Thomas – 2014-12-17T12:56:03.183fsck -a /dev/sdXY
where X and Y identify the volume you want checked. eg:fsck -a /dev/sda1
http://manpages.ubuntu.com/manpages/hardy/man8/fsck.8.html For NTFS volumes, put them on a windows system and use chkdsk. there isn't a safe linux tool for NTFS filesystem repair. Or boot from a windows install disk and use the recovery mode command prompt to run chkdsk.