Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

grub-mkrescue fails with "Cannot find path 'efi.img' in loaded ISO image" #45

Closed
omivore opened this issue Jan 4, 2016 · 2 comments
Closed
Labels

Comments

@omivore
Copy link

omivore commented Jan 4, 2016

When building the .iso file, grub-mkrescue aborted with the error
xorriso : FAILURE : Cannot find path '/efi.img' in loaded ISO image

This from the command given in 3.3 Making an ISO.

@omivore
Copy link
Author

omivore commented Jan 4, 2016

Solved by installing mtools, which, from my scant research, seems to only be an optional dependency for grub. Apparently grub is "trying to apply efi support when there is none" or something like that.

A simple sudo apt-get install mtools or equivalent variant solves that. Works for me, but I saw something about options for grub-mkrescue somewhere, or at least a bug report for grub, if anyone wants to look further. Regardless, I ran into this problem and this is what I did to fix it. Hopefully it'll help others.

@steveklabnik
Copy link
Member

Seems like another awesome candidate for #43

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants