[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

> 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.