[CentOS-devel] Booting CentOS 8 in a VM - can't find the disk

Fabian Arrotin

arrfab at centos.org
Wed Sep 25 16:40:43 UTC 2019


On 25/09/2019 17:46, Richard W.M. Jones wrote:
> I'm trying to boot CentOS 8 in a VM using my usual kickstart and
> virt-install recipes.  Dracut fails in a way that indicates it cannot
> find the install disk:
> 
> [    4.984555] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
> [    4.985509] 8021q: adding VLAN 0 to HW filter on device enp1s0
> [    5.599558] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready
> [    7.058879] dracut-initqueue[926]: RTNETLINK answers: File exists
> [  134.439929] dracut-initqueue[926]: Warning: dracut-initqueue timeout - starting timeout scripts
> [  134.969517] dracut-initqueue[926]: Warning: dracut-initqueue timeout - starting timeout scripts
> [  135.488283] dracut-initqueue[926]: Warning: dracut-initqueue timeout - starting timeout scripts
> (repeated endlessly until it drops into the emergency shell)
> 
> The kernel sees the virtio-blk device, the kmod is loaded, and
> /dev/vda exists ...
> 
> So I don't really know.  Can anyone see my mistake?
> 
> Rich.
> 

Hi Richard,

Can you share some of the machine specs ? so VM details like memory etc
? (in our initial tests, we found that it wasn't able to explode the
initramfs and install.img for stage2 on VM with low memory specs)

FWIW, this is the kickstart that was used for our own QA/validation
tests for CentOS 8 :

https://github.com/CentOS/sig-core-QA_harness_ansible/blob/master/templates/kickstarts/c8-kvm-guest.cfg.j2

And here is the virt-install command that ansible generates when
deploying the VM :

https://github.com/CentOS/sig-core-QA_harness_ansible/blob/master/templates/ansible-virt-install.j2


-- 
Fabian Arrotin
The CentOS Project | https://www.centos.org
gpg key: 17F3B7A1 | twitter: @arrfab

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20190925/a3455813/attachment-0002.sig>


More information about the CentOS-devel mailing list