Installation of CentOS 7.0 on KVM/libvirtd

General support questions
Post Reply
cultavix
Posts: 1
Joined: 2014/07/08 19:05:30

Installation of CentOS 7.0 on KVM/libvirtd

Post by cultavix » 2014/07/08 19:18:30

Hi,

CentOS 7.0 fails to boot at all on QEMU/KVM - LIBVIRT, latest version available on CentOS 6.5.

I've tried both RHEL 6 settings and the Fedora 18 settings.

User avatar
WhatsHisName
Posts: 1547
Joined: 2005/12/19 20:21:43
Location: /earth/usa/nj

Re: Installation of CentOS 7.0 on KVM/libvirtd

Post by WhatsHisName » 2014/07/08 21:49:14

When the KVM setup ask for OS, select "Other" and you should then get EL7 as an option.

Have not tried centos 7 yet, but I have several RHEL 7 VMs running under EL6 KVM without issues.

drk
Posts: 405
Joined: 2014/01/30 20:38:28

Re: Installation of CentOS 7.0 on KVM/libvirtd

Post by drk » 2014/07/09 05:06:51

select "Other" and you should then get EL7 as an option
I just tried CentOS7 with the RHEL7 setting and it installed, booted, updated fine. Even copy+paste between host & guest is working :)

sbungay
Posts: 5
Joined: 2011/02/05 13:44:02

Re: Installation of CentOS 7.0 on KVM/libvirtd

Post by sbungay » 2014/07/09 14:21:01

Those running 7 in KVM/Libvirtd, what GUI? As I understand it Gnome 3 needs hardware graphics acceleration (bad) and there is no mention of Mate support (also bad). We can't dedicate real-metal to testing what appears to be a radical change in O/S philosophy (do one thing and do it well (systemd) and clear text config files).

In this vein, the standard argument for systemd is to improve boot speed, in a server that argument holds no water as it is rebooted very infrequently. The flexibility of init.d, and the clarity of it's purpose and mission are very much missed. Other "improvements" like changing eth0 to em1 or (gawd forbid) elp1s01 has caused me more than enough grief.

Someone needs to sell me on these changes, as they are making life miserable for no perceived benefit.

User avatar
WhatsHisName
Posts: 1547
Joined: 2005/12/19 20:21:43
Location: /earth/usa/nj

Re: Installation of CentOS 7.0 on KVM/libvirtd

Post by WhatsHisName » 2014/07/09 15:49:51

You can use remote GUI access to run virt-manager on the server, such as FreeNX or x2go. The only "trick" is to open a GUI console on the remote server, "su -" to become root and then run virt-manager from command line.

FreeNX and x2go tend to be easy on server resources. I almost never sit in front of a server to use a GUI interface. YMMV

drk
Posts: 405
Joined: 2014/01/30 20:38:28

Re: Installation of CentOS 7.0 on KVM/libvirtd

Post by drk » 2014/07/09 16:16:26

I use QXL for the video card for the guest and Spice for the display protocol. With QXL you get better resolution options and you get the copy+paste to/from the guest/host.

beaver6675
Posts: 3
Joined: 2014/07/08 14:08:50

Re: Installation of CentOS 7.0 on KVM/libvirtd

Post by beaver6675 » 2014/07/09 23:26:22

What drk said +1

On a headless F20 KVM/libvirtd host, running RHEL7/C7 guests with "GNOME Desktop" and qxl/spice.

Access the guest GUI from another F20 desktop using
virt-manager qemu+ssh://xxxx@kvmhost/system or
virt-viewer qemu+ssh://...

It was surprisingly painless :D

Since I have been living with systemd since the F14/F15 days, it's not so bad.
I was slowly assimilated by systemd-borg.

Tip of the day:
systemctl enable getty@hvc0.service
systemctl start getty@hvc0.service
## Like!
## Easier than adding getty's to CentOS 6's upstart-like /etc/init/
The RHEL7 guests created by virt-manager default to virtio-console (instead of ttyS0) <-- that took me by surprise when I lost "virsh console guest"

Post Reply

Return to “CentOS 7 - General Support”