Did 'fsck' on wrong device

How to use TestDisk to recover lost partition
Post Reply
Message
Author
Imagoodguy
Posts: 1
Joined: 13 Nov 2012, 18:14

Did 'fsck' on wrong device

#1 Post by Imagoodguy » 13 Nov 2012, 18:22

To make a long story short I did:
fsck -t ext2 /dev/sda1 .... which is "/"

I was used to seeing hda and not sda. Here is the layout
hda1 = /
hda2 = swap
hda3 = /home

While booted on Slackware live iso I wanted to reformat a second
drive which had Ubuntu:
Sda1, 2, 5, 6 and 7.

Instead of 'fsck -t ext2 /dev/sda' I did 'fsck -t ext2 /dev/sdc'.
Don't ask why... temporary insanity. Perhaps death wish. Anyway
with a few seconds I realized what I did. Tried ^C, Esc and then
yanked the plug out of the wall.

I can access hdc3 (/home) but cannot access hdc1 (/). What I need
to do is at least access hdc1 in order to salvage what I can. Then
I'll somehow copy /home to a spare disk.

Can Test-disk aid me in any way ?

Paul

Sponsored links

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests