| Summary: | grub-efi-install: installing Secure Boot binaries to ESP mv: cannot overwrite '/boot/efi/EFI/BOOT/BOOTX64.EFI': Файл существует | ||
|---|---|---|---|
| Product: | Branch p11 | Reporter: | Vyacheslav Bocharov <vebocharov> |
| Component: | grub-efi | Assignee: | Egor Ignatov <egori> |
| Status: | ASSIGNED --- | QA Contact: | qa-p11 <qa-p11> |
| Severity: | normal | ||
| Priority: | P5 | CC: | egori, glinkinvd, vebocharov |
| Version: | unspecified | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
|
Description
Vyacheslav Bocharov
2026-06-24 00:11:45 MSK
Добрый день. Спасибо за репорт! Подскажите еще, пожалуйста, опции с которыми смонтирован /boot/efi: ``` sudo mount | grep /boot/efi sudo grep '/boot/efi' /etc/fstab ``` И версию ядра на момент возникновения ошибки. Здравствуйте. $ sudo mount | grep /boot/efi /dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=866,iocharset=utf8,shortname=mixed,quiet,showexec,utf8,errors=remount-ro) journalctl -b -3 -k --grep "Linux version" | head -1 июн 12 00:59:03 <hostname> kernel: Linux version 6.12.74-6.12-alt1 (builder@localhost.localdomain) (gcc-13 (GCC) 13.2.1 20240128 (ALT Sisyphus 13.2.1-alt3), GNU ld (GNU Binutils) 2.41.0.20230826) #1 SMP PREEMPT_DYNAMIC Fri Mar 6 13:49:54 UTC 2026 $ sudo grep '/boot/efi' /etc/fstab UUID=4201-1CF6 /boot/efi vfat umask=0,quiet,showexec,iocharset=utf8,codepage=866 1 2 На MSI-B850-GAMING-PLUS-WIFI столкнулся с такой же проблемой при обновлении: ``` [root@MSI-B850-GAMING-PLUS-WIFI ~]# journalctl | grep "grub-efi" июн 24 18:04:24 host-189 apt-get[4056]: grub-efi-2.14-alt7 p11+411845.254.13.1 1781794123 installed июн 24 18:04:35 host-189 apt-get[4056]: grub-efi-2.12-alt14 p11+387320.100.1.1 1750090330 removed ``` Как следствие, загрузка с включенным Secure Boot невозможна. ``` [root@MSI-B850-GAMING-PLUS-WIFI ~]# pesign -i /boot/efi/EFI/altlinux/shimx64.efi -S --------------------------------------------- certificate address is 0x7f7c4bcb8f00 Content was not encrypted. Content is detached; signature cannot be verified. The signer's common name is Microsoft Windows UEFI Driver Publisher No signer email address. No signing time included. There were certs or crls included. --------------------------------------------- [root@MSI-B850-GAMING-PLUS-WIFI ~]# pesign -i /boot/efi/EFI/altlinux/grubx64.efi -S No signatures found. ``` Выполнение grub-efi-autoupdate помогло. |