LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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

Closed Thread
 
Search this Thread
Old 10-24-2005, 09:16 AM   #1
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Rep: Reputation: 30
corrupt ext3 partition - need to recover


I resized my ext3 partition using Partition Commander, rebooted into Linux (FC4) and everything seemed fine... booted up right away, straight into my Desktop with no complaints.

I then resized my Windows partition, rebooted into Windows, and everything was fine.

I booted into Linux again and got the "Enter root password or press Ctrl-D" prompt, and saw errors on screen about inconsistency in my file system.

I gave it root, and ran fsck... here's what I got:
Code:
Group XX inode table at XX conflicts with some other fs block.
Relocate? yes
hundreds (thousands?) of times, then
Code:
Root inode is not a directory.  Clear? yes

Error allocating 1022 contiguous block(s) in block group 1 for inode table: Could not allocate block in ext2 filesystem
Error allocating 1022 contiguous block(s) in block group 25 for inode table: Could not allocate block in ext2 filesystem
Error allocating 1022 contiguous block(s) in block group 49 for inode table: Could not allocate block in ext2 filesystem
Restarting e2fsck from the beginning...
/ contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
and the whole process repeats itself. I even tried running it with the -b option and feeding it a backup supernode with no success.

This is a brand-new system that I just migrated to, and do not have a backup (I know, I've become everything I hate). It is critical for me to recover my home directory. Does anybody have any suggestions.

When I initially had the problem, it at least started booting, after a failed repair attempt, it will not even load the grub config.
 
Old 10-25-2005, 01:53 PM   #2
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Original Poster
Rep: Reputation: 30
For what it´s worth, I gave up trying to fix this partition.

I mounted the hard drive in a working Windows system, and grabbed this utility:
http://www.data-recovery-software.ne...Recovery.shtml

The R-Linux utility was able to recover about 90% of what I wanted. I would highly recomend this to anybody, and best of all, it´s free!
 
Old 10-26-2005, 11:12 PM   #3
takin
LQ Newbie
 
Registered: Oct 2005
Location: Bhutan
Distribution: Debian
Posts: 4

Rep: Reputation: 0
I have the same problem right now, but I can access all my data by booting up with Knoppix. I'm still working on how to restore the partition without losing all the configuration changes I've made. If I succeed, I'll let you know.
 
Old 11-21-2005, 04:27 AM   #4
gfdecaires
LQ Newbie
 
Registered: May 2005
Location: Barbados
Distribution: Suse, Knoppix, Mandrake
Posts: 8

Rep: Reputation: 0
Booting from Knoppix

I tried booting from Knoppix but once I get there it sees both my WinBlows (got me into this in the first place) and my Ubunut Linux drives though it does not see the partition that actually contains the data that I am trying to recover.
HELP!!!!!
 
Old 11-21-2005, 05:30 AM   #5
takin
LQ Newbie
 
Registered: Oct 2005
Location: Bhutan
Distribution: Debian
Posts: 4

Rep: Reputation: 0
I forgot to post that I'd resolved my problem. Probably the excitement. I'd misread a friend's advice and ran
tune2fs -s 0 /dev/hda3
when it was meant to be a backup option. As soon as I reverted:
tune2fs -s 1 /dev/hda3
the e2fsck command ran without problems.

gfdecaires, can you mount the drive manually? Do you know the device name (ie, which partitiion) your data was on before you ran into trouble?
 
Old 11-21-2005, 05:47 AM   #6
gfdecaires
LQ Newbie
 
Registered: May 2005
Location: Barbados
Distribution: Suse, Knoppix, Mandrake
Posts: 8

Rep: Reputation: 0
corrupt ext3 partition

When I boot into a Knoppix Live CD I have to partitions on the drive hdb1 & hdb5 that are mounted but they do not have on the data, they just seem to have the Grub files on them. Runnind fdisk -l /dev/hdb shows me that there is a third partition hdb2 but I cannot mount it. When I try the mount command it says something like (are your sure you don't mean to mount an extended partition?). I don't know where to go from here.
 
Old 07-01-2010, 11:30 PM   #7
mariapeter12
LQ Newbie
 
Registered: Jun 2010
Posts: 9

Rep: Reputation: 0
Serious issue

Quote:
Originally Posted by whysyn View Post
I resized my ext3 partition using Partition Commander, rebooted into Linux (FC4) and everything seemed fine... booted up right away, straight into my Desktop with no complaints.

I then resized my Windows partition, rebooted into Windows, and everything was fine.

I booted into Linux again and got the "Enter root password or press Ctrl-D" prompt, and saw errors on screen about inconsistency in my file system.

I gave it root, and ran fsck... here's what I got:
Code:
Group XX inode table at XX conflicts with some other fs block.
Relocate? yes
hundreds (thousands?) of times, then
Code:
Root inode is not a directory.  Clear? yes

Error allocating 1022 contiguous block(s) in block group 1 for inode table: Could not allocate block in ext2 filesystem
Error allocating 1022 contiguous block(s) in block group 25 for inode table: Could not allocate block in ext2 filesystem
Error allocating 1022 contiguous block(s) in block group 49 for inode table: Could not allocate block in ext2 filesystem
Restarting e2fsck from the beginning...
/ contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
and the whole process repeats itself. I even tried running it with the -b option and feeding it a backup supernode with no success.

This is a brand-new system that I just migrated to, and do not have a backup (I know, I've become everything I hate). It is critical for me to recover my home directory. Does anybody have any suggestions.

When I initially had the problem, it at least started booting, after a failed repair attempt, it will not even load the grub config.
Loosing data from ext3 system is a serious issue i thought journaling will help it out
 
0 members found this post helpful.
Old 07-02-2010, 08:23 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,221
Blog Entries: 3

Rep: Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437
Hi,

Why resurrect a 5 year old thread? Nothing to contribute?

 
Old 07-02-2010, 08:30 AM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
mariapeter12;

In addition to digging up a thread that is almost 5 years old, your comment does not seem relevant to solving the problem.

If you have a question, please start a new thread.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 group descriptors corrupt humbletech99 Linux - General 5 12-02-2005 07:20 AM
Recover ext3 ? djib Linux - Software 2 06-09-2005 12:53 AM
recover fat partition formatted with ext3 by error mermoz Linux - Newbie 3 05-31-2005 06:55 AM
Help! Need to recover corrupt bzip2 files.. rhinomite Linux - General 3 02-15-2005 05:02 PM
hda ext3 corrupt crashmeister Linux - Hardware 9 08-24-2002 07:28 AM


All times are GMT -5. The time now is 05:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration