I am trying to install Centos 5.7 and FreeBSD 8.2 on KVM with serial console access. This is what I used:
sudo virt-install -n freebsd -r 1024 --vcpus=2
--os-type unix --accelerate -v
--disk /var/kvm/installation-disks/freebsd8.2.img,size=10
--nographics --network user
--cdrom=/var/kvm/cd-images/FreeBSD-8.2-RELEASE-amd64-disc1.iso
-x console=ttyS0,115200
In both cases I get stuck once the serial console is loaded, which becomes non-interactive and this is what I get:
Creating domain... 0 B 00:00
Connected to domain freebsd
Escape character is ^]
Centos fails to provide a serial console because its bootloader loads an image (which serial console cannot display) and freebsd fails for some other reason.
The method specified here failed as well.
So, do these OS's have pure text vm-friendly installers? Or is there any other way to install them with normal installation ISO's?
EDIT 1:
I was able to install centos with this -l http://mirrors.ecvps.com/centos/6/os/x86_64/
The mirror directory should have a .treeinfo
file and only then a pure text based installation can be done.
Are there such mirrors for freebsd? Googling didn't help me.
P.S. Centos installation was successfull, but post-installation reboot failed to get the serial console back.