Answer the question
In order to leave comments, you need to log in
How to cure a flash drive?
I bought a new flash drive and decided to format it for prevention. True, at first from under Windows, but the formatting was very delayed there, I decided that something was wrong (Windows is generally a buggy system) and rebooted into Linux. From under it I also tried through gparted and from the console, but all to no avail ... The flash drive died :( Please help me revive it. it is possible to re-create the partition table (also tried, but did not help)
PS Now it is not displayed in the file manager, but its partition / dev / sdc is visible through fdisk -l
Answer the question
In order to leave comments, you need to log in
Windows in general is a buggy system
dd if=/dev/zero of=/dev/sdc bs=4096
And then format. The process will take time.
Windows in general is a buggy system
xtone ,
Yes, I bought it without a check in a small eatery where photos are taken for documents.
Flash drive manufacturers have utilities for testing and formatting their flash drives. Look on the manufacturer's website.
what does fdisk itself show? Does the flash drive size match? show its output
, make sure /dev/sdc is the block device of your flash drive, if not, then change what is written below to the appropriate one.
$ sudo umount /dev/sdc*
$ sudo wipefs -af /dev/sdc
$ sudo parted /dev/sdc mktable gpt mkpart p1 0% 100%
$ lsblk
$ sudo mkfs.ext4 /dev/sdc1
$ udisksctl mount -b /dev/sdc1
As a person with experience, I can say that from 8-10 years ago it was relevant. Now the prices for flash drives are such that it makes sense to mess around starting with 64GB.
In Linux, wipe the entire flash drive with the dd utility. Next, we make one section with any partition editor, format it - you're done!
In Windows, we take the same dd (windows) or better flashnul (I usually used it), and overwrite the flash drive. Well and further regular means of Windows.
Flashnul can also test all blocks on a flash drive - read-write-verify - see help in the program itself.
If there is a gag somewhere, they already suggested that there is a site fhlashboot.ru, there are a lot of materials, and different software for different controllers.
PS!!! If the data on the flash drive is important - do nothing with it at all! Immediately to the data recovery company, where they will take a dump from the memory chips and decrypt it, and give your data (if they are still there).
Try to recreate the partition table and the partition itself:
sudo parted /dev/sdc
mklabel gpt <делает GPT-таблицу>
mkpart <выбираете ntfs, start делаете 0, end делаете 100%>
quit <выход из утилиты>
sudo mkfs.ntfs -Q /dev/sdc1
sudo mount.ntfs /dev/sdc1 /mnt
lsblk -f <должен показать примонтированный раздел с файловой системой>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question