KVM - The Linux Kernel-Based Virtual Machine
News, Blogs and Resources on the Linux (KVM) Kernel-Based Virtual Machine

How to install KVM guest from console without GUI on RHEL6? Cannot get the guest console.

No replies
Joined: Apr 13 2011
Points: 3

I've got a server with RHEL 6.0 installed as a 'Virtual Host', with no GUI. I try to install Fedora 14 as guest as follows:

virt-install \
--name=FE \
--hvm \
--connect=qemu:///system \
--ram=756 \
--vcpus=1 \
--file=/var/lib/libvirt/images/FE.img \
--file-size=8 \
--network=bridge:br0 \
--nographics \
--os-type=linux \
--os-variant=generic26 \
--cdrom=/opt/Fedora-14-x86_64-DVD.iso \
--extra-args='console=tty0 console=ttyS0,115200'


Starting install...
Creating domain...                                                                                                                                                        |    0 B     00:00     
Connected to domain FE
Escape character is ^]

OK, doesn't work that way... My next try was to install X-windows and Gnome desktop onto hypervisor host - just to check it works at all. It worked with --nographics option changed to --vnc, both on the same host and when connected from laptop with Fedora GUI over ssh (ssh -X user@ OK, so it is about video output, that gets 'lost in translation' somewhere. My next try was RHEL 6.0 with no GUI (as in the beginning), but this time over ssh from GUI-enabled laptop over ssh -X user@ Nope, same output as initially.

So, my question is: How to install a guest from distribution DVD image on a KVM bare-metal hypervisor machine, if the hypervisor machine doesn't provide any graphical interface, just plain command line? There's a post on this very forum at


but it suggests modifications to a guest machine that is already installed, which doesn't seem to be my case. I'm obviously missing something simple. What is it?

Thanks in advance.


Post new comment

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.