bug-ddrescue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ddrescue] I screwed up my gf's PC... please advice


From: andrew zajac
Subject: Re: [Bug-ddrescue] I screwed up my gf's PC... please advice
Date: Tue, 27 Jan 2009 07:34:12 -0800 (PST)

Hello Theodoris.

I think you know this, but what you did was not very smart!  You wrote your sda1 partition over your sda2 partition.  That screwed up the filesystem there.  You probably can recover a lot of your data using file carving since three seconds probably did not do dammage to the actual data, just the filesystem metadata.

Use photorec to recover the data.  Boot a live cd with photorec (like ubuntu-rescue-remix) and obtain another drive onto which you will put the recovered files.  Create a folder and cd into it.  Create another folder called "recovery".  Then run
sudo photorec /dev/sda2
(make sure sda2 is the correct device)
Follow the prompts to tell it to use the sda2 partition and recover the data to the "recovery" directory that you just created.  Make it go and it will search the partition for files that it can carve out without using the file system.

Good Luck!

See this page for more details:
http://help.ubuntu.com/community/DataRecovery


Andrew Zajac

--- On Tue, 1/27/09, Thodoris Charalabidis <address@hidden> wrote:
From: Thodoris Charalabidis <address@hidden>
Subject: [Bug-ddrescue] I screwed up my gf's PC... please advice
To: address@hidden
Received: Tuesday, January 27, 2009, 2:27 AM

Hello there ... This is my first post on this list. Sorry for the long mail.  Please advice me if you think you can help me !!!

I was trying to help a friend of mine recover files from his failing HDD (over the phone), and I heard about ddrescue ...
so I said to first try to learn the syntax of it.... on my girlfriend's pc :-(

So I booted from a live cd and I thought to give ddrescue a try... before helping my friend

I did a "fdisk -l" and it showed me her 1 physical hdd, splitted into 2 partitions (the pc has Windows XP)

something like /dev/sda1 and /dev/sda2 . The /dev/sda1 was C (windows, 17 GB) and /dev/sda2 was a DATA partition (no OS, 90 GB)

And then I did a
ddrescue /dev/sda1 /dev/sda2 logfilename.log   .... for 3 seconds. Just to see if I would get an error ... Only for 3 seconds !!! Then I canceled it (Ctrl-C)

After that I try to find more online examples and I found somewhere that you do that only if the second part of the syntax (/dev/sda2 in my case) is completly EMPTY. Mine wasn't.
So I reboot from the live cd. And boot into Windows. I got a nice blue screen (not a BSOD) stating that my hdd needs to be checked and things like that. I go "Oh Nooooo".
And it started deleting some "orphaned" files, repairing the indexes...etc etc.

After 30 minutes it boots in windows. I browse the 2nd partition. No problem. I could see all the directories. But I then saw that partition D (the /dev/sda2) was not 90 GB but 17 GB. And that 80% of all the PHOTOS she had from our trips and holidays was 0 kb, and I could not open them.

Can you please advice me what to do in order to recover our photos (and maybe the rest of the files) and get the capacity of the partition back ???

Theodoros (sorry for my english... I am from Greece)
_______________________________________________
Bug-ddrescue mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-ddrescue


Now with a new friend-happy design! Try the new Yahoo! Canada Messenger
reply via email to

[Prev in Thread] Current Thread [Next in Thread]