OpenWrt Forum Archive

Topic: EXT2-fs errors on openwrt-x86-ext2.image

The content of this topic has been archived on 2 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I installed openwrt-x86-ext2.image on a cf-card and get the following error on booting

EXT2-fs warning: mounting fs with errors, running e2fsck is recommended

after installing e2fsprogs_1.40.11-1_i386.ipk I get:

root@OpenWrt:/# e2fsck hda2
e2fsck 1.40.11 (17-June-2008)
e2fsck: No such file or directory while trying to open hda

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

root@OpenWrt:/#e2fsck -b 8193 hda2 gives the same output

what can I do, to repair this?

(Last edited by kultex on 4 Jan 2009, 21:36)

/dev/hda is the drive, run e2fsck on the partitions, not the drive itself.

it was a mistake in my first post - I already corrected - I tried everything - hda, hda2 ... every time the same thing

You should run e2fsck /dev/hda2 .

The discussion might have continued from here.