LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-24-2005, 11:32 PM   #1
penguinlnx
Member
 
Registered: Mar 2005
Location: Ice Station Alert AFB
Distribution: Gentoo
Posts: 166

Rep: Reputation: 30
Wrong version of FSCK: HOW TO ?


After a few emerges, I now get the following error on BOOT up.

Code:
fsck.ext3: Filesystem has unsupported feature(s)  (/)
e2fsck: Get a newer version of e2fsck!
/dev/hda1: clean, 40/10040 files, 8481/40128 blocks
*Fsck could not correct all errors, manual repair needed.  [!!]

Give root password for maintainence
(or type control-D for normal startup):
#
If I just accept (^d) everything boots okay, but I should update this file:
But when I try emerge fsck or emerge e2fsck, I get package not found...

What do I really need to emerge a new copy of fsck? what is it a part of?

----------------------------------------------
I've already tried:
Code:
emerge e2fsprogs
But on BOOT I get the same error as before: Is there some other package I must update, or do I have to edit a config file or make a link? Previously I had a Vidalinux1 system up several times, but the boot and current root are 100% Gentoo.
 
Old 04-26-2005, 06:52 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

Have you tried to give root password and then run fsck.ext3 manually (without options) on your root partition???
 
Old 04-26-2005, 09:42 PM   #3
penguinlnx
Member
 
Registered: Mar 2005
Location: Ice Station Alert AFB
Distribution: Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
I don't even know what fsck does!
 
Old 04-27-2005, 07:07 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
fsck does a filesystem check which is very usefull when you have an unexpected reboot. To make simple, this prog will for example at the next boot correct bugs on your filesystem due to an unexpected reboot whereas your PC did a write access on your disk.
So enter your root password and run: fsck.ext3 and answer yes to all the questions
 
Old 05-01-2005, 04:47 AM   #5
penguinlnx
Member
 
Registered: Mar 2005
Location: Ice Station Alert AFB
Distribution: Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
Okay, from your discussion I have the basic idea that fsck is something like Windows Scandisk or Checkdisk.
And like those programs, is almost compulsory when you have a freeze-up of crash.
Can you also tell me if there are any differences between the Windows version and the linux version, and also,
What is the difference between fsck and fsck.ext3 ? Are they different binary files?
 
Old 05-01-2005, 07:45 AM   #6
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
difference between Windows utility and Linux one's... no idea I've never really used the Windows one's
Quote:
What is the difference between fsck and fsck.ext3 ?
fsck is more general... I mean they are exactly the same if you consider the following:
Code:
fsck -t ext3 = fsck.ext3
so we can say that fsck do the same that fsck.something... but it has to find before the filesystem type to check the partition
 
Old 05-28-2005, 04:01 AM   #7
Vince-ubuntu
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
has anybody figured out this problem

I have the same problem on my laptop, running ubuntu hoary: unrecognized features of the / partition (ext3) -- get a newer version of e2fsck. The thing is, doing an e2fsck on a mounted partition is not recommended. Everything else is working just great, and (after trying Debian and Fedora), I am about to decide that ubuntu is the best solution for me and my computer... if it wasn't fro this!
Help please!
Vince
 
Old 05-28-2005, 04:07 AM   #8
bramhastra
Member
 
Registered: May 2005
Location: India
Distribution: RHEL 4.0
Posts: 136

Rep: Reputation: 15
ok the problem seems to be in your fstab file

Have u mounted any device in that file

If yes go to rescue mode and remove it
 
Old 05-28-2005, 04:20 AM   #9
Vince-ubuntu
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
Hi,
nope, it doesn't help.
Here is my fstab file now:



# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda4 / ext3 defaults,errors=remount-ro 0 1
/dev/hda3 /home ext3 defaults 0 2
/dev/hda2 none swap sw 0 0
#/dev/scd0 /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
#/dev/hda1 /mnt/WinXP vfat defaults,auto,uid=95,gid=95 0 0


I've tried to keep only what is vital, but still have the same error message.

Last edited by Vince-ubuntu; 05-28-2005 at 04:51 AM.
 
Old 05-28-2005, 04:42 AM   #10
bramhastra
Member
 
Registered: May 2005
Location: India
Distribution: RHEL 4.0
Posts: 136

Rep: Reputation: 15
Quote:
/dev/hdb5 / ext2 defaults 1 1
well this for example how a default root shuld be mounted
 
Old 05-28-2005, 04:48 AM   #11
Vince-ubuntu
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
yeah right.
for sure, I am not going to mount it as a ext2. I am not sure it is wise to remove the "errors=remount-ro" part. I guess I can try it. What's the worse that can happen ? ;-)
V
 
Old 05-28-2005, 04:58 AM   #12
Vince-ubuntu
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
OK, as I expected, I have tried with:

/dev/hda4 / ext3 defaults 1 1

and that didn't help.
Thanks anyway...
V
 
Old 05-28-2005, 05:12 AM   #13
bramhastra
Member
 
Registered: May 2005
Location: India
Distribution: RHEL 4.0
Posts: 136

Rep: Reputation: 15
did u check out for bad sectors on your HDD

Well onto my opinion you should build a fstab file of default configuration and see if it works or not
 
  


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
whats wrong with my fsck? Dillius Mandriva 5 02-19-2005 04:18 PM
slackware startx starts the wrong version, i didn't even know i had another version edman007 Linux - Software 3 05-16-2004 07:38 PM
upgraded kernel but still wrong version John Newbie Debian 8 07-28-2003 04:50 PM
wrong kernel version? enrico Slackware 4 05-01-2003 12:05 AM
what the fsck is wrong with sco? saturn_vk General 2 04-25-2003 10:13 AM


All times are GMT -5. The time now is 05:28 PM.

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