Thanks Orion.

The efidefault was equivalent for pxelinux.cfg/default. Many users do not wish 
to add host into Cobbler, just pxe boot, see Cobbler menu with profiles, and 
select desired one. 

This is template in v2.8. 
https://github.com/cobbler/cobbler/blob/release28/templates/pxe/efidefault.template
I was hoping this feature is also available in v3. 

Now, I suspect my problem is to get boot loader that works with grub conf 
generated by Cobbler v3.2.2

The grub conf file is generated by cobbler and reads like 

set system="host"
set timeout=1
set default='linux'
menuentry 'linux' --class opensuse --class gnu-linux --class gnu --class os {
  echo 'Loading kernel ...'
  clinux /images/<profile>/vmlinuz inst.ks.sendmac 
inst.ks=http://<cobbler>/cblr/svc/op/autoinstall/system/<host>
  echo 'Loading initial ramdisk ...'
  cinitrd /images/<profile>/initrd.img
}
 
When using grubx64.efi from  the RPM grub2-efi-x64-2, the error is:

Could not find machine specific grub config file
(tftp,cobbler-IP)/EFI/redhat/system/00:11:22:33:44:55
... and drop into grub prompt. 

When using grubx64.efi from RHEL or OL ISO, the error is

Could not find machine specific grub config file
(tftp,cobbler-IP)/EFI/BOOT/system/00:11:22:33:44:55
... and drop into grub prompt.

Both file paths are available, since they are links for 
/tftpboot/grub/system/00:11:22:33:44:55 (generated by Cobbler).

Potentially this can be resolved by link from grub/system/00:11:22:33:44:55 to 
grub/grub.cfg-01-00-11-22-33-44-55,
but the most desires resolution is having boot file reading conf generated by 
Cobbler.
-- 
_______________________________________________
cobbler mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to