Skip to content

fsck: Mention file system name in failed identification warning

update-initramfs might be unable to identify the file system type of the root file system:

$ update-initramfs -u
update-initramfs: Generating /boot/initrd.img-5.15.0-1059-kvm
W: Couldn't identify type of root file system for fsck hook

This error message can be confusing and misleading for the user. The Ubuntu bug reported initially assumed it to be a bug in initramfs-tools but later found out that the file system missed the label.

Mention the file system name in failed identification warning to help the user finding the reason.

Bug-Ubuntu: https://launchpad.net/bugs/2068077

Merge request reports

Loading