For 0.118 not only did I discover setting the root fstype to "auto" in
/etc/fstab and then running mkinitramfs -u make the system guaranteed
unbootable, furthermore I found this code in
/usr/share/initramfs-tools/hook-functions

        # check that fstype rootfs recognition
        if [ "${FSTYPE}" = "unknown" ]; then
                FSTYPE=$(blkid -o value -s TYPE "${root}")
                if [  -z "${FSTYPE}" ]; then
                        echo "mkinitramfs: unknown fstype on root ${root}" >&2
                        echo "mkinitramfs: workaround is MODULES=most" >&2
                        echo "Error please report bug on initramfs-tools" >&2
                        exit 1
                fi

But alas it is never reached if the user put type 'auto' for / there in fstab!


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87tx2tyn9o....@jidanni.org

Reply via email to