Ken Moffat wrote:
> On Sun, May 19, 2013 at 05:22:45PM -0400, Baho Utot wrote:
>> I have always in the past used a ext3 partition on my LFS systems. I
>> have changed to ext4 and on boot I get errors that are saying than it
>> had problems mounting the partition due to unsupported options, it has
>> EXT3-fs in the first two error messages, the third message says it uses
>> EXT4-fs and it then mounts without error.
>> I belive it is coming from the kernel as it has a kernal time of [
>> 1.568232].
>>
>> Is this normal for the boot to try mount the root partition with EXT3-fs
>> twice before then using EXT4-fs?
>>
> sort of. ISTR there are config option(s) to mount ext{2,3} using
> ext4. On at least one of my machines I see two such messages, but
> the first is for ext3 and the second for ext2 :
>
> [ 1.765843] sd 0:0:0:0: [sda] Attached SCSI disk
> [ 1.792078] EXT3-fs (sda6): error: couldn't mount because of unsupported
> optional features (240)
> [ 1.795575] EXT2-fs (sda6): error: couldn't mount because of unsupported
> optional features (240)
> [ 1.818698] EXT4-fs (sda6): mounted filesystem with ordered data mode.
> Opts: (null)
> [ 1.821899] VFS: Mounted root (ext4 filesystem) readonly on device 8:6.
>
> I can't remember when this started, and google is useless (loads of
> references to converting *to* ext4, or for an obsolete config
> option), but at some time the ext4 driver became able to mount ext3
> and ext2 - if those were enabled.
I don't see that right now, but I'm in between systems. Right now I'm
using a 3.8.3 kernel with:
# 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
But I use ext2 for /boot, ext3 for /, and ext4 for /mnt/lfs. I also
have one partition mounted as reiserfs.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page