Re: UEFI Follies

Simon Paterson via slackware <[email protected]> Thu, 9 Feb 2017 10:06:18 +1300
Newsgroups gmane.linux.slackware
Message-ID <[email protected]>
On 09/02/17 07:16, Thomas Altfather Good via slackware wrote:
> Hey all,
>
> I can't fathom how to get EFI working.
>
> HP p2-1334 with Slack 14.2.
>
> I had formatted the entire drive and then made an EFI/boot directory 
> on /dev/sda1 with the id set to EF00 and fstype DOS.
>
> However, no matter what method I employed (I tried several) to 
> populate this directory with either syslinux or elilo I couldn't get 
> the machine to boot.
>
> Can someone advise me on the easiest way to get this box to boot? 
> /EFI/boot still exists but is currently empty as I am booting off a 
> usbstick and if I place anything the efi directory the machine hangs 
> until I got into the BIOS and tell it to boot off of a bootstick.
>
> many thanks!
>
> -- 
Hi Thomas,

A couple things to check.

The EFI system partition needs to be vfat / fat32, (ie, use mkfs.vfat), 
not fat12/fat16.

Use the efibootmgr utility to view / manipulate the bootloader that the 
uefi bios is looking for.

efibootmgr -v    will show the current boot table.

Note that some (earlier / dumber) uefi bioses were not configurable, and 
would only look for and boot a file located at \EFI\BOOT\BOOTX64.EFI in 
the efi partition, so you would just need to copy elilo-x86_64.efi to 
that path/name in that case.

Regards,
Simon










_______________________________________________
slackware mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/slackware