Intro
I'm new to KVM. I'm preparing an instance of pfSense in KVM; running this gets me close but is not completely working:
virt-install \
--name pfsense \
--os-variant freebsd11.2 \
--virt-type kvm \
--hvm \
--vcpus 2 \
--memory 2048 \
--graphics none \
--boot hd \
--disk format=raw,readonly=on,path=/var/lib/libvirt/boot/pfSense-CE-memstick-serial-2.4.4-RELEASE-p1-amd64.img \
--disk size=16,bus=virtio \
--autostart
The above did run successfully with an interactive textual terminal, but the ASCII art used by the installer was all wrong (line art was replaced by latin letters, mostly "q"). I'm considering the following additional arguments to accommodate a simple, text-mode-only installation, with keyboard and screen attached directly to the host:
--boot useserial=on
--extra-args 'console=ttyS0'
--serial pipe
or--serial pty
--channel pipe
or--channel pty
--console pty,target_type=virtio
- Omit
--noautoconsole
Related
KVM Guest installed from console. But how to get to the guest's console? - Does require a text terminal, but doesn't go into detail on the above options, nor is it about pfSense.
Questions
- What is the difference between
--serial
,--channel
,--console
and--extra-args 'console=ttyS0'
, particularly what they do to the host versus guest? - What combination of them would be most appropriate to use for a pfSense guest?
- How do I fix the ASCII art rendering issue?
I am using this configuration for start pfsense installation in KVM (qemu):
Maybe it will be help for you.