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/
Home Products Support Community News


Re: [Xen-users] centos4.5(domU) on etch(dom0)

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] centos4.5(domU) on etch(dom0)
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 5 Dec 2007 03:23:50 +0000
Cc: Chris Fanning <christopher.fanning@xxxxxxxxx>, Igor Chubin <igor@xxxxxxx>
Delivery-date: Tue, 04 Dec 2007 19:24:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <215ff4410711300946i4fb06108y13411967a9a9a2ac@xxxxxxxxxxxxxx>
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: <215ff4410711300946i4fb06108y13411967a9a9a2ac@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
> I'd like to know how to install centos (4.5 in my case) to run as a
> domU on a dom0 running etch.

If you have a PAE-enabled Xen running (the CentOS / RHEL Xen kernels are PAE 
only) you can actually boot directly into the CentOS installer.

You need to create a config file for your domain, pointing to the virtual 
disks you want to use, creating a network interface etc as you would for any 
paravirtualised domain.  I'll assume you're largely OK with that?

If you look in the images/xen/ directory on the install ISO, you should see a 
kernel and an initrd.  Copy these out of the ISO to a temporary location.  
Now unmount the ISO.

Edit the config file to point to the kernel and initrd you copied off the CD.  
Add another virtual disk device to the config file, pointing to the ISO file 
for the install DVD (DVD is more convenient because you won't have to "change 

Set some sane framebuffer settings (e.g. to use VNC or SDL) in the config 

When you create this domain, you can connect to the framebuffer and should see 
the Anaconda installer pop up and do its thing.  When you "reboot" the domain 
after the install you probably actually need to shut it down, then change the 
config so that it'll use pygrub instead of the install kernel.  If you 
actually want to interact with pygrub, you need to connect to the domain's 
console; but CentOS may well do the smart thing and default ot just 
installing a Xenified kernel as default boot.


Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

Xen-users mailing list