Used to have three entries in the firmware (Bios) "UEFI Only" bootmenu (NVRAM): ubuntu (default), opensuse-secureboot and Windows Boot Manager.
Had an accident and had to restore the EFI partition, and have managed to get back opensuse-secureboot and Windows Boot Manager - but not ubuntu. My Kubuntu 16.10 works fine, but I have to boot it from the opensuse Grub2 bootmenu. Have tried the following:
1. Reinstalling Kubuntu 16.10
2. Boot-Repair
3. efibootmgr -c -L {ubuntu} -l \EFI\ubuntu\grubx64.efi
efibootmgr: Could not set variable Boot0001: No such file or directory
efibootmgr: Could not prepare boot variable: No such file or directory
4. grub-install --force /dev/sda2
Installing for x86_64-efi platform.
efibootmgr: Could not set variable Boot0001: No such file or directory
efibootmgr: Could not prepare boot variable: No such file or directory
5. bcdedit /set {ubuntu} path \EFI\ubuntu\grubx64.efi
The element data type specified is not recognized, or does not apply to the specified entry.
None of the above works (and I do have the correct files in /dev/sda2/EFI/ubuntu/). Help would be very much appreciated!
Had an accident and had to restore the EFI partition, and have managed to get back opensuse-secureboot and Windows Boot Manager - but not ubuntu. My Kubuntu 16.10 works fine, but I have to boot it from the opensuse Grub2 bootmenu. Have tried the following:
1. Reinstalling Kubuntu 16.10
2. Boot-Repair
3. efibootmgr -c -L {ubuntu} -l \EFI\ubuntu\grubx64.efi
efibootmgr: Could not set variable Boot0001: No such file or directory
efibootmgr: Could not prepare boot variable: No such file or directory
4. grub-install --force /dev/sda2
Installing for x86_64-efi platform.
efibootmgr: Could not set variable Boot0001: No such file or directory
efibootmgr: Could not prepare boot variable: No such file or directory
5. bcdedit /set {ubuntu} path \EFI\ubuntu\grubx64.efi
The element data type specified is not recognized, or does not apply to the specified entry.
None of the above works (and I do have the correct files in /dev/sda2/EFI/ubuntu/). Help would be very much appreciated!
Comment