update-initramfs fails to include fsck in initrdupdate-initramfs
reports the following warning when generating initrd.img
:
1 Warning: couldn't identify filesystem type for fsck hook, ignoring.
To identify filesystem type of /
, update-initramfs
requires device of /
listed in /etc/fstab
.
My rootfs is cross-debootstrap
ped in virtual machine, and does not contain a valid entry for /
in /etc/fstab
.
So I added the entry for /
manually and the problem went away:
123 # cat /etc/fstabLABEL=ROOT_EMMC / ext4 defaults,noatime,errors=remount-ro 0 1...
update-initramfs
reports the following warning when generating initrd.img
:
1 | Warning: couldn't identify filesystem type for fsck hook, ignoring. |
To identify filesystem type of /
, update-initramfs
requires device of /
listed in /etc/fstab
.
My rootfs is cross-debootstrap
ped in virtual machine, and does not contain a valid entry for /
in /etc/fstab
.
So I added the entry for /
manually and the problem went away:
1 2 3 | # cat /etc/fstab LABEL=ROOT_EMMC / ext4 defaults,noatime,errors=remount-ro 0 1 ... |