Could not prepare Boot variable: Function not implemented

Bug #1826703 reported by Tom Borland
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

Cannot install ubuntu 19

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: ubiquity 19.04.9
ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
Uname: Linux 5.0.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CasperVersion: 1.405
Date: Sun Apr 28 08:47:48 2019
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
LiveMediaBuild: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Tom Borland (tomjborland) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Could you give some details on your partitions and what options/how you selected those in the installer?

summary: - Install crashes with cannot install grubb
+ Could not prepare Boot variable: Function not implemented
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

Revision history for this message
ar barzh paour (yannbaol) wrote :

the same for me
jpb@jpb-HP-ProBook-4710s:~$ sudo efibootmgr --create --disk /dev/sda --part 7 --label "grububuntu" --loader "\efi\ubuntu\grubx64.efi"
[sudo] Mot de passe de jpb :
Could not prepare Boot variable: Function not implemented
jpb@jpb-HP-ProBook-4710s:~$ uname -a && lsb_release -a
Linux jpb-HP-ProBook-4710s 5.8.0-43-generic #49~20.04.1-Ubuntu SMP Fri Feb 5 09:57:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
jpb@jpb-HP-ProBook-4710s:~$ sudo fdisk -l /dev/sda
Disque /dev/sda : 232,91 GiB, 250059350016 octets, 488397168 secteurs
Disk model: Samsung SSD 860
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 : 0xde2df8d4

Périphérique Amorçage Début Fin Secteurs Taille Id Type
/dev/sda1 2048 58593279 58591232 28G 83 Linux
/dev/sda2 58593280 120032733 61439454 29,3G 83 Linux
/dev/sda3 120033280 222433279 102400000 48,8G 83 Linux
/dev/sda4 222435326 352850239 130414914 62,2G 5 Étendue
/dev/sda5 222435328 232675327 10240000 4,9G 83 Linux
/dev/sda6 232677376 310800383 78123008 37,3G 83 Linux
/dev/sda7 * 310802432 310904831 102400 50M ef EFI (FAT-12/16/32)
/dev/sda8 310906880 352850239 41943360 20G 83 Linux
jpb@jpb-HP-ProBook-4710s:~$ 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)
jpb@jpb-HP-ProBook-4710s:~$

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.