sudo dpkg --configure -a
Setting up grub-efi-amd64-signed (1.66.12+2.02~beta2-36ubuntu3.12) ...
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
grub-efi-amd64-signed
sudo parted -l
Model: ATA Hitachi HDS72105 (scsi) Disk /dev/sdb: 500GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 3 1048kB 454GB 454GB extended 5 2097kB 454GB 454GB logical ext4 1 454GB 500GB 46,4GB primary ext4 Model: Unknown (unknown) Disk /dev/nvme0n1: 256GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 242MB 241MB fat32 boot, esp 2 242MB 238GB 237GB ext4 3 238GB 256GB 18,4GB lvm |
dpkg -l | grep grub
ii grub-common 2.02~beta2-36ubuntu3.12 amd64 GRand Unified Bootloader (common files) ii grub-efi-amd64 2.02~beta2-36ubuntu3.12 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version) ii grub-efi-amd64-bin 2.02~beta2-36ubuntu3.12 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 binaries) iF grub-efi-amd64-signed 1.66.12+2.02~beta2-36ubuntu3.12 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed) rc grub-pc 2.02~beta2-36ubuntu3.7 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version) ii grub2-common 2.02~beta2-36ubuntu3.12 amd64 GRand Unified Bootloader (common files for version 2) |
Miten saan kerrottua installerille missä efi asema pitäisi sijaita ?
cat /etc/fstab
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=E7E5-AFB4 /boot/efi vfat umask=0077 0 1
sudo blkid
sudo mount /boot/efi
sudo fsck.vfat /dev/nvme0n1p1