• UEFI Boot without Grub

UEFI Boot without Grub

EFI Shell: https://en.altlinux.org/Rescue EFI Drivers: http://efi.akeo.ie/downloads/efifs-latest/x64/
mkdir -pv /boot/efi/EFI/ubuntu/
sudo nano /etc/kernel/postinst.d/zz-update-efistub
#!/bin/sh
cp /vmlinuz /initrd.img /boot/efi/EFI/ubuntu/

sudo chmod +x /etc/kernel/postinst.d/zz-update-efistub
sudo /etc/kernel/postinst.d/zz-update-efistub
sudo efibootmgr -c -d /dev/sda -p 1 -L "Ubuntu (Linux)" -l \\EFI\\ubuntu\\vmlinuz  -u "root=/dev/sda4 rw initrd=\\EFI\\ubuntu\\initrd.img quiet splash"
sudo efibootmgr -c -d /dev/sda -p 1 -L "Ubuntu (Recovery)" -l \\EFI\\ubuntu\\vmlinuz  -u "root=/dev/sda4 ro initrd=\\EFI\\ubuntu\\initrd.img recovery nomodeset"
sudo efibootmgr -c -d /dev/sda -p 2 -L "Ubuntu" -l \\vmlinuz  -u "root=/dev/sda4 rw initrd=\\initrd.img quiet splash"
sudo apt-get purge grub*