Comment 18 for bug 1024383

Revision history for this message
falstaff (falstaff) wrote : Re: invalid Windows EFI entries in GRUB

I made a script which creates working boot entries for Windows 7/8 as long as the EFI system partition is mounted at /boot/efi (which normally happens):

https://gist.github.com/4330598

Use it like this:

$ wget https://gist.github.com/raw/4330598/adaf598a78d568dbfada596441bdfad3b4dd3f97/25_windows_uefi
$ sudo su
# cp 25_windows_uefi /etc/grub.d
# chmod +x /etc/grub.d/25_windows_uefi
# echo GRUB_DISABLE_OS_PROBER=true >> /etc/default/grub # disable broken os-prober
# update-grub

See also this blog post how to install Grub with Secure Boot mode (if installer fails to do it)

http://falstaff.agner.ch/2012/12/18/ubuntu-12-10-and-windows-8-with-secure-boot-mode/