[virt-tools-list] virt-install console keys

Cole Robinson crobinso at redhat.com
Thu Mar 24 19:20:59 UTC 2016


On 03/24/2016 03:17 PM, Richard W.M. Jones wrote:
> 
> I think this may be a question about virsh or libvirt, but anyway ..
> 
> When I do a command like:
> 
> virt-install \
>     --name=$tmpname \
>     --ram=1024 \
>     --os-type=linux --os-variant=$osvariant \
>     --arch ppc64le --machine pseries \
>     --initrd-inject=$(pwd)/preseed.cfg \
>     --extra-args="auto console=tty0 console=hvc0" \
>     --disk=$(pwd)/$output,size=4,format=raw \
>     --serial pty \
>     --location=http://ports.ubuntu.com/ubuntu-ports/dists/$dist/main/installer-ppc64el \
>     --nographics \
>     --noreboot
> 
> It later fails with the instructions:
> 
>   Additional details may be available in /var/log/syslog or on virtual
>   console 4.
> 
> which is great, but I can find no way to get to "virtual console 4",
> and that's a problem because there's no further way to diagnose this
> bug.
> 
> What element of the stack is implementing the serial console and what
> keys might be used to switch between virtual consoles?
> 

virt-install is just calling 'virsh console' here. But whatever the keycombo
is is probably function of ubuntu's text installer. The traditional VT console
switch is handled by X windows AIUI so it doesn't automatically apply to a
serial console.

- Cole




More information about the virt-tools-list mailing list