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] Installing CentOS as DomU on Debian Lenny (dom0) Xen

To: Mark Pryor <tlviewer@xxxxxxxxx>
Subject: Re: [Xen-users] Installing CentOS as DomU on Debian Lenny (dom0) Xen
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Sun, 16 May 2010 01:27:07 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 15 May 2010 13:00:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=egs5OA6rjFC23SupZtk24jn/uu4UTvCt9s0+lUzOu+E=; b=PvzFSV0/f+IzI9HjJ164c5WVMlu5sqz2Jtl6xaSGFGiUrhS78wEAnZem1m9dQaxP5O jRrxlS8azaxAPxE7HeQP3WRTFQ/SgAPg6zYkYtAdMw+sA11r0d07T/GzOqkmgaFs19UU QsPH+ezC/qmtwwaOHhCSNvYobJs/pNQwVg3jw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OJH5TG71x4/inq7Gpf72bKJ77jqhwMPIt0S3x5Q2rljW9zOS0ui52KG3B6ApFWOZ0z XWVudFq3vFnwitB7h9qr9Y0BgDmr90/iY3osluPhWOmlV9VxU5prKoCmoFGLClB4auU0 LI1uWVctqRyck6qrHLFlaAVSbcNZQqxROJIes=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <309733.71471.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTil3CV9RILvhTul1Tb45vrRCAOjYiICsbjrW8v8B@xxxxxxxxxxxxxx> <309733.71471.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks.

On Sat, May 15, 2010 at 10:20 PM, Mark Pryor <tlviewer@xxxxxxxxx> wrote:
>
>
> --- On Fri, 5/14/10, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
>
>> From: Tapas Mishra <mightydreams@xxxxxxxxx>
>> Subject: [Xen-users] Installing CentOS as DomU on Debian Lenny (dom0) Xen
>> To: "Xen List" <xen-users@xxxxxxxxxxxxxxxxxxx>
>> Date: Friday, May 14, 2010, 10:36 PM
>> Hi,
>> I have searched the question which I am asking.But if some
>> one has
>> mentioned on their blog or link some where they have
>> mentioned as how
>> they
>> installed CentOS as DomU on Debian Lenny (dom0)running
>> xen-3.2.1 and I
>> should have a look
>
> Go here and grab your boot files:
> http://mirrors.kernel.org/centos/5.5/os/x86_64/images/xen/
>
> vmlinuz
> initrd.gz
>
> $ cat cent55.py
> name = "cent55"
> uuid = "442db20d-7a82-409b-b8aa-a352c1fe127c"
> maxmem = 512
> memory = 512
> vcpus = 2
> #bootloader = "/usr/bin/pygrub"
> #bootargs = "-q"
> #kernel="/usr/lib/xen/boot/pv-grub-x86_64.gz"
> # kernel=/vmlinuz-2.6.18-194.el5xen initrd=/initrd-2.6.18-194.el5xen.img
> on_poweroff = "destroy"
> on_reboot = "destroy"
> on_crash = "destroy"
> vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
> disk = [ "phy:/dev/maxvm/cent55,xvda,w" ]
> vif = [ "bridge=br0,mac=00:16:3e:3b:2a:2f" ]
> extra = " install=http://mirrors.kernel.org/centos/5.5/os/x86_64/ 
> console=tty0 console=ttyS0,38400n8 console=xvc0"
> ------------------------ snip ----------------
>
> to kickoff your PV install
> $sudo xm create -c cent55.py kernel=vmlinuz ramdisk=initrd.gz
>
> you will boot into a netinstall. You can point the installer back to
> the same http source above where the xen boot files came from, or better yet, 
> use a local resource.
>
> Be prepared to switch over from a console to vnc when prompted by the text 
> install.
>
> Accept installer defaults.
> Before you do "first boot", test that pygrub can find your install.
> #pygrub -q /dev/VolGrp/LV
>
> Check the path /var/run/xend/boot. If there is no /boot subfolder, then 
> create it.
>
> you should see something like this:
> Using <class 'grub.GrubConf.GrubConfigFile'> to parse /grub/menu.lst
> linux (kernel /var/run/xend/boot/boot_kernel.P0o6ev)(ramdisk 
> /var/run/xend/boot/boot_ramdisk.Y5yCn_)(args "ro 
> root=/dev/VolGroup00/LogVol00 console=xvc0 noresume selinux=0 ")
>
> then edit cent55.py and uncomment the pygrub lines (x2).
>
> To get the clock working, do
> #nano /etc/sysctl.conf
>
> add:
> xen.independent_wallclock=1
>
> to accept your changes
> #sysctl -p
>
> #yum install ntp
> #chkconfig ntp on
>
> I went throught this yesterday on karmic dom0 with no trouble.
>
> --
> Mark
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



-- 
Tapas

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users