Dracut-initqueue Errors While Using Virt-install + Kickstart File
I am trying to install a CentOS qemu/kvm virtual machine using a virt-install script[1]. Since Anaconda text user interface does not permit to users to edit filesystem type and mount points[2], I decided to use a kickstart file to customize such settings. To create a kickstart file, I used a trick:
I installed a CentOS machine using Anaconda graphical user interface, and I made all customizations I need, then when the installation has been completed, I got the kickstart file (generated by Anaconda) in
/root. [3]
Then I added –grow flags to enlarge “/” as much as possible. After that, I started the virt-install script passing as input an ISO
and the kickstart file, but the installation failed with logs [4]. Where did I make mistakes?
Thank you for your time
[1]:
https://paste.fedoraproject.org/paste/OrbunqjpK7pxGlkUJdnV015M1UNdIGYhyRLivL9gydE[2]: https://bugzilla.redhat.com/show_bug.cgi?id26126
[3]:
https://paste.fedoraproject.org/paste/4zKZ3RopjwX5OmpuVAhwG15M1UNdIGYhyRLivL9gydE[4]:
https://paste.fedoraproject.org/paste/QYijE3MFeyoGpGdgSHPp715M1UNdIGYhyRLivL9gydE
2 thoughts on - Dracut-initqueue Errors While Using Virt-install + Kickstart File
I tried to add
–initrd-inject file://tmp/anaconda-ks.cfg and
[…] file:/ […]
but the result is the same. Complete script file at https://paste.fedoraproject.org/paste/jA-lW5ZtyVDS0yHxbahkBF5M1UNdIGYhyRLivL9gydE
Problem solved, I had to replace
–extra-args ‘ks=file://tmp/anaconda-ks.cfg console=ttyS0,115200n8 serial’
with
–extra-args ‘ks=file:/anaconda-ks.cfg console=ttyS0,115200n8 serial’
Thanks to NuxRo and Evolution users of #CentOS Freende channel