Re: [CentOS] Install CentOS as KVM guest

2011-04-29 Thread Emmanuel Noobadmin
On 4/29/11, Emmanuel Noobadmin centos.ad...@gmail.com wrote: Only problem is... networking still isn't working although brctl show on the host shows that a vnet0 had been created and attached to the bridge. Any pointers would be appreciated! Just to close off on this issue for the benefit of

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Emmanuel Noobadmin
On 4/28/11, Jussi Hirvi listmem...@greenspot.fi wrote: I tried it too, didn't work. Try virt-install without creating the image first. Virt-install will create the image (type raw) on the go. If you want qcow2, you can convert the image later. Qcow2 has some special features but is slower than

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Simon Grinberg
- Original Message - From: Emmanuel Noobadmin centos.ad...@gmail.com To: CentOS mailing list centos@centos.org, kvm k...@vger.kernel.org Sent: Tuesday, April 26, 2011 11:57:18 PM Subject: Re: [CentOS] Install CentOS as KVM guest Unfortunately, things still don't work. rant It's

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Jussi Hirvi
On 4/28/11, Jussi Hirvilistmem...@greenspot.fi wrote: Try virt-install without creating the image first. On 28.4.2011 9.17, Emmanuel Noobadmin wrote: I'll give that a spin next, although the disks file I created are RAW as well. The problem wth using virt-install to create files is that it

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Emmanuel Noobadmin
On 4/28/11, Simon Grinberg si...@redhat.com wrote: What version of VMWare are you using? Currently, I'm not using VMWare yet on this new server as I really do hope to be able to use an unified solution. But so far, it's just one brickwall after another. I've given myself until this weekend to

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Emmanuel Noobadmin
On 4/28/11, Jussi Hirvi listmem...@greenspot.fi wrote: For me creating the images does not take any noticeable time. Only when the installer formats the disk to ext3 (or others), it will take some time. Probably your syntax does not work. Try the syntax in my example, like --disk

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Emmanuel Noobadmin
On 4/28/11, Gleb Natapov g...@redhat.com wrote: So why don't you use virt-manager? The original intention was to run the host without any graphical desktop or anything not necessary to host the guests. That was based on reading and such which recommends not having anything beyond the necessary

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Ljubomir Ljubojevic
Emmanuel Noobadmin wrote: On 4/28/11, Gleb Natapov g...@redhat.com wrote: So why don't you use virt-manager? The original intention was to run the host without any graphical desktop or anything not necessary to host the guests. That was based on reading and such which recommends not having

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Johnny Hughes
On 04/28/2011 06:46 AM, Emmanuel Noobadmin wrote: On 4/28/11, Gleb Natapov g...@redhat.com wrote: So why don't you use virt-manager? The original intention was to run the host without any graphical desktop or anything not necessary to host the guests. That was based on reading and such

[CentOS] Install CentOS as KVM guest

