EFI variables are not supported on this system ERROR while trying to restore grub/uefi on Ubuntu installed 18.04 installed on my disk.
Mario Marietto
marietto2008 at gmail.com
Mon Jun 19 20:04:05 UTC 2023
Hello.
I'm on ubuntu 23.04 and I would like to restore grub-efi on the disk
/dev/sdd where I have installed ubuntu 18.04 :
Disk /dev/sdd: 74.53 GiB, 80026361856 bytes, 156301488 sectors
Disk model: HTS542580K9SA00
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: gpt
Disk identifier: 0CD1E7CA-A4B9-436A-A80D-676942190563
Device Start End Sectors Size Type
/dev/sdd1 65535 1048559 983025 480M EFI System
/dev/sdd2 1048560 156300974 155252415 74G Linux filesystem
When I want to boot Ubuntu installed on that disk I choose this disk on the
BIOS and I see a black screen with grub that's not able to load neither
Ubuntu 18.04 nor the different Ubuntu kernel versions installed inside
different disks.
To restore grub / efi I did :
# mkdir -p /mnt/sdd2/boot/efi
# mount -t ext4 /dev/sdd2 /mnt/sdd2
# mount -t vfat /dev/sdd1 /mnt/sdd2/boot/efi
# mount --bind /dev /mnt/sdd2/dev
# mount --bind /dev/pts /mnt/sdd2/dev/pts
# mount --bind /proc /mnt/sdd2/proc
# mount --bind /sys /mnt/sdd2/sys
# chroot /mnt/sdd2
groups: cannot find name for group ID 139
# grub-install /dev/sdd
But I've got this error :
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such
file or directory.
and I don't know what to do.
--
Mario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230619/4a5d16f9/attachment.html>
More information about the ubuntu-users
mailing list