01.11.2016 19:39, J. Eppler пишет:
> Hello,
> 
> I use the following command to create a grub image:
> 
> ~~~
> ./grub-mkimage --verbose --output=out/grubaa64.efi

grub-mkimage is internal tool that is not intended to be used directly
for day to day grub installations. What are you trying to do and why
provided tools (grub-install, grub-mkstandalone and several others) are
not enough?

> --config=out/grub.configfile --format=arm64-efi $GRUB_MODULES
> Prefix not specified (use the -p option).
> Usage: ./grub-mkimage [OPTION...] [OPTION]
> ~~~
> 
> I get the message: "prefix not specified". My problem is that I do not
> understand what the prefix directory should be. The man page
> `grub-mkimage` for the -p option only says: "set prefix directory". It
> does not explain what a prefix directory value could be nor does it
> explain the function of the prefix directory.
> 

Prefix is location of /boot/grub from grub point of view. Normally all
other modules and configuration files are searched for relative to
$prefix. grub always needs to know $prefix value which is why it is
mandatory.

> ---
> 
> Appendix
> 
> config file:
> 
> ~~~
> $ cat out/grub.configfile
> search.fs_label rootfs root
> set prefix=($root)'/boot/grub'
> configfile $prefix/grub.cfg
> ~~~
> 
> grub modules:
> 
> ~~~
> GRUB_MODULES="boot chain configfile echo efinet eval ext2 fat font
> gettext gfxterm gzio help linux loadenv lsefi normal part_gpt part_msdos
> read regexp search search_fs_file search_fs_uuid search_label terminal
> terminfo test tftp time xen_boot"
> ~~~
> 
> best regards
>   J. Eppler
> 
> _______________________________________________
> Help-grub mailing list
> Help-grub@gnu.org
> https://lists.gnu.org/mailman/listinfo/help-grub
> 


_______________________________________________
Help-grub mailing list
Help-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to