Germano Massullo
2017-Mar-05 10:03 UTC
[CentOS] 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?id=1426126 [3]: https://paste.fedoraproject.org/paste/4zKZ3RopjwX5OmpuVAhwG15M1UNdIGYhyRLivL9gydE[4]: https://paste.fedoraproject.org/paste/QYijE3MFeyoGpGdgSHPp715M1UNdIGYhyRLivL9gydE=
Germano Massullo
2017-Mar-06 12:09 UTC
[CentOS] 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=
Germano Massullo
2017-Mar-06 12:25 UTC
[CentOS] dracut-initqueue errors while using virt-install + kickstart file
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
Maybe Matching Threads
- dracut-initqueue errors while using virt-install + kickstart file
- dracut-initqueue timeout with virt-install... but it works (kinda?)
- kickstart: dracut-initqueue fails due to unresolvable hostname even though network config looks perfectly ok
- kickstart: dracut-initqueue fails due to unresolvable hostname even though network config looks perfectly ok
- kickstart: dracut-initqueue fails due to unresolvable hostname even though network config looks perfectly ok