Re: dd on wrong device, 1.9 GiB from the beginning has been overwritten, how to restore partition?

2016-06-20 Thread Maximilian Böhm
Hey, I want you to know that it was impossible to recover the filesystem and that I have recreated the partition. Lost ~1.5 TiB unredundant data but it's just an annoyance, no catastrophe – I can recreate my collection and it wasn't any critical data. For others with related problems: My

Re: dd on wrong device, 1.9 GiB from the beginning has been overwritten, how to restore partition?

2016-06-14 Thread Maximilian Böhm
Wow, I'm overwhelmed, thank you very much for your help! So, firstly I did a dd if=/dev/zero of=nullz.raw bs=1 count=0 seek=2028060672 and overwrote the ISO on the HDD. Then I was able to restore the GPT using gdisk with "use backup GPT header (rebuilding main)". Now I have an intact GPT, a

Re: dd on wrong device, 1.9 GiB from the beginning has been overwritten, how to restore partition?

2016-06-12 Thread Andrei Borzenkov
13.06.2016 01:49, Henk Slager пишет: > On Sun, Jun 12, 2016 at 11:22 PM, Maximilian Böhm wrote: >> Hi there, I did something terribly wrong, all blame on me. I wanted to >> write to an USB stick but /dev/sdc wasn't the stick in this case but >> an attached HDD with GPT and an 8

Re: dd on wrong device, 1.9 GiB from the beginning has been overwritten, how to restore partition?

2016-06-12 Thread Chris Murphy
On Sun, Jun 12, 2016 at 3:22 PM, Maximilian Böhm wrote: > Hi there, I did something terribly wrong, all blame on me. I wanted to > write to an USB stick but /dev/sdc wasn't the stick in this case but > an attached HDD with GPT and an 8 TB btrfs partition… > > $ sudo dd bs=4M

Re: dd on wrong device, 1.9 GiB from the beginning has been overwritten, how to restore partition?

2016-06-12 Thread Henk Slager
On Sun, Jun 12, 2016 at 11:22 PM, Maximilian Böhm wrote: > Hi there, I did something terribly wrong, all blame on me. I wanted to > write to an USB stick but /dev/sdc wasn't the stick in this case but > an attached HDD with GPT and an 8 TB btrfs partition… GPT has a secondary

Re: dd on wrong device, 1.9 GiB from the beginning has been overwritten, how to restore partition?

2016-06-12 Thread Martin Steigerwald
Hi Maximilian, On Sonntag, 12. Juni 2016 23:22:11 CEST Maximilian Böhm wrote: > Hi there, I did something terribly wrong, all blame on me. I wanted to > write to an USB stick but /dev/sdc wasn't the stick in this case but > an attached HDD with GPT and an 8 TB btrfs partition… > > $ sudo dd

dd on wrong device, 1.9 GiB from the beginning has been overwritten, how to restore partition?

2016-06-12 Thread Maximilian Böhm
Hi there, I did something terribly wrong, all blame on me. I wanted to write to an USB stick but /dev/sdc wasn't the stick in this case but an attached HDD with GPT and an 8 TB btrfs partition… $ sudo dd bs=4M if=manjaro-kde-16.06.1-x86_64.iso of=/dev/sdc 483+1 Datensätze ein 483+1 Datensätze aus