Dracut-initqueue Timeout With Virt-install… But It Works (kinda?)

Home » CentOS-Virt » Dracut-initqueue Timeout With Virt-install… But It Works (kinda?)
CentOS-Virt 1 Comment

Hello,

I’m using virt-install to build a guest system with CentOS. The system boots up, times out with dracut-initqueue timeout and drops me into an emergency shell. If I exit the shell the install continues and I get a working machine.

Any ideas?

virt-install \
-n TEST \
-r 8192 \
–os-type=linux \
–disk=/vm-images/test.img,device=disk,bus=virtio,size=100,format=raw \
–ram=8192 \
network bridge:br77 \
–location /home/CentOS-7-x86_64-Minimal-1511.iso \
–initrd-inject=/home/kickstart.cfg \
–extra-args=”ks=file:/kickstart.cfg” \
–debug \
–accelerate

kickstart.cfg:

text install cdrom lang en_US.UTF-8
keyboard us network –onboot yes –device eth0 –bootproto dhcp –noipv6
rootpw testing123
firewall –service=ssh authconfig –enableshadow –passalgo=sha512
selinux –disable timezone –utc America/New_York bootloader –location=mbr

zerombr clearpart –all –initlabel autopart reboot

%packages –nobase
@core
%end

Matthew Crocker President – Crocker Communications, Inc. Managing Partner – Crocker Telecommunications, LLC
E: matthew@corp.crocker.com E: matthew@crocker.com

One thought on - Dracut-initqueue Timeout With Virt-install… But It Works (kinda?)

  • Dear Matthew, Quick check your VM guest parameter if they have below;
    1) is “–vcpu=x”? parameter set?
    2) what are you getting from debug log?
    PS: Sample of virt-install $OS $Net $KS $Disk $Src $Gr $Cpu $Ram –name=$Name

    Source: https://wiki.CentOS.org/HowTos/KVM

    Xlord

    —–Original Message—–
    From: CentOS-virt-bounces@CentOS.org [mailto:CentOS-virt-bounces@CentOS.org] On Behalf Of Matthew Crocker Sent: Thursday, August 25, 2016 10:57 PM
    To: CentOS-virt@CentOS.org Subject: [CentOS-virt] dracut-initqueue timeout with virt-install… but it works (kinda?)

    Hello,

    I’m using virt-install to build a guest system with CentOS. The system boots up, times out with dracut-initqueue timeout and drops me into an emergency shell. If I exit the shell the install continues and I get a working machine.

    Any ideas?

    virt-install \
    -n TEST \
    -r 8192 \
    –os-type=linux \
    –disk=/vm-images/test.img,device=disk,bus=virtio,size=100,format=raw \
    –ram=8192 \
    –network bridge:br77 \
    –location /home/CentOS-7-x86_64-Minimal-1511.iso \
    –initrd-inject=/home/kickstart.cfg \
    –extra-args=”ks=file:/kickstart.cfg” \
    –debug \
    –accelerate

    kickstart.cfg:

    text install cdrom lang en_US.UTF-8
    keyboard us network –onboot yes –device eth0 –bootproto dhcp –noipv6 rootpw testing123 firewall –service=ssh authconfig –enableshadow –passalgo=sha512 selinux –disable timezone –utc America/New_York bootloader –location=mbr

    zerombr clearpart –all –initlabel autopart reboot

    %packages –nobase
    @core
    %end

    Matthew Crocker President – Crocker Communications, Inc. Managing Partner – Crocker Telecommunications, LLC
    E: matthew@corp.crocker.com E: matthew@crocker.com