dist-upgrade: EFI directory not found error processing package grub-efi-amd64-signed

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
My updates in Ubuntu LTS 16.04 stopped working, possibly after a Windows 10 update.
$ sudo apt-get dist-upgrade
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu ÃÂ ÃÂ ÃÂ
Luetaan tilatiedot... Valmis ÃÂ ÃÂ ÃÂ ÃÂ
Käsitellään päivitystä... Valmis
0 päivitetty, 0 uutta asennusta, 0 poistettavaa ja 0 päivittämätöntä.
2 ei asennettu kokonaan tai poistettiin.
Toiminnon jälkeen käytetään 0 àt lisää levytilaa.
Haluatko jatkaa? [K/e] k
Tehdään asetuksia: grub-efi-amd64-signed (1.66.16+2.02~beta2-36ubuntu3.16) ...
Installing for x86_64-efi platform.
grub-install: virhe: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
aliprosessi komentotiedosto post-installation asennettu palautti virhetilakoodin 1
Tehdään asetuksia: shim-signed (1.33.1~16.04.1+13-0ubuntu2) ...
Installing for x86_64-efi platform.
grub-install: virhe: cannot find EFI directory.
dpkg: error processing package shim-signed (--configure):
aliprosessi komentotiedosto post-installation asennettu palautti virhetilakoodin 1
Käsittelyssä tapahtui liian monta virhettä:
ÃÂ grub-efi-amd64-signed
ÃÂ shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
My hard drive configuration is as follows:
$ sudo fdisk -l
Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: [XXXX]
Laite ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ Start ÃÂ ÃÂ ÃÂ Loppu ÃÂ Sektorit ÃÂ Size Tyyppi
/dev/sda1 ÃÂ ÃÂ ÃÂ ÃÂ 2048 ÃÂ ÃÂ 1333247 ÃÂ ÃÂ 1331200 ÃÂ 650M Windows recovery environment
/dev/sda2 ÃÂ ÃÂ 1333248 ÃÂ ÃÂ 1865727 ÃÂ ÃÂ 532480 ÃÂ 260M EFI System
/dev/sda3 ÃÂ ÃÂ 1865728 ÃÂ ÃÂ 2127871 ÃÂ ÃÂ 262144 ÃÂ 128M Microsoft reserved
/dev/sda4 ÃÂ ÃÂ 2127872 1113586243 1111458372 ÃÂ 530G Microsoft basic data
/dev/sda5 ÃÂ 1113587712 1115541503 ÃÂ ÃÂ 1953792 ÃÂ 954M Windows recovery environment
/dev/sda6 ÃÂ 1115541504 1167970303 ÃÂ 52428800 ÃÂ 25G Linux filesystem
/dev/sda7 ÃÂ 1167970304 1184747519 ÃÂ 16777216 ÃÂ ÃÂ 8G Linux-sivutus
/dev/sda8 ÃÂ 1184747520 1453182975 ÃÂ 268435456 ÃÂ 128G Linux filesystem
/dev/sda9 ÃÂ 1920847872 1953513471 ÃÂ 32665600 15,6G Microsoft basic data[/CODE]
Note that the grub works just fine in boot and Ubuntu starts normally. It is only the updates that do not work anymore.
I'm stuck and would hate to re-install - help needed!
dual-boot grub2 upgrade dpkg
add a comment |Â
up vote
0
down vote
favorite
My updates in Ubuntu LTS 16.04 stopped working, possibly after a Windows 10 update.
$ sudo apt-get dist-upgrade
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu ÃÂ ÃÂ ÃÂ
Luetaan tilatiedot... Valmis ÃÂ ÃÂ ÃÂ ÃÂ
Käsitellään päivitystä... Valmis
0 päivitetty, 0 uutta asennusta, 0 poistettavaa ja 0 päivittämätöntä.
2 ei asennettu kokonaan tai poistettiin.
Toiminnon jälkeen käytetään 0 àt lisää levytilaa.
Haluatko jatkaa? [K/e] k
Tehdään asetuksia: grub-efi-amd64-signed (1.66.16+2.02~beta2-36ubuntu3.16) ...
Installing for x86_64-efi platform.
grub-install: virhe: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
aliprosessi komentotiedosto post-installation asennettu palautti virhetilakoodin 1
Tehdään asetuksia: shim-signed (1.33.1~16.04.1+13-0ubuntu2) ...
Installing for x86_64-efi platform.
grub-install: virhe: cannot find EFI directory.
dpkg: error processing package shim-signed (--configure):
aliprosessi komentotiedosto post-installation asennettu palautti virhetilakoodin 1
Käsittelyssä tapahtui liian monta virhettä:
ÃÂ grub-efi-amd64-signed
ÃÂ shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
My hard drive configuration is as follows:
$ sudo fdisk -l
Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: [XXXX]
Laite ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ Start ÃÂ ÃÂ ÃÂ Loppu ÃÂ Sektorit ÃÂ Size Tyyppi
/dev/sda1 ÃÂ ÃÂ ÃÂ ÃÂ 2048 ÃÂ ÃÂ 1333247 ÃÂ ÃÂ 1331200 ÃÂ 650M Windows recovery environment
/dev/sda2 ÃÂ ÃÂ 1333248 ÃÂ ÃÂ 1865727 ÃÂ ÃÂ 532480 ÃÂ 260M EFI System
/dev/sda3 ÃÂ ÃÂ 1865728 ÃÂ ÃÂ 2127871 ÃÂ ÃÂ 262144 ÃÂ 128M Microsoft reserved
/dev/sda4 ÃÂ ÃÂ 2127872 1113586243 1111458372 ÃÂ 530G Microsoft basic data
/dev/sda5 ÃÂ 1113587712 1115541503 ÃÂ ÃÂ 1953792 ÃÂ 954M Windows recovery environment
/dev/sda6 ÃÂ 1115541504 1167970303 ÃÂ 52428800 ÃÂ 25G Linux filesystem
/dev/sda7 ÃÂ 1167970304 1184747519 ÃÂ 16777216 ÃÂ ÃÂ 8G Linux-sivutus
/dev/sda8 ÃÂ 1184747520 1453182975 ÃÂ 268435456 ÃÂ 128G Linux filesystem
/dev/sda9 ÃÂ 1920847872 1953513471 ÃÂ 32665600 15,6G Microsoft basic data[/CODE]
Note that the grub works just fine in boot and Ubuntu starts normally. It is only the updates that do not work anymore.
I'm stuck and would hate to re-install - help needed!
dual-boot grub2 upgrade dpkg
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
My updates in Ubuntu LTS 16.04 stopped working, possibly after a Windows 10 update.
$ sudo apt-get dist-upgrade
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu ÃÂ ÃÂ ÃÂ
Luetaan tilatiedot... Valmis ÃÂ ÃÂ ÃÂ ÃÂ
Käsitellään päivitystä... Valmis
0 päivitetty, 0 uutta asennusta, 0 poistettavaa ja 0 päivittämätöntä.
2 ei asennettu kokonaan tai poistettiin.
Toiminnon jälkeen käytetään 0 àt lisää levytilaa.
Haluatko jatkaa? [K/e] k
Tehdään asetuksia: grub-efi-amd64-signed (1.66.16+2.02~beta2-36ubuntu3.16) ...
Installing for x86_64-efi platform.
grub-install: virhe: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
aliprosessi komentotiedosto post-installation asennettu palautti virhetilakoodin 1
Tehdään asetuksia: shim-signed (1.33.1~16.04.1+13-0ubuntu2) ...
Installing for x86_64-efi platform.
grub-install: virhe: cannot find EFI directory.
dpkg: error processing package shim-signed (--configure):
aliprosessi komentotiedosto post-installation asennettu palautti virhetilakoodin 1
Käsittelyssä tapahtui liian monta virhettä:
ÃÂ grub-efi-amd64-signed
ÃÂ shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
My hard drive configuration is as follows:
$ sudo fdisk -l
Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: [XXXX]
Laite ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ Start ÃÂ ÃÂ ÃÂ Loppu ÃÂ Sektorit ÃÂ Size Tyyppi
/dev/sda1 ÃÂ ÃÂ ÃÂ ÃÂ 2048 ÃÂ ÃÂ 1333247 ÃÂ ÃÂ 1331200 ÃÂ 650M Windows recovery environment
/dev/sda2 ÃÂ ÃÂ 1333248 ÃÂ ÃÂ 1865727 ÃÂ ÃÂ 532480 ÃÂ 260M EFI System
/dev/sda3 ÃÂ ÃÂ 1865728 ÃÂ ÃÂ 2127871 ÃÂ ÃÂ 262144 ÃÂ 128M Microsoft reserved
/dev/sda4 ÃÂ ÃÂ 2127872 1113586243 1111458372 ÃÂ 530G Microsoft basic data
/dev/sda5 ÃÂ 1113587712 1115541503 ÃÂ ÃÂ 1953792 ÃÂ 954M Windows recovery environment
/dev/sda6 ÃÂ 1115541504 1167970303 ÃÂ 52428800 ÃÂ 25G Linux filesystem
/dev/sda7 ÃÂ 1167970304 1184747519 ÃÂ 16777216 ÃÂ ÃÂ 8G Linux-sivutus
/dev/sda8 ÃÂ 1184747520 1453182975 ÃÂ 268435456 ÃÂ 128G Linux filesystem
/dev/sda9 ÃÂ 1920847872 1953513471 ÃÂ 32665600 15,6G Microsoft basic data[/CODE]
Note that the grub works just fine in boot and Ubuntu starts normally. It is only the updates that do not work anymore.
I'm stuck and would hate to re-install - help needed!
dual-boot grub2 upgrade dpkg
My updates in Ubuntu LTS 16.04 stopped working, possibly after a Windows 10 update.
$ sudo apt-get dist-upgrade
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu ÃÂ ÃÂ ÃÂ
Luetaan tilatiedot... Valmis ÃÂ ÃÂ ÃÂ ÃÂ
Käsitellään päivitystä... Valmis
0 päivitetty, 0 uutta asennusta, 0 poistettavaa ja 0 päivittämätöntä.
2 ei asennettu kokonaan tai poistettiin.
Toiminnon jälkeen käytetään 0 àt lisää levytilaa.
Haluatko jatkaa? [K/e] k
Tehdään asetuksia: grub-efi-amd64-signed (1.66.16+2.02~beta2-36ubuntu3.16) ...
Installing for x86_64-efi platform.
grub-install: virhe: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
aliprosessi komentotiedosto post-installation asennettu palautti virhetilakoodin 1
Tehdään asetuksia: shim-signed (1.33.1~16.04.1+13-0ubuntu2) ...
Installing for x86_64-efi platform.
grub-install: virhe: cannot find EFI directory.
dpkg: error processing package shim-signed (--configure):
aliprosessi komentotiedosto post-installation asennettu palautti virhetilakoodin 1
Käsittelyssä tapahtui liian monta virhettä:
ÃÂ grub-efi-amd64-signed
ÃÂ shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
My hard drive configuration is as follows:
$ sudo fdisk -l
Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: [XXXX]
Laite ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ Start ÃÂ ÃÂ ÃÂ Loppu ÃÂ Sektorit ÃÂ Size Tyyppi
/dev/sda1 ÃÂ ÃÂ ÃÂ ÃÂ 2048 ÃÂ ÃÂ 1333247 ÃÂ ÃÂ 1331200 ÃÂ 650M Windows recovery environment
/dev/sda2 ÃÂ ÃÂ 1333248 ÃÂ ÃÂ 1865727 ÃÂ ÃÂ 532480 ÃÂ 260M EFI System
/dev/sda3 ÃÂ ÃÂ 1865728 ÃÂ ÃÂ 2127871 ÃÂ ÃÂ 262144 ÃÂ 128M Microsoft reserved
/dev/sda4 ÃÂ ÃÂ 2127872 1113586243 1111458372 ÃÂ 530G Microsoft basic data
/dev/sda5 ÃÂ 1113587712 1115541503 ÃÂ ÃÂ 1953792 ÃÂ 954M Windows recovery environment
/dev/sda6 ÃÂ 1115541504 1167970303 ÃÂ 52428800 ÃÂ 25G Linux filesystem
/dev/sda7 ÃÂ 1167970304 1184747519 ÃÂ 16777216 ÃÂ ÃÂ 8G Linux-sivutus
/dev/sda8 ÃÂ 1184747520 1453182975 ÃÂ 268435456 ÃÂ 128G Linux filesystem
/dev/sda9 ÃÂ 1920847872 1953513471 ÃÂ 32665600 15,6G Microsoft basic data[/CODE]
Note that the grub works just fine in boot and Ubuntu starts normally. It is only the updates that do not work anymore.
I'm stuck and would hate to re-install - help needed!
dual-boot grub2 upgrade dpkg
dual-boot grub2 upgrade dpkg
asked Feb 10 at 15:07
Arto Makkonen
11
11
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
I got some very good help on other forums and used the BootInfo tools to get more information about the grub and boot
https://help.ubuntu.com/community/Boot-Info
From the BootInfo report it turned out that /boot/efi was commented out in the file /sda6/etc/fstab:
# /boot/efi was on /dev/sda2 during installation
# UUID=EE10-4B61 /boot/efi vfat defaults 0 1
The problem was solved by commenting out the UUID ... /boot/efi row in fstab.
Fore more info please see https://ubuntuforums.org/showthread.php?t=2384690
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I got some very good help on other forums and used the BootInfo tools to get more information about the grub and boot
https://help.ubuntu.com/community/Boot-Info
From the BootInfo report it turned out that /boot/efi was commented out in the file /sda6/etc/fstab:
# /boot/efi was on /dev/sda2 during installation
# UUID=EE10-4B61 /boot/efi vfat defaults 0 1
The problem was solved by commenting out the UUID ... /boot/efi row in fstab.
Fore more info please see https://ubuntuforums.org/showthread.php?t=2384690
add a comment |Â
up vote
0
down vote
I got some very good help on other forums and used the BootInfo tools to get more information about the grub and boot
https://help.ubuntu.com/community/Boot-Info
From the BootInfo report it turned out that /boot/efi was commented out in the file /sda6/etc/fstab:
# /boot/efi was on /dev/sda2 during installation
# UUID=EE10-4B61 /boot/efi vfat defaults 0 1
The problem was solved by commenting out the UUID ... /boot/efi row in fstab.
Fore more info please see https://ubuntuforums.org/showthread.php?t=2384690
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I got some very good help on other forums and used the BootInfo tools to get more information about the grub and boot
https://help.ubuntu.com/community/Boot-Info
From the BootInfo report it turned out that /boot/efi was commented out in the file /sda6/etc/fstab:
# /boot/efi was on /dev/sda2 during installation
# UUID=EE10-4B61 /boot/efi vfat defaults 0 1
The problem was solved by commenting out the UUID ... /boot/efi row in fstab.
Fore more info please see https://ubuntuforums.org/showthread.php?t=2384690
I got some very good help on other forums and used the BootInfo tools to get more information about the grub and boot
https://help.ubuntu.com/community/Boot-Info
From the BootInfo report it turned out that /boot/efi was commented out in the file /sda6/etc/fstab:
# /boot/efi was on /dev/sda2 during installation
# UUID=EE10-4B61 /boot/efi vfat defaults 0 1
The problem was solved by commenting out the UUID ... /boot/efi row in fstab.
Fore more info please see https://ubuntuforums.org/showthread.php?t=2384690
answered Feb 11 at 19:26
Arto Makkonen
11
11
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004873%2fdist-upgrade-efi-directory-not-found-error-processing-package-grub-efi-amd64-si%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password