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
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
_______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org https://lists.centos.org/mailman/listinfo/centos-virt