wget -c ftp://ftp.gnu.org/gnu/grub/grub-2.00.tar.xz
tar xf grub-2.00.tar.xz
cd grub-2.00

./configure --with-platform=efi --target=x86_64 --disable-werror
make

sed -i -e '/gets is a security/d' grub-core/gnulib/stdio.in.h




GRUB EFI[link1]

../grub-mkimage -d . -o bootx64.efi -O x86_64-efi -p /efi/boot `find *.mod | xargs | sed -e 's/.mod//g'`





Links
[link1] http://wiki.osdev.org/GRUB#Build_Grub_EFI_binary_.28bootx64.efi.29