dealing with a slightly flaky USB drive; unkillable bash process

Karl Auer kauer at biplane.com.au
Tue Sep 22 13:15:08 UTC 2015


On Tue, 2015-09-22 at 13:07 +0100, Adam Funk wrote:
> I would appreciate any suggestions for getting the drive to work long
> enough to copy the data off, & for dealing with the seeminly
> unkillable bash.

Try sending it other signals like HUP and TERM; try sending signals
rapidly and lots of times. Just because the process list says it is bash
doesn't mean it is actually bash.

cpulimit would let you at least starve it.

Run up a virtual machine to do the copy; if it needs rebooting it will
be quicker and easier.

I think you should use dd to create an image of the disk; that way you
are not trying to decrypt a flaky drive, and you shouldn't need any
extra programs (like bash scripts) to be active. Then mount the image
and work on that.

Regards, K.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
Old fingerprint: EC67 61E2 C2F6 EB55 884B E129 072B 0AF0 72AA 9882






More information about the ubuntu-users mailing list