Arch Headless Virt Install
virt-install ubuntu16.04
Create the disk image
qemu-img create -f qcow2 /var/lib/libvirt/images/xenial.qcow2 20G
Command to run the install
virt-install Arch Linux
The --extra-args
option lets you use a serial console. But the
--extra-args
option only works if you also use an --location
option. But the --location
option can only be used with certain isos.
So use --cdrom
instead of --location
, drop the --extra-args
,
and instruct the kernel to boot with a serial console with a parameter
at the boot splash screen.
the arch boot splash screen will appear in your terminal and you can
tap the "tab" key to edit boot parameters
add "console=ttyS0" to kernel command line parameters
before
after
