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: Mon, 17 May 2010 21:39:05 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 17 May 2010 09:11:40 -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=M8LfQuGMRQdTfHkcbm7A8Gs/1PCWA22gEYEyjjTxlo0=; b=yFI8AQa+hLPE9e0gHqTNBujFMdpU3VMGaMMeOfGgwMNaCkDB1FJ+r2SybQR7SG3Lid iB/NwzdHVb4Uoazrru6Ma/kZUUrmnDCNv7PdsfDNgistyzjDllGr+tmvLGOXCGqlo6rU rSL7uCYUbweJqFmIpUg5HPEMCCmmcKQn44/TE=
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=j2F9ENjhZHWGhYlOcSknk1B6hzugUuzEAOuppD6VarsJoP7U8IIHZVeskjrqupW8M5 14AfNvtPqhivBPIRmJ9ElTrOML6oALFblOB1vdUusG1BywpTL5+zGsBc12R4Dypg4D6Q 6p3ChcTr3I4IE3h0eyxTpUA4/BKsI/Yj20nK0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimdhpLjrvPBhrPH3M8cgWluWqy9sJx4i_QyUxFx@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/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> <AANLkTimdhpLjrvPBhrPH3M8cgWluWqy9sJx4i_QyUxFx@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I got error
Using config file "./cent55.py".
Error: configuration option keymap unknown to vfbs


On Sun, May 16, 2010 at 1:27 AM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
> 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
>



-- 
Tapas

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