I finally figured out how to rebuild my EFI boot entry after a BIOS update. I boot to the Slackware USB boot drive. When it has me select a kernel I hit tab and enter the following command:
huge.s root=/dev/nvme0n1p2 rdinit=ro
Then once it finally boots to my existing Slackware installation, I issue this command:
efibootmgr -c -d /dev/nvme0n1p1 -l "\\EFI\\Slackware\\elilo.efi" -L "Slackware"
I wish that the EFI boot entry wouldn't be deleted, but since the BIOS updater automatically clears all BIOS settings, it is inevitable.
Update 3/18/2024: I finally got smart and make a shell script for the efibootmgr command and put it in /root so that it's handy whenever I have a new BIOS available.
No comments:
Post a Comment