LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 12:46 PM   #1
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
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, 07:00 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
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, 09:18 AM   #3
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Original Poster
Rep: Reputation: 45
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, 09: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, 10:33 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
...or try fsck from something bootable like tomsrtbt?
 
Old 06-13-2003, 11:06 AM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
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, 12:51 PM   #7
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Original Poster
Rep: Reputation: 45
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


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


All times are GMT -5. The time now is 06:37 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration