H
H
hitakiri2018-08-24 14:08:58
linux
hitakiri, 2018-08-24 14:08:58

How to copy data from a dead flash drive in Ubuntu?

It is necessary to copy data from an infected flash drive (infection for Windows), the infection changes the System Volume Information.
For Ubuntu, the flash drive is safe and easy to read. But as I understand the infection greatly damaged the flash drive itself. While copying the flash drive, it "hangs". It does not open in the terminal, it also cannot be seen with the df command (both viewing in the terminal and df also hang).
After some experiments, it turned out that the "freeze" of the flash drive occurs when copying a file larger than 3 mb, or when the copy speed increases above 2 mb / s.
Copy failure occurs absolutely randomly, regardless of the file being copied.
Therefore, the question is: are there any tools that can be used to set the speed of copying a file from a USB flash drive in order to "delicately" copy the data.
NoName
Xubuntu 18.04
USB 2.0 flash drive (both on a flash drive and on a PC)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
pfg21, 2018-08-24
@hitakiri

in linux, scp and rsync can limit the copy speed,
respectively
scp -l limit Limits the used bandwidth, specified in Kbit/s.
rsync
--bwlimit=RATE
This option allows you to specify the maximum transfer rate for the data sent over the socket, specified in units per second. The RATE value can be suffixed with a string to indicate a size multiplier, and may be a fractional value (eg "--bwlimit=1.5m"). If no suffix is ​​specified, the value will be assumed to be in units of 1024 bytes (as if "K" or "KiB" had been appended). See the --max-size option for a description of all the available suffixes. A value of zero specifies no limit.

R
Roman, 2018-08-24
@myjcom

you can do this Some features of using the system utility ...

R
Radjah, 2018-08-24
@Radjah

You can try using ddrescue to make a raw image and force it already.

C
CityCat4, 2018-08-24
@CityCat4

make an image via dd with standard blocksize. Of course, it will take a long time to dump, because the standard bs=512. And then mount the image and extract data from it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question