How Do I Check If a Block Is Bad in Linux?
Contents

How do I fix bad blocks in Linux?

How to Fix Bad Sectors in Linux

  1. Download and burn Ubuntu to a DVD. …
  2. Restart the computer and boot from the DVD or alternate system.
  3. Open a terminal window.
  4. Type “fdisk -l” (without the quotation marks) to see the hard drive and partition device names. …
  5. Type the following command: sudo e2fsck -cfpv /dev/sdb2.

How do I know if my hard drive has bad blocks?

Use the Error Checking utility built in to Microsoft Windows.

  1. Double Click (My) Computer, and right-click the hard disk.
  2. On the shortcut menu, click Properties, and on the Tools tab in the Properties dialog box.
  3. Click Check Now in the Error-Checking Status area.
Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest