On Fri, Apr 26 2013, Andrea Conti wrote:

> Hi,
>
>> EXT3-fs (sda5): error: couldn't mount because of unsupported optional
> features (240)
>
>> /dev/sda5        /           ext4    noatime,discard      0 1
>
> When first mounting the root filesystem the kernel has no access to
> /etc/fstab and therefore by default tries mounting it with all available
> FS drivers until one succeeds. ext3 (or ext4 in ext3 mode) is tried
> before ext4 and you get that error when it fails because the filesystem
> is using ext4-only features such as extents.
>
> You can avoid that by adding "rootfstype=ext4" to the kernel command line.
>
>> Since all my fs are ext4 I could remove ext3 support from the kernel
>> (3.5.4).  Is that the recommended procedure?
>
> You can remove ext2/ext3 support even if you still have ext2/ext3
> filesystems around; the ext4 driver is backwards compatible and can
> handle those with no problems. You just have to make sure that
> CONFIG_EXT4_USE_FOR_EXT23 is set in your kernel configuration.
>
> HTH
> andrea

Thanks.  I didn't know about rootfstype.

allan

Reply via email to