Comment 3 for bug 1826703

Revision history for this message
geole0 (geole0) wrote :

Hello
I encounter a similar incident

a@a:~$ sudo efibootmgr --create --disk /dev/sdb --part 7 --label "grububuntu" --loader "\efi\ubuntu\grubx64.efi" --verbose
Could not prepare Boot variable: Function not implemented
a@a:~$

a@a:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
a@a:~$

a@a:~$ sudo fdisk -l /dev/sdb
Disque /dev/sdb : 3,75 GiB, 4009754624 octets, 7831552 secteurs
Disk model: DT 100 G2
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : dos
Identifiant de disque : 0xa935e60d

Périphérique Amorçage Début Fin Secteurs Taille Id Type
/dev/sdb1 2048 1050623 1048576 512M 83 Linux
/dev/sdb2 1050624 2099199 1048576 512M 83 Linux
/dev/sdb3 2099200 3147775 1048576 512M 83 Linux
/dev/sdb4 3147776 7831551 4683776 2,2G 5 Étendue
/dev/sdb5 3149824 4198399 1048576 512M 83 Linux
/dev/sdb6 4200448 5249023 1048576 512M 83 Linux
/dev/sdb7 * 5251072 6299647 1048576 512M ef EFI (FAT-12/16/32)

I ran this command thinking it might work and give a result similar to this one I found in a thread..
efibootmgr -v
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0005,0000,0001,0003
Boot0000* Optical Disk Drive BBS(CDROM,ÿ,0x0).......................................................................
Boot0001* Notebook Hard Drive BBS(HD,ÿ,0x0).......................................................................
Boot0002* Notebook Ethernet BBS(128,ÿ,0x0)........................>..............................................
Boot0003* Notebook Ethernet BBS(128,ÿ,0x0)........................>..............................................
Boot0004* USB Hard Drive BBS(HD,ÿ,0x900).......................................................................
Boot0005* ubuntu HD(4,MBR,0xde2df8d4,0xd4217fe,0x7c5f942)/HD(3,MBR,0x0,0x12867800,0x19000)/File(\EFI\ubuntu\shimx64.efi)

what could be the correct coding to install in a logical partition?
Thank you