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] How to change the default kernel of Guest_OS

To: "Xen Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] How to change the default kernel of Guest_OS
From: vipinsagar <freakyzag@xxxxxxxxx>
Date: Thu, 6 Sep 2007 18:27:46 +0530
Delivery-date: Thu, 06 Sep 2007 05:58:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=czYYa9sR+RIEPQeErb8d/NgSHGpX1v40/BjQdW6TPng=; b=CeZOP45jmNWABCvcItoMP/MhaumOG5nvnIdAY1tRoSh+wWl+F8xTEFe4VrFc/RPZABMlNq3f39BwKcN5E7unJH2gBkwUv6qSoRipOkvaC0OV+pMmnNDo5BU/UnmOlvsEz2WdpVAK0wgSbiZFrE4CjR8/R+38V+RQvgHO2/BdJ1Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Q5SA2SgbfMufDV7HD8ndkt0+oP8AFfXUyZjD6lIA16ihKL96ZAO2utrceejLPbvPOBqwTIlshva1pwf0PF/KQTDCUi7OVBV7jZxCArR9KeaaIOKPD2Fs6RbfZnJ+pQaOwkv+GTF42i3pxrXShrdgvIH5MaY6O1HoU4XjzqJ9tT0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4ca85dfb0709060546q1933130di3c8d61569ef5c374@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: <4ca85dfb0709060407r2f747345ga64bc0da9637cec5@xxxxxxxxxxxxxx> <ce6304780709060506oba8e91dkd27ef947fc67149f@xxxxxxxxxxxxxx> <4ca85dfb0709060546q1933130di3c8d61569ef5c374@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello Everyone,

I have resolved the issue. All I have done

mount my image
[foobar@blxvirtual sagar]# lomount -diskimage /var/lib/xen/images/cenos5v.img -partition 1 /vipin

[foobar@blxvirtual sagar]# cd /vipin/grub/grub.conf

change default 1 to 0  :)

Happy Xenning around !!!

~sagar


On 9/6/07, vipinsagar <freakyzag@xxxxxxxxx> wrote:
Hi Nico,

I had tried:
/usr/bin/pygrub /var/lib/xen/images/cenos5v.img

got the grub window and there I chose the XEN kernel and tried to boot

It throws:

Going to boot CentOS (2.6.18-8.1.8.el5xen)
  kernel: /vmlinuz-2.6.18-8.1.8.el5xen
  initrd: /initrd-2.6.18-8.1.8.el5xen.img
linux (kernel /var/lib/xen/vmlinuz.nYT_lz)(ramdisk /var/lib/xen/initrd.UYo3oU)(args 'ro root=/dev/VolGroup00/LogVol00 console=xvc0 rhgb quiet')
[fubar@blxvirtual ~]#

Thank You All,

~sagar


On 9/6/07, Nico Kadel-Garcia <nkadel@xxxxxxxxx> wrote:
If you're using pygrub, you need to edit /boot/grub/grub.conf in the DomU.

On 9/6/07, vipinsagar < freakyzag@xxxxxxxxx> wrote:

Hello Everyone,

Domain-0 OS:Centos5[final]
Guest OS: Centos5[Centos5[final]

The virtualization [para] set up was working fine until I have done a kernel upgrade from 2.6.18-8 to 2.6.18-8.1.8 at the guest OS level.

My dom-0 is still working fine with the updated kernel. I used the same update package and -Uvh at my guest OS level and I changed the default kernel-2.6.18-8.1.8.el5xen to kernel-2.6.18-8.1.8.el5 in Guest's grub.conf [Before the Kernel update, I had only one (xen)Kernel at Guest_OS]

then


xm reboot cenos5v [Didn't came up]

then tried

# xm create /etc/xen/cenos5v

Using config file "/etc/xen/cenos5v".
Going to boot CentOS (2.6.18-8.1.8.el5)
  kernel: /vmlinuz-2.6.18-8.1.8.el5
  initrd: /initrd-2.6.18-8.1.8.el5.img
Error: (22, 'Invalid argument')

Querry:

How do I change my guest's default bootable kernel back to xen-kernel.

Please help me out and your suggestion would be appreciated.


Thank you All


--
~O_0~
~sagar
http://vipinsagar.net
...i've to look back when I heard a gong! I could only see a huge cobweb and its shining, just got wonder, what the time it was…

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




--
~O_0~
~sagar
http://vipinsagar.net
...i've to look back when I heard a gong! I could only see a huge cobweb and its shining, just got wonder, what the time it was…



--
~O_0~
~sagar
http://vipinsagar.net
...i've to look back when I heard a gong! I could only see a huge cobweb and its shining, just got wonder, what the time it was…
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users