Задать вопрос
@Chase_Norman

MD рейд1 + uefi?

Посоветуйте пожалуйста рабочий ман для MD рейда1 + uefi Debian, чтобы загрузчик /boot/efi был также в рейде

Пробовал этот ман, наверное классика в рунете: https://interface31.ru/tech_it/2019/08/nastraivaem...

Но при обновлении загрузчика получаю ошибки типа:
Спойлер
echo "deb [arch=amd64] download.proxmox.com/debian/pve bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
wget https://enterprise.proxmox.com/debian/proxmox-rele... -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
apt update && apt full-upgrade
--2024-09-02 13:03:47-- https://enterprise.proxmox.com/debian/proxmox-rele...
Resolving enterprise.proxmox.com (enterprise.proxmox.com)... 212.224.123.70, 2a01:7e0:0:424::249
Connecting to enterprise.proxmox.com (enterprise.proxmox.com)|212.224.123.70|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1187 (1.2K) [application/octet-stream]
Saving to: ‘/etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg’

/etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg 100%[========================================================================================================================================>] 1.16K --.-KB/s in 0s

2024-09-02 13:03:47 (25.4 MB/s) - ‘/etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg’ saved [1187/1187]

Get:1 security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Hit:2 deb.debian.org/debian bookworm InRelease
Get:3 deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 download.proxmox.com/debian/pve bookworm InRelease [2,768 B]
Get:5 download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages [336 kB]
Fetched 442 kB in 1s (620 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
9 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common shim-helpers-amd64-signed shim-signed shim-signed-common shim-unsigned
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,285 kB of archives.
After this operation, 4,096 B disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 grub2-common amd64 2.06-13+pmx2 [614 kB]
Get:2 download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 grub-efi-amd64 amd64 2.06-13+pmx2 [45.7 kB]
Get:3 download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 grub-efi-amd64-bin amd64 2.06-13+pmx2 [1,573 kB]
Get:4 download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 grub-common amd64 2.06-13+pmx2 [2,713 kB]
Get:5 download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 grub-efi-amd64-signed amd64 1+2.06+13+pmx2 [1,260 kB]
Get:6 download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 shim-unsigned amd64 15.8-1+pmx1 [437 kB]
Get:7 download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 shim-helpers-amd64-signed amd64 1+15.8+1+pmx1 [302 kB]
Get:8 download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 shim-signed-common all 1.44+pmx1+15.8-1+pmx1 [14.1 kB]
Get:9 download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 shim-signed amd64 1.44+pmx1+15.8-1+pmx1 [326 kB]
Fetched 7,285 kB in 1s (7,678 kB/s)
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 28663 files and directories currently installed.)
Preparing to unpack .../0-grub2-common_2.06-13+pmx2_amd64.deb ...
Unpacking grub2-common (2.06-13+pmx2) over (2.06-13+deb12u1) ...
Preparing to unpack .../1-grub-efi-amd64_2.06-13+pmx2_amd64.deb ...
Unpacking grub-efi-amd64 (2.06-13+pmx2) over (2.06-13+deb12u1) ...
Preparing to unpack .../2-grub-efi-amd64-bin_2.06-13+pmx2_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.06-13+pmx2) over (2.06-13+deb12u1) ...
Preparing to unpack .../3-grub-common_2.06-13+pmx2_amd64.deb ...
Unpacking grub-common (2.06-13+pmx2) over (2.06-13+deb12u1) ...
Preparing to unpack .../4-grub-efi-amd64-signed_1+2.06+13+pmx2_amd64.deb ...
Unpacking grub-efi-amd64-signed (1+2.06+13+pmx2) over (1+2.06+13+deb12u1) ...
Preparing to unpack .../5-shim-unsigned_15.8-1+pmx1_amd64.deb ...
Unpacking shim-unsigned:amd64 (15.8-1+pmx1) over (15.8-1~deb12u1) ...
Preparing to unpack .../6-shim-helpers-amd64-signed_1+15.8+1+pmx1_amd64.deb ...
Unpacking shim-helpers-amd64-signed (1+15.8+1+pmx1) over (1+15.8+1~deb12u1) ...
Preparing to unpack .../7-shim-signed-common_1.44+pmx1+15.8-1+pmx1_all.deb ...
Unpacking shim-signed-common (1.44+pmx1+15.8-1+pmx1) over (1.44~1+deb12u1+15.8-1~deb12u1) ...
Preparing to unpack .../8-shim-signed_1.44+pmx1+15.8-1+pmx1_amd64.deb ...
Unpacking shim-signed:amd64 (1.44+pmx1+15.8-1+pmx1) over (1.44~1+deb12u1+15.8-1~deb12u1) ...
Setting up grub-common (2.06-13+pmx2) ...
Setting up shim-signed-common (1.44+pmx1+15.8-1+pmx1) ...
No DKMS packages installed: not changing Secure Boot validation state.
Setting up grub-efi-amd64-bin (2.06-13+pmx2) ...
Setting up shim-unsigned:amd64 (15.8-1+pmx1) ...
Setting up grub-efi-amd64-signed (1+2.06+13+pmx2) ...
Setting up grub2-common (2.06-13+pmx2) ...
Setting up grub-efi-amd64 (2.06-13+pmx2) ...
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: efi_va_generate_file_device_path_from_esp: could not open device for ESP: Bad address.
grub-install: warning: efi_generate_file_device_path_from_esp: could not generate File DP from ESP: Bad address.
grub-install: error: failed to register the EFI boot entry: Bad address.
Failed: grub-install --target=x86_64-efi
WARNING: Bootloader is not properly installed, system may not be bootable
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.1.0-25-amd64
Found initrd image: /boot/initrd.img-6.1.0-25-amd64
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up shim-helpers-amd64-signed (1+15.8+1+pmx1) ...
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: efi_va_generate_file_device_path_from_esp: could not open device for ESP: Bad address.
grub-install: warning: efi_generate_file_device_path_from_esp: could not generate File DP from ESP: Bad address.
grub-install: error: failed to register the EFI boot entry: Bad address.
Failed: grub-install --target=x86_64-efi
WARNING: Bootloader is not properly installed, system may not be bootable
Setting up shim-signed:amd64 (1.44+pmx1+15.8-1+pmx1) ...
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: efi_va_generate_file_device_path_from_esp: could not open device for ESP: Bad address.
grub-install: warning: efi_generate_file_device_path_from_esp: could not generate File DP from ESP: Bad address.
grub-install: error: failed to register the EFI boot entry: Bad address.
Failed: grub-install --target=x86_64-efi
WARNING: Bootloader is not properly installed, system may not be bootable
No DKMS packages installed: not changing Secure Boot validation state.
Processing triggers for man-db (2.11.2-2) ...
  • Вопрос задан
  • 85 просмотров
Подписаться 1 Простой 2 комментария
Пригласить эксперта
Ответы на вопрос 1
CityCat4
@CityCat4
//COPY01 EXEC PGM=IEBGENER
Рейд разваливается и ты остаешься с выражением кислой капусты на лице... Даже в серверных матерях есть внутренний USB разьем под флэшку, с которой шрузится система, чтобы если рейд развалится по аппаратным причинам - было бы с чего загрузиться.
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы