Tuesday, July 23, 2013

GRUB in ur face

Sometimes it is really hard to find very simple information.

If you compiled GRUB with your own module (for example to create BOOTX64.EFI file to use setup_var command), and suddenly on booting from this file it throws:

Welcome to GRUB!

incompatible license
Aborted. press any key to continue.

Don't worry and just insert GRUB_MOD_LICENSE("GPLv3+"); into your .c source code.
It means nothing else.
Now you know what I feel after spending almost an hour for inventing that solution (since googling didn't help :()...