Opened by Victor Martinez - 2013-11-30
Last edited by Victor Martinez - 2014-01-18
FS#67 - initramfs: problem with e2fsck
CRUX-ARM 3.0 - https://crux-arm.nu/
* Mounting /proc, /sys.
* Mounting filesystems... OK
* Populating /dev via mdev... OK
* Registering mdev as hotplug agent... OK
* Creating and mounting /dev/pts... OK
* Starting kernel log daemon... OK
* Setting hostname... OK
* Loading network loopback device... OK
* Saving boot messages... OK
* Trying to find and mount the media installer...
* Searching for the CRUX media...
- Found media on /dev/mmcblk0p1, CRUX media.
The system is coming up. Please wait.
Please press Enter to activate this console.
# fsck
fsck (busybox 1.21.1, 2013-11-01 23:47:28 UTC)
# e2fsck /dev/sda1
e2fsck 1.42.5 (29-Jul-2012)
ext2fs_check_if_mount: Can’t check if filesystem is mounted due to missing mtab file while determining whether /dev/sda1 is mounted.
e2fsck: e2fsck not compiled with HTREE support,
but filesystem /dev/sda1 has HTREE directories.
e2fsck: Get a newer version of e2fsck!
/dev/sda1: WARNING: Filesystem still has errors
Possible solution –enable-htree in e2fsprogs configure
Added configure option and stripped binary:
https://crux-arm.nu/~pitillo/initramfs-htree.diff
# e2fsck /dev/mmcblk0p1
e2fsck 1.42.5 (29-Jul-2012)
ext2fs_check_if_mount: Can’t check if filesystem is mounted due to missing mtab file while determining whether /dev/mmcblk0p1 is mounted.
/dev/mmcblk0p1: clean, 11/200000 files, 30122/799998 blocks