[SOLVED] KVM guest. dracut-initqueue timeout

Issues related to applications and software problems and general support
Post Reply
lbm
Posts: 2
Joined: 2019/10/25 11:17:17

[SOLVED] KVM guest. dracut-initqueue timeout

Post by lbm » 2019/10/25 11:54:20

Im trying to install Centos8 as an guest om KVM.

I use the following command,.

Code: Select all

virt-install --virt-type=kvm --name=centos8 --os-variant=generic --ram=4096 --vcpus=4 --disk path=centos8.qcow2,size=40,bus=virtio,format=qcow2 --location="https://mirror.netsite.dk/centos/8/BaseOS/x86_64/os/" -x "console=ttyS0" --network bridge:br1 --graphics none
But im then with the following error, after an minute or two.

Code: Select all

[  OK  ] Reached target System Initialization.
[  OK  ] Reached target Basic System.
[   15.673980] IPv6: ADDRCONF(NETDEV_UP): ens2: link is not ready
[   15.675254] 8021q: adding VLAN 0 to HW filter on device ens2
[   17.697119] e1000: ens2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[   17.704108] IPv6: ADDRCONF(NETDEV_CHANGE): ens2: link becomes ready
[   78.127409] dracut-initqueue[900]: RTNETLINK answers: File exists
[  134.519377] random: fast init done
[  210.403564] dracut-initqueue[900]: Warning: dracut-initqueue timeout - starting timeout scripts
[  210.995703] dracut-initqueue[900]: Warning: dracut-initqueue timeout - starting timeout scripts
[  250.090704] random: crng init done
[  250.093030] random: 7 urandom warning(s) missed due to ratelimiting
[  211.559940] dracut-initqueue[900]: Warning: dracut-initqueue timeout - starting timeout scripts
[  275.870155] dracut-initqueue[900]: Warning: dracut-initqueue timeout - starting timeout scripts
[  275.870483] dracut-initqueue[900]: Warning: Could not boot.
         Starting Setup Virtual Console...
[  OK  ] Started Setup Virtual Console.
         Starting Dracut Emergency Shell...
Warning: /dev/root does not exist

Generating "/run/initramfs/rdsosreport.txt"


Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.
Last edited by lbm on 2019/10/26 08:12:31, edited 1 time in total.

lbm
Posts: 2
Joined: 2019/10/25 11:17:17

Re: KVM guest. dracut-initqueue timeout

Post by lbm » 2019/10/26 08:10:45

I managed to find the solution.
I could see in the journal log, that it could not get an IP from any DHCP server. (I do not run an DHCP server on that network, so its OK).

So, I needed to specify, IP,GW,DNS for the interface with virt-install, and then it worked flawlessly.
Like so:

Code: Select all

virt-install --virt-type=kvm --name=centos8 --os-variant=generic --ram=256 --vcpus=2 --disk path=centos8.qcow2,size=40,format=qcow2 --location="https://mirror.netsite.dk/centos/8/BaseOS/x86_64/os/" -x "console=ttyS0 dns=192.168.39.2 ip=192.168.39.200::192.168.39.2:255.255.255.0:test.example.com:ens2:none" --network bridge:br1 --graphics none

Post Reply

Return to “CentOS 8 - General Support”