The officially official Devuan Forum!

You are not logged in.

#1 Yesterday 07:08:20

Eeqmcsq
Member
Registered: 2017-09-19
Posts: 95  

[SOLVED] Excal. 6.1.1: UEFI, BIOS boot menu shows "debian" instead of "devuan"

Hi All. Found a minor installer issue. The problem described in the title occurs with "devuan_excalibur_6.1.1_amd64_netinstall.iso". This boot menu is NOT the grub boot menu. On this thin client PC, I have to press the letter 'p' during the BIOS startup to get to the BIOS's Boot Menu.

It does not occur with Jessie "devuan_jessie_1.0.0_amd64_NETINST.iso". When I installed Jessie, the BIOS boot menu correctly showed "devuan".

The problem does not occur when I installed using legacy boot. Actually, nothing is added to the BIOS boot menu when in legacy mode.

A quick search shows that UEFI boot entries are stored in NVRAM somewhere on the motherboard. So I assume that the Devuan installer writes to this location using the command "efibootmgr". But somewhere between Jessie and Excalibur, this command was changed and wrote "Debian" instead of "Devuan".

Online

#2 Yesterday 09:35:31

rolfie
Member
Registered: 2017-11-25
Posts: 1,542  

Re: [SOLVED] Excal. 6.1.1: UEFI, BIOS boot menu shows "debian" instead of "devuan"

Your finding isn't astonishing for me. it applies to installations in efi mode. This is the case since ASCII. grub-install is 1:1 a Debian package.

I am solving this topic for me by doing another grub-install past the installation, here an example for Excalibur and w/o Secure Boot:

# grub-install --bootloader-id=devuan6 --no-uefi-secure-boot 

When there are major updates of grub packages that trigger a grub-install it can happen that debian is appearing again. Then you have to repeat the fix.

Offline

#3 Today 05:45:16

Eeqmcsq
Member
Registered: 2017-09-19
Posts: 95  

Re: [SOLVED] Excal. 6.1.1: UEFI, BIOS boot menu shows "debian" instead of "devuan"

Thanks for the tip. It sounds like the Devuan installer will be unchanged, so the user will have to manually update this EFI boot list.

I confirmed that your command works. I ran this command, and it added the entry named "abcde" to the BIOS boot menu.

sudo grub-install --bootloader-id=abcde --no-uefi-secure-boot

On this PC, I can delete the "debian" entry from the BIOS setup GUI.

For anyone's future reference, another alternative is to use "efibootmgr". Here are the commands I used from tonight's test. First, find the 4 digit hex number of boot entry you want to delete:

sudo efibootmgr

Then run this command to delete that boot entry:

sudo efibootmgr --bootnum <4 digit hex number> --delete-bootnum

Marking as solved.

Online

Board footer