OSはCentOS9Stream
バックアップ取得コマンド
1 |
rear -v mkbackup |
ログ
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
Using '/boot/efi/EFI/centos/grubx64.efi' as UEFI bootloader file Copying logfile /var/log/rear/rear-openvpclient.log into initramfs as '/tmp/rear-openvpclient-partial-2024-03-06T12:49:56+09:00.log' Copying files and directories Copying binaries and libraries Copying all kernel modules in /lib/modules/5.14.0-375.el9.x86_64 (MODULES contains 'all_modules') Copying all files in /lib*/firmware/ Testing that the recovery system in /var/tmp/rear.6JdTNThwRfY1qaV/rootfs contains a usable system There are binaries or libraries in the ReaR recovery system that need additional libraries /usr/lib64/systemd/libsystemd-core-252.so requires additional libraries libsystemd-shared-252.so => not found ReaR recovery system in '/var/tmp/rear.6JdTNThwRfY1qaV/rootfs' needs additional libraries, check /var/log/rear/rear-openvpclient.log for details Creating recovery/rescue system initramfs/initrd initrd.cgz with gzip default compression Created initrd.cgz with gzip default compression (604937705 bytes) in 20 seconds ERROR: Cannot make bootable EFI image of GRUB2 (neither grub-mkstandalone nor grub2-mkstandalone found) Some latest log messages since the last called script 250_populate_efibootimg.sh: mkdir: created directory '/var/tmp/rear.6JdTNThwRfY1qaV/tmp/mnt' mkdir: created directory '/var/tmp/rear.6JdTNThwRfY1qaV/tmp/mnt/EFI' mkdir: created directory '/var/tmp/rear.6JdTNThwRfY1qaV/tmp/mnt/EFI/BOOT' mkdir: created directory '/var/tmp/rear.6JdTNThwRfY1qaV/tmp/mnt/EFI/BOOT/fonts' mkdir: created directory '/var/tmp/rear.6JdTNThwRfY1qaV/tmp/mnt/EFI/BOOT/locale' '/boot/efi/EFI/centos/grubx64.efi' -> '/var/tmp/rear.6JdTNThwRfY1qaV/tmp/mnt/EFI/BOOT/BOOTX64.efi' /usr/share/rear/lib/_input-output-functions.sh: line 476: type: grub-mkstandalone: not found /usr/share/rear/lib/_input-output-functions.sh: line 476: type: grub2-mkstandalone: not found Aborting due to an error, check /var/log/rear/rear-openvpclient.log for details Exiting rear mkbackup (PID 294022) and its descendant processes ... Running exit tasks Terminated |
grub2-tools-extraをインストールすると解決する
1 |
<pre class="lang:default decode:true " >dnf -y install grub2-tools-extra</pre> |
参考
https://github.com/rear/rear/issues/2783