Anonymous user
GRUB Legacy: Difference between revisions
→Grub for EFI
[unchecked revision] | [unchecked revision] |
Line 228:
Download grub-1.9-rc2.tar.gz and unpack it.
Next thing to do is
then "make"
Line 242:
For your grub to be functional you should include as many filesystems as possible and also linux,multiboot,multiboot2 etc so that you can read any type of kernel from any type of filesystem.
So.. Lets build grub.efi / bootx64.efi
Go to "grub-core" folder.
Execute: ../grub-mkimage -d . -o bootx64.efi -O x86_64-efi -p /efi/boot
where "-p /efi/boot" tells where "grub.cfg" is after booting and it will be loaded from this path on booting device.
Line 252:
A easy way of adding all modules is:
<pre>../grub-mkimage -d . -o bootx64.efi -O x86_64-efi -p /efi/boot `find *.mod | xargs | sed -e 's/.mod//g'`</pre>
That will build "bootx64.efi" in the subfolder and this can now be copied to a USB-disk, harddisk etc.
Line 292:
To make OSX find the bootx64.efi image on boot i did;
where /Volumes/EFI is the first partition on my usb disk..
|