GRUB Legacy: Difference between revisions

[unchecked revision][unchecked revision]
Line 249:
 
where "-p /efi/boot" tells where "grub.cfg" is after booting and it will be loaded from this path on booting device.
 
A easy way of adding all modules is:
 
../grub-mkimage -d . -o bootx64.efi -O x86_64-efi -p /efi/boot `find *.mod | xargs | sed -e 's/.mod//g'`
 
That will build "bootx64.efi" in the subfolder and this can now be copied to a USB-disk, harddisk etc.
Anonymous user