You are not logged in.

#1 2010-09-15 18:28:38

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

oh hai, so i've used disk destroyer

Yeah, i didn't think it would happen to me but today i used the command dd if=/dev/zero on the wrong harddisk. Instead of a disk with media files i wiped the first 623 MB of /dev/sda where my operating systems are installed.

 > s dd if=/dev/zero of=/dev/sda bs=1M
Password: 
^C594+0 records in
594+0 records out
622854144 bytes (623 MB) copied, 7.59657 s, 82.0 MB/s

As you can see i noticed my mistake after roughly 8 seconds and aborted the process.
Obviously, the complete MBR was wiped. Same goes for my boot partition /dev/sda1. Luckily, sda2 is a Windows partition which - i guess - is irreparable now but i didn't use it anyway.

So, the real question is, do you think I can save my linux installation? If so, how would you proceed?

The way I see it, all I'd have to do is recreate the MBR and reinstall the kernel + grub. I'm mainly concerned about the MBR as it would have to be exactly the same as the one i wiped, wouldn't it?

Regards,
demian


no place like /home
github

Offline

#2 2010-09-15 18:34:35

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: oh hai, so i've used disk destroyer

There are threads like these. Search the forums. There are certain apps that can help you recover the data.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2010-09-15 18:56:18

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: oh hai, so i've used disk destroyer

Try gpart, it might be able to find everything needed to recreate the partion table.

As for your /boot, just reinstall the kernel and grub.

Edit:

If you have no important partion like /home or whatever on the disc, then just reinstall. Probably faster.

Last edited by Mr.Elendig (2010-09-15 18:59:09)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2010-09-15 20:14:19

Slax
Member
Registered: 2010-08-11
Posts: 39

Re: oh hai, so i've used disk destroyer

Before trying any radical partition recovery software, I would make an image of what you still have using dd_rescue.

Offline

Board footer

Powered by FluxBB