fai-cd 5.9 grub-mkstandalone error

Andreas Heinlein aheinlein at gmx.com
Fri Jan 10 16:08:03 CET 2020


Hi,

I just tried the fai-cd command from FAI 5.9. After creating the squashfs, I get:

grub-mkstandalone: error: cannot make temporary directory: No such file or directory.

I can see that /tmp/grub.cfg exists in the nfsroot. From what I saw in fai-cd, the next step would be:

chroot $NFSROOT grub-mkstandalone \
            --format=x86_64-efi \
            --output=/tmp/bootx64.efi \
            --locales="" --fonts="" \
            "boot/grub/grub.cfg=/tmp/grub.cfg"

If I run that command directly from the shell, it works and creates /tmp/bootx64.efi in the NFSROOT.

Any idea what might be causing this?

Thanks,

Andreas



More information about the linux-fai mailing list