Code: Select all
$ grub-mkrescue . -o myos.iso
mcopy: No directory slots
grub-mkrescue: error: `mcopy` invocation failed
Code: Select all
grub-mkrescue: info: kernel_img=0x56134d0283c0, kernel_size=0x15000.
grub-mkrescue: info: the core size is 0x19b44.
grub-mkrescue: info: writing 0x1c000 bytes.
grub-mkrescue: info: copying `/tmp/grub.Z3DpYz/efi/boot/bootia32.efi' -> `/tmp/grub.Z3DpYz/efi/boot/boot.efi'.
grub-mkrescue: info: executing mformat -C -f 2880 -L 16 -i /tmp/grub.A7DwgC/efi.img ::.
grub-mkrescue: info: executing mcopy -s -i /tmp/grub.A7DwgC/efi.img /tmp/grub.Z3DpYz/efi ::/.
mcopy: No directory slots
grub-mkrescue: error: `mcopy` invocation failed
Now, I've tried searching every corner of the internet for info on this error, but all I could find are mailing lists from the 2000's where people report this issue while writing to floppy disks. I also tried looking through the source code of the mtools package but it wasn't particularly enlightening. Am I missing something stupid?
Any help would be greatly appreciated!