Bug#782522: still seeing multiple fsck's of /
Mike Kupfer
m.kupfer at acm.org
Sat Apr 25 03:58:33 BST 2015
Michael Biebl wrote:
> Which initramfs-tools version do you have installed?
ii initramfs-tool 0.120 all generic modular initramfs generat
> Have you made sure,
> your initramfs is update (via update-initramfs).
I did
# update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
And rebooted. Still seeing 2 fsck's for / (/dev/sda1).
> If you have initramfs-tools 0.120 installed and active, you should have
> flag files such as /run/initramfs/fsck-root, indicating that the
> initramfs has checked your / filesystem. In that case, systemd will skip
> the check.
$ ls /run/initramfs
fsck.log
(That's after running update-initramfs.)
> If those flag files are missing, either your initramfs-tools version is
> not recent enough, or your initramfs was not updated.
I have an alternate suggestion. In the thread "boot-time messages,
/init touch not found" on debian-user, The Wanderer suggested that I
unpack the initramfs image and see whether it contains bin/touch.
I did that, and it does not in fact contain anything called "touch".
# find . -name touch
#
Here's what bin contains:
# ls bin
cat false insmod losetup mknod pivot_root run-init udevadm
chroot fstype ipconfig ls mount poweroff sh umount
cpio gunzip kill minips mv readlink sleep uname
dd gzip kmod mkdir nfsmount reboot sync
dmesg halt ln mkfifo nuke resume true
I'm guessing that the lack of bin/touch is preventing this flag file
from being created.
regards,
mike
More information about the Pkg-systemd-maintainers
mailing list