[Solved] Cannot install KVM guest on CentOS/RedHat


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users [Solved] Cannot install KVM guest on CentOS/RedHat
# 1  
Old 01-22-2013
[Solved] Cannot install KVM guest on CentOS/RedHat

Hi,

I've a CentOS Server and I need to create KVM guest machine without X.
Code:
 /usr/sbin/virt-install --name server1 --ram 4000 --vcpus=8  --file=/srv/virtual/server1.img --file-size=20 --cdrom /tmp/server1.iso --mac=52:54:00:fd:48:7c

The iso was created with cobbler...
So, now the machine is present :
Code:
root@mainserver:/etc/libvirt/qemu $ virsh list 
 Id Name                 State
----------------------------------
  5 server1          running

But the installation was not completed, so I couldn't stop it! I couldn't connect it! and when I try to install again:
Quote:
ERROR Guest name 'server1' is already in use.
What should I do?

Please help!
# 2  
Old 01-22-2013
According to the manual page, you should use virsh to "undefine" server1 before running virt-install.
# 3  
Old 01-22-2013
Thank you! I can restart the installation...

After the ok, it start a black screen with "_" and hangs...! What could be the problem?
Code:
ISOLINUX 4.02 2010-07-21 ETCD Copyright (C) 1994-2010 H. Peter Anvin et al
          |      Cobbler | http://cobbler.github.com/           |
          |------------------------------------------------|
          | (local)                                                |
          |                                                          |
          | server1                                               |
          |                                                          |
          |                                                          |
          |                                                          |
          |                                                          |
          |                                                          |
          |                                                          |
          |                                                          |
          |                                                          |
          |                                                          |
          +----------------------------------------------------------+

                          Press [Tab] to edit options

                        Automatic boot in 19 seconds...


Loading 1.krn......
Loading 1.img................................ready.
Probing EDD (edd=off to disable)... ok

# 4  
Old 01-22-2013
I don't have that specific ISO to test with, but the command you're using works fine with another one I have.

Did you create it, or download it (and where from)?
# 5  
Old 01-23-2013
It was created with our cobbler system and I've copied into my server

---------- Post updated at 12:34 PM ---------- Previous update was at 10:59 AM ----------

I've seen the following error in logs:
Code:
kernel: kvm: 27302: cpu0 unimplemented perfctr wrmsr: 0xc1 data 0xabcd

I've seen a bug on Google but I don't the os version is not to old....

---------- Post updated 23-01-13 at 11:46 AM ---------- Previous update was 22-01-13 at 12:34 PM ----------

I've find the solutions :

I must to add --vnc in my command, than start a vncviewer on the server through ssh -x server.

Thanks for your
This User Gave Thanks to hiddenshadow For This Post:
# 6  
Old 01-23-2013
Good to know. Thanks for updating us.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

KVM/Qemu allocated memory not showing in guest

So we have a RHEL 7.6 workstation with 128 gigs of ram. The OS sees all the ram and 80 cors (40 HT) We have 1 guest with 8 CPUs and 32gigs of ram running RHEL 7.6 workstation as well. We are trying to create another guest with 64 CPUs and 80 gigs of ram. We setup the system using... (0 Replies)
Discussion started by: joeg1484
0 Replies

2. Red Hat

How to export the KVM based guest VM as template or ovf or some other format ?

Hi All, I am new to the KVM virtualization. I have deployed and configured KVM in one of my server. I am using RHEL 6.5. Also I created the guest VM successfully and installed OS on it. Its up and running without any issues. Is there any way I can export the VM and import it in... (2 Replies)
Discussion started by: kalpeer
2 Replies

3. Red Hat

KVM - VM Guest

Background : - Need to create addition 40G storage for VM guest. 1. I have created new KVM - VM guest on RHEL 5.8 server hosting server. 2. Hosting server has occupied all size with LV and there is not space to create new LV. 3. I tried to achieve this requirement by creating 40G file size and... (1 Reply)
Discussion started by: Nats
1 Replies

4. UNIX for Advanced & Expert Users

Need commands to fetch Guest VM OS version from Xen and KVM

Im looking for the commands that can be executed to fetch the OS Version of the VMs running on the below Hypervisors. Xen (Not the citrix Xen server, but the Xen Sever hosted on a ubuntu Machine) KVM (0 Replies)
Discussion started by: ranvirsingh
0 Replies

5. UNIX for Advanced & Expert Users

NFS3 over KVM-Guest don't map UnixACLs

Hi, I have an problem with ACLs over NFS3. The Problem is, when i mount a nfsshare from an KVMguest, the UnixACLs were not mapped too. I don't know why. But this is only when i have the NFSshares on an virtulamachine. When i do the same with ein real machine, ACLs work well. You can see that:... (4 Replies)
Discussion started by: darktux
4 Replies

6. Red Hat

Redhat enterprise 6.2 virtulazation KVM NOT supporting more than 40GB

Hello, I have installed Red Hat 6.2 version & KVM installed, file system limited is only 40GB, how do i create more than 40 GB ( I need to install more than 100 GB file system ) Could you please me. Thanks... (2 Replies)
Discussion started by: Inamadugu
2 Replies

7. Red Hat

where to get redhat's guest's rootfs image

Hi experts I can't find a redhat's rootfs image for guest, where can find it Lei (2 Replies)
Discussion started by: yanglei_fage
2 Replies

8. Red Hat

Could not see virtual fc in KVM guest OS

Hi All, I have RHEL 5u4 physical system with 2 Qlogic fc cards. It hosts 2 KVM virtual machines which are also running RHEL 5u4 OS. After all these I have created a virutal HBA (refered in google) successfully on the base OS. But the same is not visible to guest OS. My question here is, ... (1 Reply)
Discussion started by: Vichu
1 Replies

9. Virtualization and Cloud Computing

KVM FC12 guest save not working ??

Howdy I am using Fedora12 with KVM, with XP64pro as a guest. Everything seems to be working just fine, BUT I can't Save. When I do instruction KVM to save, I get a continuing Saving display, but it continues for a long time until I finally terminate it due to boredom :) I have let it run for... (0 Replies)
Discussion started by: TJMan
0 Replies

10. Red Hat

Filesystems disappear on KVM guest machine after reboot.

Hello, I have a KVM system running on RHEL 5.4. It hosts 4 guest VMs. One of the guest host fails to get back the mounted filesystems after the system reboots. Does anyone have any idea what the issue could be? Regards, Mahive. (1 Reply)
Discussion started by: mahive
1 Replies
Login or Register to Ask a Question