Package: initramfs-tools Version: 0.130 Severity: normal Dear Maintainer,
I encountered a strange problem mounting the rootfs with a freshly debootstrapped system. Note: possible duplicate of #845302 but due to the details I found it probably warrants its own topic. Steps: - used debootstrap with --variant=minbase to create an armhf rootfs - added custom packages such as vendor kernel, systemd, initramfs-tools - created extlinux.conf to boot - bootargs: root=UUID=... rootfstype=auto rootwait Observations: - root=/dev/mmcblk0p1 rootfstype=auto: fails - root=/dev/mmcblk0p1 rootfstype=ext4: works - root=UUID=... rootfstype=ext4: works How did I find this? I added "set -x" to - /usr/share/initramfs-tools/init - /usr/share/initramfs-tools/scripts/init-bottom/udev The serial console then finally revealed what is going wrong. When it fails (rootfstype=auto): + [ auto != unknown ] + mount -r -t auto /dev/mmcblk0p1 /root mount: No such device When it works (rootfstype=ext4): + [ ext4 != unknown ] + mount -r -t ext4 /dev/mmcblk0p1 /root [ 9.979060] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) So I see two solutions: - If rootfstype=auto, and the actual type is known through a previous call to blkid, e.g. while running fsck, use the known type - fix the mount command to deal with type auto I am submitting the full boot logs by email as follow-up. Yours sincerely Josua Mayer -- Package-specific info: -- initramfs sizes -rw-r--r-- 1 root root 8.5M Sep 16 20:04 /boot/initrd.img-4.9.124-imx6-sr -- /proc/cmdline root=UUID=febfadf2-ffa2-48ad-9802-d7b67b5e7818 rootfstype=ext4 rootwait -- /proc/filesystems ext3 ext2 ext4 vfat fuseblk f2fs -- lsmod Module Size Used by bnep 20480 2 mxc_v4l2_capture 40960 0 ipu_bg_overlay_sdc 16384 1 mxc_v4l2_capture ipu_still 16384 1 mxc_v4l2_capture ipu_prp_enc 16384 1 mxc_v4l2_capture ipu_csi_enc 16384 1 mxc_v4l2_capture ipu_fg_overlay_sdc 20480 1 mxc_v4l2_capture hci_uart 49152 0 btbcm 16384 1 hci_uart nvmem_core 24576 1 hci_uart ov5647_camera_mipi 36864 0 v4l2_int_device 16384 3 ov5647_camera_mipi,ipu_csi_enc,mxc_v4l2_capture xt_connmark 16384 2 iptable_nat 16384 0 nf_conntrack_ipv4 16384 3 nf_defrag_ipv4 16384 1 nf_conntrack_ipv4 nf_nat_ipv4 16384 1 iptable_nat nf_nat 24576 1 nf_nat_ipv4 nf_conntrack 106496 4 nf_conntrack_ipv4,xt_connmark,nf_nat_ipv4,nf_nat iptable_mangle 16384 1 iptable_filter 16384 0 ir_lirc_codec 16384 0 galcore 372736 0 ir_rc6_decoder 16384 0 lirc_dev 20480 1 ir_lirc_codec rc_rc6_mce 16384 0 gpio_ir_recv 16384 0 bluetooth 360448 12 hci_uart,bnep,btbcm rfkill 24576 4 bluetooth ip_tables 24576 3 iptable_mangle,iptable_filter,iptable_nat x_tables 28672 4 iptable_mangle,ip_tables,iptable_filter,xt_connmark imx_sdma 28672 8 virt_dma 16384 1 imx_sdma -- /etc/initramfs-tools/modules -- /etc/initramfs-tools/initramfs.conf MODULES=most BUSYBOX=auto KEYMAP=n COMPRESS=gzip DEVICE= NFSROOT=auto -- /etc/initramfs-tools/update-initramfs.conf update_initramfs=yes backup_initramfs=no -- /proc/mdstat Personalities : unused devices: <none> -- mkinitramfs hooks /etc/initramfs-tools/hooks/: imx-sdma /usr/share/initramfs-tools/hooks: dmsetup fsck fuse keymap klibc-utils kmod ntfs_3g resume thermal udev -- System Information: Debian Release: 9.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: armhf (armv7l) Kernel: Linux 4.9.124-imx6-sr (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages initramfs-tools depends on: ii initramfs-tools-core 0.130 ii linux-base 4.5 initramfs-tools recommends no packages. Versions of packages initramfs-tools suggests: pn bash-completion <none> -- no debconf information