[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#519800: FSTYPE=ext3 but only ext2 in ramdisk possible with MODULES=dep



Package: initramfs-tools
Version: 0.92o

Silas S. Brown reported to me that his NSLU2 would not boot after
regenerating the ramdisk but that my ramdisk worked for me.  In the
end, he figured out that the problem is related to MODULES=dep.

Consider this scenario: you have an ext3 filesystem on the disk but
you change /etc/fstab to mount it as ext2 in order to reduce wear on
the USB flash drive.  When you regenerate the image, the ext2 module
will be put in the ramdisk, but when initramfs runs it will find
FSTYPE=ext3 and try to mount the disk as ext3.  This fails because
that module is not available.

I think initramfs-tools should fall-back to using ext2 if that module
is available when it finds FSTYPE=ext3.

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: