Не взлетело...
1. Попытка поставить "в лоб":
root@ubuntu:~# apt-get install grub-efi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
grub-efi : Depends: grub-efi-amd64 (= 1.99-21ubuntu3.1)
E: Unable to correct problems, you have held broken packages.
Зависимости не ставятся, хз почему. Но подозреваю, что по-этому:
root@ubuntu:~# dpkg -l|grep -i grub
ii grub-common 1.99-22ubuntu1 GRand Unified Bootloader (common files)
ii grub-gfxpayload-lists 0.6 GRUB gfxpayload blacklist
ii grub-pc 1.99-22ubuntu1 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 1.99-22ubuntu1 GRand Unified Bootloader, version 2 (PC/BIOS binaries)
ii grub2-common 1.99-22ubuntu1 GRand Unified Bootloader (common files for version 2)
Удалить все нафиг?
2. Пытался собрать руками, по этой статейке:
https://help.ubuntu.com/community/UEFIBootingОно даже сконфигурилось:
root@ubuntu:/usr/src/grub-1.99# echo ${EFI_ARCH}
x86_64
root@ubuntu:/usr/src/grub-1.99# ./configure --with-platform=efi --target=${EFI_ARCH} --program-prefix=""
*******************************************************
GRUB2 will be compiled with following components:
Platform: x86_64-efi
With devmapper support: No (need libdevmapper header)
With memory debugging: No
efiemu runtime: No (not available on efi)
grub-mkfont: Yes
*******************************************************
Но собираться не стало, make упал с ошибкой:
mv syminfo.lst.new syminfo.lst
cat syminfo.lst | sort | awk -f ./genmoddep.awk > moddep.lst || (rm -f moddep.lst; exit 1)
make[3]: *** [moddep.lst] Error 1
make[3]: Leaving directory `/usr/src/grub-1.99/grub-core'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/grub-1.99/grub-core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/grub-1.99'
make: *** [all] Error 2