You are not logged in.

#1 2013-05-14 08:31:16

LeMe
Member
Registered: 2013-05-14
Posts: 1

Harddisk recovery after stupid dd

Woah, its been one sad week for me.

Last week i decided to update my laptop, and while i was at it i ssh'ed into my girlfriends (We both use Arch) to update hers too.
Unfortunately while it was updating, the machine crashed. When booting systemd failed, i tried to fix it with an old liveusb but could not get it to work.
I was in a bit of a hurry as i had to get it to work before leaving town for an extended weekend.
As the home partition was still intact i decided that it would probably be easier/quicker if i put a newer version of the arch image on the stick and reinstalled her system with her old homepartition.
This worked and i left, but when i got home i was in it for a nasty surprise...

In my rush i had made one tiny mistake:
dd bs=4M if=/path/to/archlinux.iso of=/dev/sda

well, i had basically turned my harddrive into a usb installation device instead of the stick (sdb)

So here comes my question, how can i recover as much of my old data as possible?
As far as i recall there was a small partition for the MBR, a swap partition and one big ext4 partition for the rest.
Can you guys help me?

Offline

#2 2013-05-14 09:00:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Harddisk recovery after stupid dd


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB