Code: Select all
Number Start (sector) End (sector) Size Code Name
1 2048 1026047 500.0 MiB EF00 EFI system partition
EDIT: First change from the live installer to the installation partition as shown in the next post.
Then edit the fstab and change the UUID to match your ESP.
Code: Select all
UUID=1234-WXYZ /boot/efi vfat umask=0077 0 0
Code: Select all
mkdir /boot/efi
mount /boot/efi
mkdir /boot/efi/EFI/antix
Code: Select all
Start-Date: 2016-10-29 21:28:17
Commandline: apt-get install efibootmgr
Install: libefivar0:amd64 (0.15-3, automatic), efibootmgr:amd64 (0.11.0-3)
End-Date: 2016-10-29 21:28:24
Start-Date: 2016-10-29 21:29:46
Commandline: apt-get install grub-efi
Install: grub-efi-amd64-bin:amd64 (2.02~beta2-22+deb8u1, automatic), grub-efi-amd64:amd64 (2.02~beta2-22+deb8u1, automatic), grub-efi:amd64 (2.02~beta2-22+deb8u1)
Remove: grub-pc:amd64 (2.02~beta2-22+deb8u1)
End-Date: 2016-10-29 21:29:51
Code: Select all
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=antix
An easy way to keep the installation working is to put the above grub-install command into a script like /usr/local/sbin/update-efi for example. Then running the 'update-efi' with every new kernel will tell the UEFI what to do.
When finished, I rebooted into the UEFI and changed the mode from Legacy to boot in UEFI. There is a possibility to do everything in UEFI mode if starting with a UEFI USB stick made with live-usb-maker if fixing the partition before rebooting. I am curious if anybody can fix everything before the first reboot. The steps shown here would be the same either way.