Hello!
I am trying to deploy centos image on dell boss N-1 card that’s in Raid 1. Ubuntu 18 and 20 deployment works fine but when it comes to any centos image, it fails right before the reboot with the following error.
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: FAIL: installing grub to target devices
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: FAIL: configuring target system bootloader
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks
Traceback (most recent call last):
File "/curtin/curtin/commands/main.py", line 202, in main
ret = args.func(args)
File "/curtin/curtin/commands/curthooks.py", line 1886, in curthooks
builtin_curthooks(cfg, target, state)
File "/curtin/curtin/commands/curthooks.py", line 1851, in builtin_curthooks
setup_grub(cfg, target, osfamily=osfamily,
File "/curtin/curtin/commands/curthooks.py", line 804, in setup_grub
install_grub(instdevs, target, uefi=uefi_bootable, grubcfg=grubcfg)
File "/curtin/curtin/commands/install_grub.py", line 401, in install_grub
in_chroot.subp(cmd, env=env, capture=True)
File "/curtin/curtin/util.py", line 787, in subp
return subp(*args, **kwargs)
File "/curtin/curtin/util.py", line 275, in subp
return _subp(*args, **kwargs)
File "/curtin/curtin/util.py", line 139, in _subp
raise ProcessExecutionError(stdout=out, stderr=err,
curtin.util.ProcessExecutionError: Unexpected error while running command.
Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp49r58y9m/target', 'efibootmgr', '--create', '--write-signature', '--label', 'centos', '--disk', '/dev/nvme2n1', '--part', '1', '--loader', '/EFI/centos/shimx64.efi']
Exit code: 5
Reason: -
Stdout: ''
Stderr: Could not prepare Boot variable: No such file or directory
Unexpected error while running command.
Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp49r58y9m/target', 'efibootmgr', '--create', '--write-signature', '--label', 'centos', '--disk', '/dev/nvme2n1', '--part', '1', '--loader', '/EFI/centos/shimx64.efi']
Exit code: 5
Reason: -
Stdout: ''
Stderr: Could not prepare Boot variable: No such file or directory
any insight on this is appreciated!
Thank you!