How Do I Check Disk for Errors in Linux?
Contents

How do I check hard drive for errors in Linux?

To check the health of your hard drive with it, follow these steps.

  1. Step 1: Open up a terminal and gain a root shell with su or sudo -s.
  2. Step 2: List the hard drives attached to your Linux PC with the lsblk command. …
  3. Step 3: Look through your drive listing, and find the drive you’d like to check.

How do I run chkdsk on Linux?

If your company uses the Ubuntu Linux operating system rather than Windows, the chkdsk command will not work. The equivalent command for the Linux operating system is “fsck.” You can only run this command on disks and filesystems that are not mounted (available for use).

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest