dealing with a slightly flaky USB drive; unkillable bash process

Adam Funk a24061 at ducksburg.com
Fri Sep 25 15:25:54 UTC 2015


On 2015-09-23, Liam Proven wrote:

> On 23 September 2015 at 16:16, Adam Funk <a24061 at ducksburg.com> wrote:
>>
>> That sounds interesting.  I've been reading the info pages for that
>> --- I guess I can recover the partition on the USB drive to a file
>> with something like this
>>
>> ddrescue <options> /dev/sdc1 path/to/some_file path/to/logfile
>>
>> and then use losetup on the output file?
>
>
> Yes you could, but I would *strongly* recommend imaging to a dedicated
> drive. Mixing up whole drives, whole-drive images and partitions is
> tricky and difficult enough and that is /before/ mixing in encryption.
>
> Buy a drive if necessary.

Do I then need to create a partition on the new drive with exactly the
same size as the partition on the old one?




More information about the ubuntu-users mailing list