Robię wszystko jak na wiki, ale przy sudo apt-get install --reinstall grub-efi dostaję taki wynik:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 2,504 B of archives.
After this operation, 0 B of additional disk space will be used.
Err:1 http://packages.deepin.com/deepin lion/main amd64 grub-efi amd64 2.02~beta3-6deepin
Temporary failure resolving 'packages.deepin.com'
E: Failed to fetch http://packages.deepin.com/deepin/pool/main/g/grub2/grub-efi_2.02~beta3-6deepin_amd64.deb Temporary failure resolving 'packages.deepin.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Generating grub configuration file ...
Found theme: /boot/grub/themes/deepin-fallback/theme.txt
Found linux image: /boot/vmlinuz-4.15.0-30deepin-generic
Found initrd image: /boot/initrd.img-4.15.0-30deepin-generic
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Adding boot menu entry for EFI firmware configuration done
Przeczytałem już ze 20 razy i dalej nie rozumiem co robię źle - omijam instrukcje dla BIOS, wykonuję te dla UEFI i wtedy przechodzę do pkt 3 (tyle, że wcześniej pojawia się błąd przy update-grub). Chyba, że mylę UEFI z EFI i to nie to samo?
W: GPG error: https://mega.nz/linux/MEGAsync/Debian_9.0 ./ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 03C3AD3A7F068E5D
W: The repository 'https://mega.nz/linux/MEGAsync/Debian_9.0 ./ InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
# dpkg -l | grep grub
ii grub-common 2.02~beta3-6deepin amd64 GRand Unified Bootloader (common files)
ii grub-efi 2.02~beta3-6deepin amd64 GRand Unified Bootloader, version 2 (dummy package)
ii grub-efi-amd64 2.02~beta3-6deepin amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version)
ii grub-efi-amd64-bin 2.02~beta3-6deepin amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
ii grub-efi-amd64-signed 1.67+1.65+2.02~beta2 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
ii grub2-common 2.02~beta3-6deepin amd64 GRand Unified Bootloader (common files for version 2)
Eee… A jak to zrobić? Poszukałem trochę, ale tego nie ma na sources.list, a folder sources.list.d jest pusty; funkcja add-apt-repository nie działa na Deepinie.
## Generated by deepin-installer
deb [by-hash=force] http://packages.deepin.com/deepin lion main contrib non-free
#deb-src http://packages.deepin.com/deepin lion main contrib non-free