dd-ed to wrong (luks)disk
It had to happen eventually.
I dd-ed a iso to the wrong hdd. Code:
dd if=kali-linux-2017.1-i386.iso of=/dev/sdb bs=512k fdisk -l Code:
Disk /dev/sdb: 8001.6 GB, 8001563221504 bytes Code:
Disk /dev/sdb1: 2648 MB, 2648178688 bytes Code:
Disk /dev/sdb2: 0 MB, 720896 bytes Code:
dumpe2fs 1.42.9 (4-Feb-2014) Code:
dumpe2fs 1.42.9 (4-Feb-2014) Code:
dumpe2fs 1.42.9 (4-Feb-2014) Code:
partition File system Label Size Used Unused Flags As a complete noob in disk-recovery it seems only the first 2GB are effected. Is that where the headers are? Do I need to buy a new $280,00 8TB disk before trying to recover anything? I there any hope of recovering something? TIA Anton |
Quote:
|
I think you should consider that a definitive answer - rknichols has a good history of knowledge of this field.
Do you still have your old disks ? - you may be able to recover from those, even if somewhat out of date. |
Yes I still have them.
Quote:
Quote:
You know it is all the fault of our stupid government, now we even have to buy a chip-reader for our id-card to go online for registering a phone-simcard. Nothing is private anymore. Osama bin laden is laughing in his grave!! And don’t even want to start about USA, NSA and globe-destroyer Trump. Sorry for my ranting. I don’t want to use Tails and encryption I just want to be left alone without the feeling someone is looking over my shoulder. Here in Belgium all your private data is connected to our personal tax-number even medical information. And thank u for taking the time to help me. Anton |
Quote:
The testdisk utility can be your friend here. It can identify the remains of many filesystems. But first, what is the state of those drives now? The output from "lsblk -f" (wrap it in [CODE] ... [/CODE] tags, please, to preserve formatting) might be the best way to show that. |
I used the “disk utility” from Navigatrix (based on ubuntu 14.04) I’m pretty sure it did not fill the disks with random data.
In what format should I partition the 8TB disk? The output from “lsblk -f” (wrap it in [CODE] ... tags, please, to preserve formatting) might be the best way to show that. I don’t understand what you mean by this. What exactly do you want me to wrap in code tags? The output of lsblk -f (perhaps lsblk -f /dev/***) but how would that preserve formatting? |
the wrapping means what did you do in your original post, I think.
The partition depends on you, you need to know how do you want to use that. |
Quote:
|
Now I come to think of it, I think I just deleted the files (not shredded) and changed the luks-passphrase on most of them . Maybe there is one where I deleted the partitions and made it one luks partition. I can't remember using "gnome-disk-utility 3.10.0-1ubuntu3" or "GParted 0.18.0" for deleting the partitions but I do remember to use disk-utility for creating luks and changing passphrase. Don't know if it matters but my system is 32bit.
But before we go any further I would like to setup this 8TB disk so I can use that for copying the other disks in to it. I will open a new thread for that for it is only sidelings related and others my benefit from it. Anton |
The only "disk utility"-like tool I find in Ubuntu 14 (and it's got to be the worst "disk utility" tool I've ever encountered) has only one action for setting up an encrypted partition, and that is, "Encrypted, compatible with Linux systems (LUKS + Ext4)". That does, in addition to setting up the encryption, format an ext4 filesystem in the container. Writing the blocks of ext4 metadata that are at the start of each block group in the filesystem is like firing a shotgun loaded with small birdshot at the data that was previously there. If you did that in addition to deleting the files, I don't hold out much hope for recovery. Merely using that tool to change a passphrase would not cause that problem, but back in post #4 you said:
Quote:
|
lsblk -f
Code:
sdb Code:
LUKS header information for /dev/sdb Code:
Disk /dev/sdb: 160.0 GB, 160041885696 bytes |
Quote:
|
All times are GMT -5. The time now is 08:11 AM. |