Tapas Mishra
2010-May-15 05:36 UTC
[Xen-users] Installing CentOS as DomU on Debian Lenny (dom0) Xen
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 Then please share it here. -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Pryor
2010-May-15 16:50 UTC
Re: [Xen-users] Installing CentOS as DomU on Debian Lenny (dom0) Xen
--- On Fri, 5/14/10, Tapas Mishra <mightydreams@gmail.com> wrote:> From: Tapas Mishra <mightydreams@gmail.com> > Subject: [Xen-users] Installing CentOS as DomU on Debian Lenny (dom0) Xen > To: "Xen List" <xen-users@lists.xensource.com> > 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 lookGo 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@lists.xensource.com http://lists.xensource.com/xen-users
Tapas Mishra
2010-May-15 19:57 UTC
Re: [Xen-users] Installing CentOS as DomU on Debian Lenny (dom0) Xen
Thanks. On Sat, May 15, 2010 at 10:20 PM, Mark Pryor <tlviewer@yahoo.com> wrote:> > > --- On Fri, 5/14/10, Tapas Mishra <mightydreams@gmail.com> wrote: > >> From: Tapas Mishra <mightydreams@gmail.com> >> Subject: [Xen-users] Installing CentOS as DomU on Debian Lenny (dom0) Xen >> To: "Xen List" <xen-users@lists.xensource.com> >> 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@lists.xensource.com > http://lists.xensource.com/xen-users >-- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tapas Mishra
2010-May-17 16:09 UTC
Re: [Xen-users] Installing CentOS as DomU on Debian Lenny (dom0) Xen
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@gmail.com> wrote:> Thanks. > > On Sat, May 15, 2010 at 10:20 PM, Mark Pryor <tlviewer@yahoo.com> wrote: >> >> >> --- On Fri, 5/14/10, Tapas Mishra <mightydreams@gmail.com> wrote: >> >>> From: Tapas Mishra <mightydreams@gmail.com> >>> Subject: [Xen-users] Installing CentOS as DomU on Debian Lenny (dom0) Xen >>> To: "Xen List" <xen-users@lists.xensource.com> >>> 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@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > > -- > Tapas >-- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-May-18 19:24 UTC
Re: [Xen-users] Installing CentOS as DomU on Debian Lenny (dom0) Xen
On Sat, May 15, 2010 at 11:06:26AM +0530, Tapas Mishra wrote:> 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 > Then please share it here. >http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU -- Pasi> > -- > Tapas > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tapas Mishra
2010-May-18 21:55 UTC
Re: [Xen-users] Installing CentOS as DomU on Debian Lenny (dom0) Xen
On Wed, May 19, 2010 at 12:54 AM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Sat, May 15, 2010 at 11:06:26AM +0530, Tapas Mishra wrote: >> 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 >> Then please share it here. >> > > http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU > > -- Pasihttp://markmail.org/thread/h7rooucvlhnivibd -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tony Lill
2010-May-31 16:42 UTC
[Xen-users] Re: Installing CentOS as DomU on Debian Lenny (dom0) Xen
I just did this a while ago. First, grab the latest source for splice, the one in the debian lenny is broken, then just use xen-create-image --install-method=splice --dist=centos5 ... from xen-tools and Bob''s your uncle. -- Tony Lill, Tony.Lill@AJLC.Waterloo.ON.CA President, A. J. Lill Consultants (519) 650 0660 539 Grand Valley Dr., Cambridge, Ont. N3H 2S2 (519) 241 2461 --------------- http://www.ajlc.waterloo.on.ca/ ---------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tapas Mishra
2010-May-31 22:37 UTC
Re: [Xen-users] Re: Installing CentOS as DomU on Debian Lenny (dom0) Xen
I searched for splice http://www.google.co.in/search?hl=en&safe=active&q=debian+package+splice+&aq=f&aqi=&aql=&oq=&gs_rfaibut could not get any thing useful. Can you give some link On Mon, May 31, 2010 at 10:12 PM, Tony Lill <ajlill@ajlc.waterloo.on.ca> wrote:> I just did this a while ago. First, grab the latest source for splice, > the one in the debian lenny is broken, then just use > xen-create-image --install-method=splice --dist=centos5 ... > from xen-tools and Bob''s your uncle. > -- > Tony Lill, Tony.Lill@AJLC.Waterloo.ON.CA > President, A. J. Lill Consultants (519) 650 0660 > 539 Grand Valley Dr., Cambridge, Ont. N3H 2S2 (519) 241 2461 > --------------- http://www.ajlc.waterloo.on.ca/ ---------------- > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tony Lill
2010-Jun-02 15:41 UTC
[Xen-users] Re: Installing CentOS as DomU on Debian Lenny (dom0) Xen
Tapas Mishra <mightydreams@gmail.com> writes: Sorry, that''s rinse, not splice. YOu can get it from http://www.xen-tools.org/software/rinse/releases.html It''s all scripted, so no compilation necessary.> I searched for splice > http://www.google.co.in/search?hl=en&safe=active&q=debian+package+splice+&aq=f&aqi=&aql=&oq=&gs_rfai> but could not get any thing useful. > Can you give some link > > > On Mon, May 31, 2010 at 10:12 PM, Tony Lill <ajlill@ajlc.waterloo.on.ca> wrote: >> I just did this a while ago. First, grab the latest source for splice, >> the one in the debian lenny is broken, then just use >> xen-create-image --install-method=splice --dist=centos5 ... >> from xen-tools and Bob''s your uncle. >> -- >> Tony Lill, Tony.Lill@AJLC.Waterloo.ON.CA >> President, A. J. Lill Consultants (519) 650 0660 >> 539 Grand Valley Dr., Cambridge, Ont. N3H 2S2 (519) 241 2461 >> --------------- http://www.ajlc.waterloo.on.ca/ ---------------- >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > > -- > Tapas > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tapas Mishra
2010-Jun-02 17:59 UTC
Re: [Xen-users] Re: Installing CentOS as DomU on Debian Lenny (dom0) Xen
Hi, Tony thanks for the links.Last time I had tried rinse method also it did fail. Then I switched to Pygrub and tried to create image like that if you search my previous messages on archive you will find that there were some problems and I had to finally switch to a GUI. Thanks for the reply.I did not expected after so many days any one to reply. On Wed, Jun 2, 2010 at 9:11 PM, Tony Lill <ajlill@ajlc.waterloo.on.ca> wrote:> Tapas Mishra <mightydreams@gmail.com> writes: > > Sorry, that''s rinse, not splice. YOu can get it from > > http://www.xen-tools.org/software/rinse/releases.html > > It''s all scripted, so no compilation necessary. > >> I searched for splice >> http://www.google.co.in/search?hl=en&safe=active&q=debian+package+splice+&aq=f&aqi=&aql=&oq=&gs_rfai>> but could not get any thing useful. >> Can you give some link >> >> >> On Mon, May 31, 2010 at 10:12 PM, Tony Lill <ajlill@ajlc.waterloo.on.ca> wrote: >>> I just did this a while ago. First, grab the latest source for splice, >>> the one in the debian lenny is broken, then just use >>> xen-create-image --install-method=splice --dist=centos5 ... >>> from xen-tools and Bob''s your uncle. >>> -- >>> Tony Lill, Tony.Lill@AJLC.Waterloo.ON.CA >>> President, A. J. Lill Consultants (519) 650 0660 >>> 539 Grand Valley Dr., Cambridge, Ont. N3H 2S2 (519) 241 2461 >>> --------------- http://www.ajlc.waterloo.on.ca/ ---------------- >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> >> >> >> -- >> Tapas >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users