Apart from that, /usr/lib/grub/x86_64-efi/nilfs2.mod exists and /mnt/pd/usr/lib/grub/x86_64-efi/fs.lst does have nilfs2. I'll try booting into the OS and try running the same commands to verify if it's a chroot issue or not. But this issue did not persist with Debian buster at least(i.e. a long time back).
On Mon, Apr 21, 2025 at 5:11 PM Felix Zielcke <fziel...@z-51.de> wrote: > > Am Montag, dem 21.04.2025 um 16:29 +0530 schrieb dE: > > Package: grub-efi-amd64 > > Version: 2.12-7 > > Severity: normal > > Grub supports nilfs2 filesystem, however the debian version of grub, > > although not reporting any error during the bootloader installation, > > fails to load stage 2 and is stuck at the grub prompt. Running ls on > > the partition (from the grub prompt) reports an unrecognised > > filesystem. The nilfs2.mod is also missing from > > /boot/grub/x86_64-efi/. The setup was attempted in a chroot with all > > of proc, sys and dev rbind ed. > > Hi, > > do you use SecureBoot? There nilfs2 isn't included. > But it's strange that it doestn't exist in /boot/grub/ > For me it is there. > > Does /usr/lib/grub/x86_64-efi/nilfs2.mod exists? > /usr/lib/grub/x86_64-efi/fs.lst should list nilfs2