2011-04-28 Thread R P Herrold
On Thu, 28 Apr 2011, Emmanuel Noobadmin wrote: Thanks for pointing out that it really is abnormal because it takes about 2 hours for virt-install to create a 190G disk for me. As you are having issues with the install, I might suggest creating a more modest sized disk image, at least

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Emmanuel Noobadmin
On 4/28/11, Gleb Natapov g...@redhat.com wrote: Qemu is not intended to be used directly by end user. It is too complex as you already found out. VMware don't even give you access to such low parts of virt stack. You should use libvirt or virt-manager instead. Especially if you are concerned

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Emmanuel Noobadmin
On 4/28/11, Johnny Hughes joh...@centos.org wrote: You don't have to run an entire X desktop on the server to use virt-manager there. If you have a graphical linux workstation on the same network (x can be slow across a WAN, so I would only do it locally), you can just do this from the

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Ljubomir Ljubojevic
Emmanuel Noobadmin wrote: On 4/28/11, Johnny Hughes joh...@centos.org wrote: You don't have to run an entire X desktop on the server to use virt-manager there. If you have a graphical linux workstation on the same network (x can be slow across a WAN, so I would only do it locally), you can

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Les Mikesell
On 4/28/2011 11:02 AM, Emmanuel Noobadmin wrote: If you have a graphical linux workstation on the same network (x can be slow across a WAN, so I would only do it locally), you can just do this from the workstation with X running: ssh -XY -l rootserver_name then from the server do this:

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Jussi Hirvi
series of tutorials, looks pretty much up-to-date. Here is one: http://www.cyberciti.biz/faq/kvm-virt-install-install-freebsd-centos-guest/ I never tried handing the install media over with the --connect (-c) flag like there: virt-install... -c /nfsclient/iso/FreeBSD-7.3-RELEASE

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Tru Huynh
On Thu, Apr 28, 2011 at 08:17:46PM +0300, Jussi Hirvi wrote: On 28.4.2011 18.58, Emmanuel Noobadmin wrote: like anaconda not seeing the dvd (mounted ISO specified using --location) that it just booted from. That's ok, once you know that... But I agree, it is frustrating, because of lack

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Jussi Hirvi
On 28.4.2011 20.29, Tru Huynh wrote: does that mean that you volonteer to add some pages to wiki.centos.org (- centos-docs mailing list for more) ? ;P Maybe I could, How could that be done? Though I should have started to think about that earlier, now the big install hassle starts to be over

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Jim Wildman
On Thu, 28 Apr 2011, Jussi Hirvi wrote: BTW, can guests be installed on raw (unformatted or formatted) partitions (not images)? Can virt-install do that? I tried it and had no luck. - Jussi You can install them to logical volumes... Season to taste virt-install -p -n test_phys -r 512

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Emmanuel Noobadmin
On 4/28/11, Gleb Natapov g...@redhat.com wrote: of virt stack. You should use libvirt or virt-manager instead. Especially if you are concerned about security. I think libvirt can start guest on headless server. If this still fails for you you need to complain to libvirt developers (not in a

Re: [CentOS] Install CentOS as KVM guest

2011-04-27 Thread Jussi Hirvi
I understand you so well, I have been so frustrated too with virt-install. Virt-manager is probably an easier way to install, but text-based virt-install is very cranky (my experience). Maybe the devs concentrate on the GUI side. Hope not. Anyway, to know what is wrong, more info would be

Re: [CentOS] Install CentOS as KVM guest

2011-04-27 Thread Emmanuel Noobadmin
On 4/28/11, Jussi Hirvi listmem...@greenspot.fi wrote: I understand you so well, I have been so frustrated too with virt-install. Virt-manager is probably an easier way to install, but text-based virt-install is very cranky (my experience). Maybe the devs concentrate on the GUI side. Hope not.

Re: [CentOS] Install CentOS as KVM guest

2011-04-27 Thread Jussi Hirvi
Here is one of my install commands that worked: virt-install --name mail \ --os-variant rhel5.4 --ram 1024 \ --vcpus 2 --accelerate \ --nographics -v \ --location /mnt/centos56/ --network bridge:br0 \ --disk path=/kvmail/mail.img,size=290 \ --extra-args console=ttyS0; On

Re: [CentOS] Install CentOS as KVM guest

2011-04-27 Thread Jussi Hirvi
On 28.4.2011 8.11, Emmanuel Noobadmin wrote: So this is where my installation halts. I will get the message unable to retrievehttp://12.34.56.78//Centos56/images/stage2.img You could check your httpd log to see if there is anything, like 404 errors. And if problems persist, you could stop

Re: [CentOS] Install CentOS as KVM guest

2011-04-26 Thread Jussi Hirvi
On 26.4.2011 0.47, Emmanuel Noobadmin wrote: I'm having problems trying to install CentOS as a KVM guest despite following the wikis and howtos. I succeeded with this howto: http://sysadminman.net/blog/2011/kvm-virtualization-text-centos-guest-install-2098 Except I skipped the lvcreate part

Re: [CentOS] Install CentOS as KVM guest

2011-04-26 Thread Emmanuel Noobadmin
Hirvi listmem...@greenspot.fi wrote: On 26.4.2011 0.47, Emmanuel Noobadmin wrote: I'm having problems trying to install CentOS as a KVM guest despite following the wikis and howtos. I succeeded with this howto: http://sysadminman.net/blog/2011/kvm-virtualization-text-centos-guest-install-2098

Re: [CentOS] Install CentOS as KVM guest

2011-04-26 Thread Emmanuel Noobadmin
...@greenspot.fi wrote: On 26.4.2011 0.47, Emmanuel Noobadmin wrote: I'm having problems trying to install CentOS as a KVM guest despite following the wikis and howtos. I succeeded with this howto: http://sysadminman.net/blog/2011/kvm-virtualization-text-centos-guest-install-2098 Except I

Re: [CentOS] Install CentOS as KVM guest

2011-04-26 Thread Emmanuel Noobadmin
Unfortunately, things still don't work. rant It's just ridiculous that the installer under KVM does not detect the cdrom drive it was booted from. Trying to do a net-install doesn't work, maybe I messed up the networking even though br0 and eth0 is working on the host. Nevermind, let's install

[CentOS] Install CentOS as KVM guest

2011-04-25 Thread Emmanuel Noobadmin
I'm having problems trying to install CentOS as a KVM guest despite following the wikis and howtos. The problem is that most of the instructions skip the part that happens after virt-install... It seems that something blindingly obvious happens if nothing goes wrong and most instructions

Re: [CentOS] Install CentOS as KVM guest

2011-04-25 Thread Paul Heinlein
On Tue, 26 Apr 2011, Emmanuel Noobadmin wrote: I'm having problems trying to install CentOS as a KVM guest despite following the wikis and howtos. The problem is that most of the instructions skip the part that happens after virt-install... It seems that something blindingly obvious