Hi to all,
A few months ago I installed ubuntu 19.10 on my computer and everything used to work fine.
However, during the last apt update, an update of grub was supposed to be installed and actually failed.
When I installed my system, I did a manual partition on sda (/ and /boot/efi) with no dual boot (linux only computer) and the computer used to boot like a charm :
however, during the grub update, I got the following message (that I can reproduce by invocing grub-install /dev/sda) :
I checked and there's indeed an /sys/firmware/efi/ dir :
and I don't understand what should be the file blk0-47c7b225-c42a-11d2-8e57-00a0c969723b which is looked for and how to fix this issue.
I tried to run the boot-repair software unsuccessfully and I have posted its log to pastebin : https://pastebin.com/dnhSw7zs
I didn't rebooted my machine since as, so it stills run but I guess it won't reboot next time, and I'd like to fix grub before rebooting...
Maybe one of you can help me with this ?
Many thanks in advance...
David
A few months ago I installed ubuntu 19.10 on my computer and everything used to work fine.
However, during the last apt update, an update of grub was supposed to be installed and actually failed.
When I installed my system, I did a manual partition on sda (/ and /boot/efi) with no dual boot (linux only computer) and the computer used to boot like a charm :
Code:
david@hpc-salon:~$ more /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=c07c2046-c498-4063-92f9-73fae5e100fe / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
#UUID=AF5C-342E /boot/efi vfat umask=0077 0 1
# /home was on /dev/sdb1 during installation
UUID=db624e1c-4dcd-4726-afa5-3b24bb9b0ddb /home ext4 defaults 0 2
# swap was on /dev/sda2 during installation
UUID=c0579382-1167-49a7-8645-8af5427c96fa none swap sw 0 0
UUID=AF5C-342E /boot/efi vfat defaults 0 1
Code:
david@hpc-salon:~$ sudo grub-install /dev/sda
[sudo] password for david:
Installing for x86_64-efi platform.
grub-install: warning: efivarfs_get_variable: open(/sys/firmware/efi/efivars/blk0-47c7b225-c42a-11d2-8e57-00a0c969723b): No such file or directory.
grub-install: warning: efi_get_variable: ops->get_variable failed: No such file or directory.
grub-install: warning: get_file: could not open file "/sys/devices/pci0000:00/firmware_node/path" for reading: No such file or directory.
grub-install: warning: get_file: could not open file "/sys/devices/pci0000:00/firmware_node/hid" for reading: No such file or directory.
grub-install: warning: parse_acpi_hid_uid: could not read devices/pci0000:00/firmware_node/hid: No such file or directory.
grub-install: warning: device_get: parsing pci_root failed: No such file or directory.
grub-install: warning: efi_va_generate_file_device_path_from_esp: could not get ESP disk info: No such file or directory.
grub-install: warning: efi_generate_file_device_path_from_esp: could not generate File DP from ESP: No such file or directory.
grub-install: error: failed to register the EFI boot entry: No such file or directory.
Code:
david@hpc-salon:~$ ls /sys/firmware/efi/
config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars
david@hpc-salon:~$ sudo efibootmgr
[sudo] password for david:
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002,0003,0001,0004,0005
Boot0000* ubuntu
Boot0001* UEFI:CD/DVD Drive
Boot0002* KINGSTON SA400S37960G
Boot0003* ST4000DM004-2CV104
Boot0004* UEFI:Removable Device
Boot0005* UEFI:Network Device
I tried to run the boot-repair software unsuccessfully and I have posted its log to pastebin : https://pastebin.com/dnhSw7zs
I didn't rebooted my machine since as, so it stills run but I guess it won't reboot next time, and I'd like to fix grub before rebooting...
Maybe one of you can help me with this ?
Many thanks in advance...
David