Initially, I created a virtual machine, chose UEFI instead of BIOS in its hardware settings, booted it with CentOS-7-x86_64-Minimal-1810.iso (downloaded from the website) and successfully installed CentOS on it.
In order to build a customized ISO with kickstart configuration, I first built an ISO image from the released iso as:
Note that I did not modify any configuration files to include a path to the kickstart file. After booting my Virtual Machine with this ISO image, it printed several messages# mount -o loop CentOS-7-x86_64-Minimal-1810.iso /mnt/iso/
# mkdir /tmp/uefi-iso
# cp -r /mnt/iso/* /tmp/uefi-iso
# mkisofs -o /tmp/centos_custom.iso -b isolinux/isolinux.bin -J -R -l -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img -no-emul-boot -graft-points -V "CentOS7 Server.x86_64" /tmp/uefi-iso/
# isohybrid --uefi /tmp/centos_custom.iso
Code: Select all
dracut-initqueue timeout - starting timeout scripts
Links to screenshots from my VM's failed boot are below:
https://www.dropbox.com/s/5a3rrgjfv2bpn ... 1.png?dl=0
https://www.dropbox.com/s/5a3rrgjfv2bpn ... 1.png?dl=0
The VM I created should have 7 disks but none of them are visible:
https://www.dropbox.com/s/anrhyg48tax19 ... s.png?dl=0
After going through the troubleshooting section of the dracut wiki page, I added the following to my boot args:
Code: Select all
rd.shell rd.debug log_buf_len=1M
https://www.dropbox.com/s/nb4ye4qfbja0q ... t.txt?dl=0
Does anyone know why the VM fails to boot with the modified ISO image? Is there an error in preparing the ISO? How can I get my VM to boot from this modified ISO and later include a kickstart config file to perform an automatic installation?