Make sure to not install grub legacy on EFI systems.
For instance, RHEL6 still uses a grub legacy but with EFI support.
Fix the bootloader path in the efibootmgr command.
Only one backslash is needed.
Check if grub legacy is using EFI when we add the Rear entry.
In this case grub config file path is at a different location.
Some fixes to the files used to create the EFI bootable ISO image :
- Rename the efi file to BOOTX64.efi (EFI standard)
- Use a correct configuration file when GRUB legacy EFI is detected.
Merge pull request #268 from Arakmar/uefiFixes2

Some EFI fixes