LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wrong version of FSCK: HOW TO ? (https://www.linuxquestions.org/questions/linux-newbie-8/wrong-version-of-fsck-how-to-316845/)

penguinlnx 04-24-2005 11:32 PM

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.

Oliv' 04-26-2005 06:52 AM

Hello,

Have you tried to give root password and then run fsck.ext3 manually (without options) on your root partition???

penguinlnx 04-26-2005 09:42 PM

I don't even know what fsck does!

Oliv' 04-27-2005 07:07 AM

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 ;)

penguinlnx 05-01-2005 04:47 AM

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?

Oliv' 05-01-2005 07:45 AM

difference between Windows utility and Linux one's... no idea :confused: I've never really used the Windows one's :rolleyes:
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

Vince-ubuntu 05-28-2005 04:01 AM

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

bramhastra 05-28-2005 04:07 AM

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

Vince-ubuntu 05-28-2005 04:20 AM

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.

bramhastra 05-28-2005 04:42 AM

Quote:

/dev/hdb5 / ext2 defaults 1 1
well this for example how a default root shuld be mounted

Vince-ubuntu 05-28-2005 04:48 AM

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

Vince-ubuntu 05-28-2005 04:58 AM

OK, as I expected, I have tried with:

/dev/hda4 / ext3 defaults 1 1

and that didn't help.
Thanks anyway...
V

bramhastra 05-28-2005 05:12 AM

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


All times are GMT -5. The time now is 12:00 AM.