GRUB Legacy: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Line 248: Line 248:
Execute: ./grub-mkimage -d . -o grub.efi -p /efi/grub minicmd part_gpt part_msdos part_apple fat ext2 hfsplus hfs ntfs reiserfs xfs iso9660 udf ls search loopback linux multiboot multiboot2 chain reboot halt appleldr help configfile hexdump loadbios memrw fixvideo crc sh video gfxterm font png
Execute: ./grub-mkimage -d . -o grub.efi -p /efi/grub minicmd part_gpt part_msdos part_apple fat ext2 hfsplus hfs ntfs reiserfs xfs iso9660 udf ls search loopback linux multiboot multiboot2 chain reboot halt appleldr help configfile hexdump loadbios memrw fixvideo crc sh video gfxterm font png


where "-p /efi/grub" tells where grub is located. Grub.cfg will be loaded from this path on booting device.
where "-p /efi/grub" tells where root is located just after boot. Grub.cfg will be loaded from this path on booting device.


That will build "grub.efi" in the subfolder and this can now be copied to a USB-disk, harddisk etc.
That will build "grub.efi" in the subfolder and this can now be copied to a USB-disk, harddisk etc.