Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This morning I must have been very tired, because I was thinking of "dd" sabayon to a flash drive and use it later. I have been using the wubi installer a lot, and I use win8 normally on the computer.

Stupid thing is, I managed to dd /dev/zero to /dev/sdb which was my windows system partition and another which I store files on. the partition table is damaged or gone. Strange thing is I can get to the bootloader screen as before and even win8 will try to boot and fail because of some missing file, wubi fails too. It seems there is some filesystem reference left, but I don't know how bad the situation is.

I have tried letting windows do repairs, use gparted and photorec.

I just realized that I might be able to recover the root image file wubi was using to recover some workfiles I had. Also I would like to recover a few gigabytes of jpegs and avis that are old camera backups. I don't know how to configure photorec though so I guess I'll try.

I'm feel more and more like a sitting duck now. I'm not sure how much work is on that root image file and I don't know how to get photorec to locate it.

I'll just hope that the comp will chomp data to my other drive for the rest of the day until things clear out. I'm a bit puzzled as use dd a lot and haven't really made this mistake ever. My comp sets my sysdrive to sdb purely because of how it's connected ain't that just swell?

share|improve this question
thanks for nothing then. Photorec seems to do the trick though – user2010513 Jan 31 at 20:04

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.