Public bug reported:
Hi,
with curtin 21.3 I'm able to install Rocky 8.4 on vms, but not on UEFI
(BIOS maybe ???) bare metal:
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 398, in
install_grub
in_chroot.subp(cmd, env=env, capture=True)
File "/curtin/curtin/util.py", line 780, 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/tmpqkhzgamy/target', 'grub2-mkconfig', '-o',
'/boot/efi/EFI/redhat/grub.cfg']
Exit code: 1
Reason: -
Stdout: ''
Stderr: /usr/sbin/grub2-mkconfig: line 274:
/boot/efi/EFI/redhat/grub.cfg.new: No such file or directory
Unexpected error while running command.
Command: ['unshare', '--fork', '--pid', '--', 'chroot',
'/tmp/tmpqkhzgamy/target', 'grub2-mkconfig', '-o',
'/boot/efi/EFI/redhat/grub.cfg']
Exit code: 1
Reason: -
Stdout: ''
Stderr: /usr/sbin/grub2-mkconfig: line 274:
/boot/efi/EFI/redhat/grub.cfg.new: No such file or directory
Stderr: ''
It's pretty clear that /boot/efi/EFI/redhat/ is missing and it should be
/boot/efi/EFI/rockylinux/
BR
Francesco
** Affects: curtin (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955671
Title:
support for rocky linux UEFI
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1955671/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs