Giovanni Mascellani <mascellani@...> writes:

Hi everyone.

I'm trying to run GRUB on my new EFI-based laptop. Unfortunately I'm
running into a few problems. I'm using GRUB 2.00 downloaded using:

wget ftp://ftp.gnu.org/gnu/grub/grub-2.00.tar.gz

Configured with:

./configure --with-platform=efi --target=x86_64 --program-prefix=""

And built with:

make

(these operations are ran over a computer other than the one I'm trying
to boot, of course; anyway, they're both Debian installations, 64 bits).

Then I create the GRUB EFI image with:

cd grub-core
../grub-mkimage -o grub.efi -O x86_64-efi -p '' -d . part_gpt ext2 fat
configfile part_msdos linux boot multiboot chain

Unless you have a good reason and know what you are doing you should use grub-install (and grub-mkconfig). Does that not work for you?

and copy it on a USB stick (MS-DOS partition table, FAT partition),
putting it in the directory /efi/boot/bootx64.efi.

If you really want it as default boot loader then use grub-install --removable .

/Mads

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to