Bug#766448: root fstype "auto" in /etc/fstab guaranteed unbootable
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!
Reply to: