View Issue Details

IDProjectCategoryView StatusLast Update
0016569CentOS-7anacondapublic2019-10-10 16:37
Reporterbharats 
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionwon't fix 
Product Version7.6.1810 
Target VersionFixed in Version 
Summary0016569: grub2-mkconfig is taking fedora path instead of centos while installing centos7 via kickstart file and in UEFI mode Post by bhar
DescriptionHi All,

I am trying to install centos7 ISO using kickstart and ISO installation is working fine but as post installation setup procedure getting error when installing Bootloader.

Basically getting below error
BootLoaderError: failed to write boot loader configuration

Log shows,

efibootmgr -c -w -L CentOS 7 -d /dev/sda -p 1 -l \EFI\fedora\shimx64.efi
..
..
.
.
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
/sbin/grub2-mkconfig : line 244: /boot/efi/EFI/fedora/grub.cfg.new: No such file or directory

Any pointers why it is taking fedora inside the efibootmgr path and grub-mkconfig path. It should take centos instead of fedora.
I already checked that there is directory of centos at path /boot/efi/EFI/centos/

Thanks in advance.
Steps To Reproducecreating iso using below command

mkisofs -r -R -J -T -v -no-emul-boot -boot-load-size 4 -boot-info-table -V "CentOS-7.6.1810-x86_64" -p "MY COMP" -A "MY APP" -b isolinux/isolinux.bin -c isolinux/boot.cat -eltorito-alt-boot -e images/efiboot.img -no-emul-boot -x "lost+found" -joliet-long -o test.iso

isohybrid --uefi test.iso

implantisomd5 test.iso
Additional InformationAttaching my kickstart file
Tagskickstart
abrt_hash
URL

Activities

bharats

bharats

2019-10-10 15:48

reporter  

ks.install (2,976 bytes)
TrevorH

TrevorH

2019-10-10 16:37

manager   ~0035430

You forgot to mention the vital fact that you have remastered our iso before reporting this. That is not supported and if you do it and get errors then you get to fix them too. If you can recreate this on a CentOS system using a CentOS supplied iso image, then you can raise a bug here.

Issue History

Date Modified Username Field Change
2019-10-10 15:48 bharats New Issue
2019-10-10 15:48 bharats File Added: ks.install
2019-10-10 15:48 bharats Tag Attached: kickstart
2019-10-10 16:37 TrevorH Status new => closed
2019-10-10 16:37 TrevorH Resolution open => won't fix
2019-10-10 16:37 TrevorH Note Added: 0035430