error: cannot find EFI directory

70 zhlédnutíVirtuální servery
0

Dobry den,

po cerstve instalaci mi to hazi tento error:

sudo apt-get install \

>     ca-certificates \

>     curl \

>     gnupg \

>     lsb-release

Reading package lists… Done

Building dependency tree

Reading state information… Done

lsb-release is already the newest version (9.20170808ubuntu1).

ca-certificates is already the newest version (20210119~18.04.2).

ca-certificates set to manually installed.

curl is already the newest version (7.58.0-2ubuntu3.16).

gnupg is already the newest version (2.2.4-1ubuntu1.4).

The following package was automatically installed and is no longer required:

grub-pc-bin

Use ‚sudo apt autoremove‘ to remove it.

0 upgraded, 0 newly installed, 0 to remove and 108 not upgraded.

1 not fully installed or removed.

After this operation, 0 B of additional disk space will be used.

Do you want to continue? [Y/n] y

Setting up grub-efi-amd64-signed (1.167~18.04.5+2.04-1ubuntu44.1.2) …

Installing for x86_64-efi platform.

grub-install: error: cannot find EFI directory.

dpkg: error processing package grub-efi-amd64-signed (–configure):

installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1

dpkg: dependency problems prevent processing triggers for shim-signed:

shim-signed depends on grub-efi-amd64-signed; however:

Package grub-efi-amd64-signed is not configured yet.

dpkg: error processing package shim-signed (–configure):

dependency problems – leaving triggers unprocessed

Errors were encountered while processing:

grub-efi-amd64-signed

shim-signed

E: Sub-process /usr/bin/dpkg returned an error code (1)

Dekuji za pomoc.
K

Role: Zákazník
ZK288086 Odpověděl na otázku 2. 1. 2022
0

Hláška oznamuje, že neexistuje boot EFI  adresář.

  1. Pokud existuje je připojen?
    fdisk -l
    sudo mount /dev/"sda_s_efi"  /boot/efi

  2. Pokud efi neexistuje, bude potřeba grub efi balíčky odebrat
    apt remove grub-efi*

Role: Zákazník
PK265670 Změnil status na publikováno 2. 1. 2022