Results 1 to 3 of 3

Thread: Error Check USB Flash Drive

  1. #1
    RealG187 is offline Chocolate-Covered Ubuntu Beans
    Join Date
    Mar 2007
    Beans
    1,373

    Error Check USB Flash Drive

    How do I error check (scandisk/chkdsk) a USB drive in Ubuntu?

  2. #2
    Join Date
    Dec 2007
    Location
    Idaho
    Beans
    4,976
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Error Check USB Flash Drive

    That depends on the file system. For native linux filesystems you can just run fsck (stands for file system check) which will in turn call the correct file system tool to check the disk for errors. The filesystems must be unmounted to do this.

    ie
    Code:
    fsck /dev/sda1
    I know fsck.msdos will check fat16 and fat32 filesystems,
    For ntfs you need ntfsprogs checked and the program ntfsfix can fix very basic errors with ntfs filesystems. Although I'd strongly lean towards using chkdsk from windows when dealing with Microsoft filesystems.
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

  3. #3
    Join Date
    Oct 2007
    Beans
    33

    Re: Error Check USB Flash Drive

    Take h2testw & Wine. Thats the best quick & dirty solution for your problem. But at all it is nasty. I have a 32 GByte microSDHC chip here to be tested and it will take the whole evening.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •