Project

General

Profile

Actions

Bug #16820

closed

Upgrading Katello 3.1 to 3.2 Error with /usr/bin/grub2-mkimage

Added by Rob Doeser over 8 years ago. Updated almost 7 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Upgrade Step: Running installer...
 /usr/bin/grub2-mkimage -O x86_64-efi -d /usr/lib/grub/x86_64-efi -o /var/lib/tftpboot/grub2/grubx64.efi -p '' all_video boot btrfs cat chain configfile echo efifwsetup efinet ext2 fat font gfxmenu gfxterm gzio halt hfsplus iso9660 jpeg loadenv loopback lvm mdraid09 mdraid1x minicmd normal part_apple part_msdos part_gpt password_pbkdf2 png reboot search search_fs_uuid search_fs_file search_label serial sleep syslinuxcfg test tftp video xfs linux backtrace usb usbserial_common usbserial_pl2303 usbserial_ftdi usbserial_usbdebug linuxefi returned 1 instead of one of [0]

When running this command manually it says the directory does not exist.
It can be solved manually by creating the directories and run the upgrade again.

mkdir /var/lib/tftboot/grub2
mkdir /var/lib/tftboot/grub

Expected results:
foreman-installer should create the directories for me if they don't exist.

How to reproduce:
If there is no grub2 dir in /var/lib/tftpboot.

https://git.io/vi4yY should have taken care of that


Related issues 2 (0 open2 closed)

Related to Installer - Feature #12635: Options to deploy Grub and PXELinux EFI loaders in TFTP rootClosedLukas Zapletal11/30/2015Actions
Is duplicate of Katello - Bug #17639: Upgrade fails if /var/lib/tfpboot/grub2 is not pre-createdClosedEric Helms12/12/2016Actions
Actions

Also available in: Atom PDF