[lfs-support] ext4

Bruce Dubbs bruce.dubbs at gmail.com
Sun Sep 8 15:34:06 PDT 2013


Roger Koehler wrote:
> I anxiously await each new release of LFS, and upon receiving the news
> of the release of 7.4, I immediately began again to install a new
> system. I learn something new every time. This time is proving to be
> no different.
>
> So far, the biggest change for me is adopting the change from ext3 to
> ext4. I am building 7.4 using LFS 7.3.  I successfully created a new
> partition and used the instructions to format it as ext4. So, here's
> the sticky part. I can't mount it! I kept getting the following error:
>
> mount: wrong fs type, bad option, bad superblock on /dev/sda5, missing
> codepage or helper program, or other error
>
> In some cases useful info is found in syslog - try dmesg | tail or so.
>
> So, I looked at dmesg | tail:
>
> [ 4946.062759] EXT4-fs (sda5): couldn't mount as ext3 due to feature
> incompatibilities [ 4955.773590] EXT4-fs (sda5): Filesystem with huge
> files cannot be mounted RDWR without CONFIG_LBDAF

That indicates a kernel option that has not been activated.  This is 
what I have in that area:

#
# File systems
#
CONFIG_DCACHE_WORD_ACCESS=y
# CONFIG_EXT2_FS is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT23=y
# CONFIG_EXT4_FS_POSIX_ACL is not set
# CONFIG_EXT4_FS_SECURITY is not set
# CONFIG_EXT4_DEBUG is not set

   -- Bruce



More information about the lfs-support mailing list