WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] can i install redhat9 as domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] can i install redhat9 as domU
From: "HyunSung Jang" <hsjang@xxxxxxxxx>
Date: Fri, 12 Oct 2007 17:35:44 +0900
Cc: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Delivery-date: Fri, 12 Oct 2007 01:36:36 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=bPGbkLXG+T1aT/d148opHDw508KZc97Mf7Vz2S5KLl8=; b=d8lu/9Y6FJB7TgWqfSeTjxIg+DBnngiVnMrVw2u2ZaxCP8VTeOi6G3nX4D3qCXWlokopacgmLF+48OyO6utDKluzZgItU7ulouT39QlqwnQ9CD77CIHOiOvbSpVbrGqv3EnvQfWgdevjPQ6fjBmFLhbc5Zz057ItNuM2yv2NjF4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=CGn3HoX06HhCitSZN6e5dkv557EQEL8EKlf46BoeCO+xtQZr65SY1/QTkipIPocwn4ommn/MBDB03HEfTJAJaz/Txj7gDzQWunZTIGZW/DNl3sYh4LA7udWR6xyb8K+mIrMmfppyANJjariyrUZjW7T8fF1W1GFtl2wHIkkESs4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200710120353.00463.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <d5dd78ec0710111909l96e5faas6441983c31bc3eba@xxxxxxxxxxxxxx> <200710120353.00463.mark.williamson@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> I need to install redhat9 on my dom0.
> but i can't find any information about it.
> is it possible to install redhat9 as domU ??

It should be possible to install it under HVM.

> i have HVM supported machine and installed centos 5 as dom0.
> thankfully centos support kernel for installing xen inside centos
> directory in images/xen/vmlinz.
> but i can't find for redhat9

You don't need a special kernel to install a guest under HVM, you just boot
off the standard install media...  So, if you get an iso image of the RH9
install CD then you should be able to install it.

An easy way to do this on CentOS / RHEL 5 is to use virt-manager: use
the "new" option to create a new virtual machine; when it asks tell it you
want "fully virtualized".  Then it'll ask where your install CD ISO is.
Point it at this, answer a few more questions, and then you should be good to
go.
 
thank you for help,
now i understand what HVM is doing.
 
I'm not using X-server , so i tried virt-install
it shows like below after execute..
 
am i doing correctly or what should i have to check if something goes to wrong?
and one more question,
can i use phyical disk partision for full virtualization?
 
thank you once more for your help. :-)
 
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@wa102 xen]# uname -a
Linux wa102.sayclub.com 2.6.18-8.1.8.el5xen #1 SMP Tue Jul 10 07:06:45 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
[root@wa102 xen]# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0     3490     4 r-----     36.1
[root@wa102 xen]# virt-install
Would you like a fully virtualized guest (yes or no)?  This will allow you to run unmodified operating systems. yes
 What is the name of your virtual machine? redhat9
 How much RAM should be allocated (in megabytes)? 512
 What would you like to use as the disk (path)? redhat.img
 How large would you like the disk (redhat.img ) to be (in gigabytes)? 3
 Would you like to enable graphics support? (yes or no) no
 What would you like to use for the virtual CD image? /etc/xen/rh9.iso
 

Starting install...
Domain installation does not appear to have been
successful.  If it was, you can restart your domain
by running 'xm create -c redhat9'; otherwise, please
restart your installation.
[root@wa102 xen]# xm create -c redhat9
Using config file "./redhat9".
Error: VM name 'redhat9' already in use by domain 7
[root@wa102 xen]# xm console redhat9
xenconsole: Could not read tty from store: No such file or directory
[root@wa102 xen]#

cat /var/log/xen/qemu-dm.5027.log
domid: 7
shared page at pfn:1ffff, mfn: 3ceb3
buffered io page at pfn:1fffd, mfn: 3ceb5
xs_read(): vncpasswd get error. /vm/baccfa05-dd27-6843-b600-d00ab4fa9c5d/vncpasswd.
Could not initialize SDL - exiting
 
dmesg
device tap0 entered promiscuous mode
audit(1192177730.813:25): dev=tap0 prom=256 old_prom=0 auid=4294967295
xenbr0: port 3(tap0) entering learning state
xenbr0: topology change detected, propagating
xenbr0: port 3(tap0) entering forwarding state
device vif7.0 entered promiscuous mode
audit(1192177731.177:26): dev=vif7.0 prom=256 old_prom=0 auid=4294967295
ADDRCONF(NETDEV_UP): vif7.0: link is not ready
xenbr0: port 3(tap0) entering disabled state
device tap0 left promiscuous mode
audit(1192177731.345:27): dev=tap0 prom=0 old_prom=256 auid=4294967295
xenbr0: port 3(tap0) entering disabled state
 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>