LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-12-2003, 11:46 AM   #1
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
e2fsck is dumb


ok, recently, my main HD has died, but as a good boy I did backup for everything. I buyed a new HD, copyied everything from my backup to the new HD.

Then I tried to boot my old system on the new HD, everything goes fine until I got e2fsck :
FSCK 1.27 (8-MAR-2002)
/sbin/e2fsck : filesystem has unsupported feature(s) (root)
e2fsck: got a newer version of e2fsck

Ok, at this point, I remembered I had tried something different about my fs : I added a Label!
So with tune2fs, I erased this label...
now the msg I got from e2fsck is :

FSCK 1.27 (8-MAR-2002)
/sbin/e2fsck : filesystem has unsupported feature(s) (/dev/hda1)
e2fsck: got a newer version of e2fsck

WHAT'S THAT? Well, e2fsck, if you don't know what's /dev/hda1, you (and I!) have a serious problem.
Now what did I'm suppose to do? Is it really a e2fsck version problem (this look impossible, the LABEL is supported since twenty years, at least)?

Can it be because my new HD isn't the exact size my old one was?

(oh well I suppose recovery will never work perfectly )
 
Old 06-13-2003, 06:00 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I buyed a new HD, copyied everything from my backup to the new HD.
To determine what's really dumb, did you copy disk contents, or did you "dd" the whole disk?
 
Old 06-13-2003, 08:18 AM   #3
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Original Poster
Rep: Reputation: 46
I copy the whole disk content with cp... you know, cp -a, seems to have worked well, except with that little e2fsck problem... I think I'll do a new installation of Slackware 8.1 THEN transfert everything using cp... it should works better I suppose.
 
Old 06-13-2003, 08:26 AM   #4
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
why don't you try to reinstall fsck first before you blow away all your hard work.
 
Old 06-13-2003, 09:33 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
...or try fsck from something bootable like tomsrtbt?
 
Old 06-13-2003, 10:06 AM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
e2fsck vs mke2fs

I think that Half_Elf's problem has to do with the version numbers in e2fsck and mke2fs. Half_Elf probably used a newer version of mke2fs to create the new disk. e2fsk has a check to make sure that it is running against a file system created by a mke2fs version equal to or older than itself. It refuses to work against a file system created by a newer version of mke2fs.

Therefore the solution to Half_Elf's problem is probably to install the latest version of e2fsck.
 
Old 06-13-2003, 11:51 AM   #7
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Original Poster
Rep: Reputation: 46
ok... then I will have no choice to "blow away my hard work" since nwer version of e2fsck need glibc 2.3 (and this system is currently using 2.2... and you know habitually, updating glibc under slackware result on a disaster, well last time I tried it).
Thank you for all your answer... I'll know for the next time.
 
  


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
how do i skip e2fsck? murrowman789 Slackware 8 07-20-2005 05:25 PM
e2fsck Eugney Slackware 2 06-03-2005 11:13 AM
e2fsck -c question! Finlay Linux - Hardware 4 03-30-2004 09:20 AM
e2fsck warning! demmylls Linux - General 3 09-17-2003 04:23 AM
When and how to use e2fsck and badblocks Silly22 Linux - Newbie 5 05-29-2002 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:59 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