Hi everyone,
I think this is just an issue with my lack of KVM experience, so maybe this isn’t even the right forum for this, but here I go anyway. Thanks for taking a look.
I’m trying to set up an almalinux VM running on an almalinux host, with virt-install and running KVM+qemu type setup. The host is headless, so bash only. I also intend for the guest to be headless.
When trying to install using the almalinux installation tree from network, I end up with a whole lot of… nothing. See below, I’m just stuck with a blank prompt no matter how long I wait:
[lauwnch@HOM-KVM-01 ~]$ virt-install --name KVM-FOREMAN-01 --memory 4096 --vcpus 2 --disk size=60 --os-variant almalinux9 --graphics none --extra-args="console=ttys0" --location https://repo.almalinux.org/almalinux/9/BaseOS/x86_64/os
Starting install...
Retrieving file vmlinuz... | 11 MB 00:00:01
Retrieving file initrd.img... | 78 MB 00:00:07
Allocating 'KVM-FOREMAN-01.qcow2' | 60 GB 00:00:02
Running text console command: virsh --connect qemu:///session console KVM-FOREMAN-01
Connected to domain 'KVM-FOREMAN-01'
Escape character is ^] (Ctrl + ])
I think I set up the text console over serial port correctly, and I’m pretty sure the location I specified has a valid installation tree, since virt-install is pulling kernel and initrd correctly. I’m clearly doing something wrong here, I just don’t know what it is.
Any help or pointers are much appreciated, and if you need any more info I’m happy to provide. Thanks again!