[Filesystems-devel] Bug#1115891: nilfs-tools: Missing fsck.nilfs2 prevents initrd from mounting nilfs2 root partition

Christopher Zimmermann christopher at artgyn.de
Sun Sep 21 10:23:12 BST 2025


Package: nilfs-tools
Version: 2.2.11-2
Severity: normal

Hi,

I just switched my root partition from ext2 to nilfs2 (is this a bad 
idea?!?).

One problem I encountered is that the initramfs system doesn't want to 
mount the root partition without running fsck.nilfs2 first, which is not 
implemented (yet).

I found two workarounds:

  * pass fsck.mode=skip on the kernel command line. This is not optimal, 
    since it will also prevent fsck from running on other filesystems, 
    which may need repairing…
  * Create dummy fsck.nilfs2: `ln /usr/bin/true /usr/sbin/fsck.nilfs2`, 
    then rerun dpkg-reconfigure linux-image-…

I'd suggest shipping a dummy fsck.nilfs2 emitting a warning that it is a 
dummy to streamline nilfs2 on root for users.


Christopher


-- System Information:
Debian Release: 13.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.43+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nilfs-tools depends on:
ii  libblkid1  2.41-5
ii  libc6      2.41-12
ii  libmount1  2.41-5
ii  libuuid1   2.41-5

nilfs-tools recommends no packages.

Versions of packages nilfs-tools suggests:
ii  e2fsprogs  1.47.2-3+b3

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/filesystems-devel/attachments/20250921/92edd020/attachment.sig>


More information about the Filesystems-devel mailing list