Description of problem: Tested on Fedora 27-4.13.4-300 KDE. After installing Xen with "sudo dnf install xen", running grub2-mkconfig stops after "### BEGIN /etc/grub.d/20_linux_xen ###", generating a partial grub.cfg file. System is in a qemu vm using OVMF uefi bios. "qemu-system-x86_64 -enable-kvm -smp 4 -m 8G -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -drive file=~/image,format=raw" Version-Release number of selected component (if applicable): 4.9.0 10.fc27 How reproducible: same issue after erasing and re installing Xen. Steps to Reproduce: 1. dnf install xen 2. grub2-mkconfig 3. observe that the file halts after "### BEGIN /etc/grub.d/20_linux_xen ###" Actual results: File ends after "### BEGIN /etc/grub.d/20_linux_xen ###" Expected results: The grub.cfg file completes fully. Additional info:
*** This bug has been marked as a duplicate of bug 1486002 ***