LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-30-2005, 05:46 PM   #1
sam-zee
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core
Posts: 1

Rep: Reputation: 0
Recovering A Destroyed Ext3 Rh6.2 Partition


I need some help to recover my lost data urgently. My problem is that somehow I destroyed my old HD from which I wanted to copy data to a new computer. I must also add that I don't have a lot of knowledge of Linux yet.

I've recently upgraded my PC which used one 40GB IBM HD, dual booting configured for WIN98 and RH6.2. I had a large partition (primary) for WIN (I think 30 or 35 GB) and the rest for two linux partitions - swap and root. I've installed FC3 on my new comp with dual boot (win2k and FC3), but because of booting problems I had to backup/restore MBR between booting Win2k or FC3.

When I tried to restore my FC3 boot MBR I accidentally restored it to my old HD. I copied data from win partition to my new windows installation earlier, but somehow I can not mount my linux partition from FC3 to copy data. And this is where my really important data is!!! I can succesfully mount first partition (win), but I can not access my linux partition. I have to mention also that while booting a lot of I/O errors show up for my old drive.

The concerned HD is secondary master (hdc). This is the output from some commands:

Code:
[root@petelin ~]# mount /dev/hdc3 /mnt
/dev/hdc3: Input/output error
mount: /dev/hdc3: can't read superblock
Code:
[root@petelin ~]# fdisk -l

Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 glav, 63 sektorjev/stezo, 9964 stez
Enote = cylinders od 16065 x 512 = 8225280 bajtov

 Naprava Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        7649    61440561    7  HPFS/NTFS
/dev/hda2            7650        9833    17542980   83  Linux
/dev/hda3            9834        9964     1052257+  82  Linux swap

Unable to seek on /dev/hdc
[root@petelin ~]#
Code:
[root@petelin ~]# fsck /dev/hdc2
fsck 1.35 (28-Feb-2004)
e2fsck 1.35 (28-Feb-2004)
fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/hdc2
Could this be a zero-length partition?
[root@petelin ~]#

(the same for /dev/hdc3)

[root@petelin ~]# fsck /dev/hdc4
fsck 1.35 (28-Feb-2004)
e2fsck 1.35 (28-Feb-2004)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/hdc4

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
   e2fsck -b 8193 <device>
Sorry for such a long post - I wanted to give as much data as possible. The problem is that I don't actually know what my linux partition was but I think it must have been hdc2.
Is there any chance to recover my linux data? I'd really appreciate all the answers!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
EXT3 recovering journal during boot rjw1678 Mandriva 1 03-28-2005 10:23 AM
Recovering data from an ext3 fs with no superblocks UncleTaz Linux - General 2 03-07-2004 01:22 PM
Recovering Data From A Freshly Reformatted Ext3 Partition johnleemk Linux - Hardware 1 02-04-2004 01:48 AM
recovering from improper shutdown: ext3 kngharv Linux - Newbie 2 06-11-2003 09:29 PM
recovering data from ext3 chupacabra Linux - General 2 10-21-2002 10:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration