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] Sles 10 SP1 as a guest under rhel5.1 (solved)

Subject: Re: [Xen-users] Sles 10 SP1 as a guest under rhel5.1 (solved)
From: carlopmart <carlopmart@xxxxxxxxx>
Date: Mon, 03 Dec 2007 12:21:54 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Dec 2007 03:22:44 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=Nr050OvHpLdDh6zCXsb7Lr5j3a+CU7L2oz9q15lqNy8=; b=TjzPA5S/jchv9tUjkYAcdP9XJpJPCQVLwUrAyXNJSUUyczmy2GLV+ooU09i2/hL+MlOzPLEOgxi/kVuo8avYWicKcsrxGG0Yp0pcCX3jG+nNkmCeHiQaR5oD1E7T+qFRyI9fBW7d1ezp5PtpFHF585ypQohOv573qteezdyenlQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:user-agent:mime-version:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=GU5a+x52x//oYXohWQDvUGZXWUKiYVuP07nsNJVA+nu4u7dPyV+Wl0dPfdjCKJ2JLZC/NWWaKJp6gGiHHJ5Qj+aCo+/tS0TClY8HN1CaTJiLNMOhlL+Ry29sM5urdv9BXoED3pntoi5SPU3LvHKK7M0gHBPm+Hlip1tn2+NdwSQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4753CCF5.4050708@xxxxxxxxxxxxx>
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: <4753CA27.1080408@xxxxxxxxx> <4753CCF5.4050708@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (X11/20071031)
Fajar A. Nugraha wrote:
carlopmart wrote:
Hi all,

Somebody have tried to install SLES 10 SP1 as a para-virtualized guest
under a RHEL 5.1 xenhost?? I have do it a clean install of SLES 10
SP1, but when installation is finished and I want to start sles guest,
pygrub returns me this error:

xm create /etc/xen/slesips
Using config file "/etc/xen/slesips".
Traceback (most recent call last):
 File "/usr/bin/pygrub", line 651, in ?
   fs = fsimage.open(file, get_fs_offset(file))


My cfg file for sles guest is:

kernel = "/boot/vmlinuz-2.6.16.46-0.12-xenpae"
ramdisk = "/boot/initrd-2.6.16.46-0.12-xenpae"
bootloader = "/usr/bin/pygrub"

You need either :
- kernel and (optionally) a ramdisk line, OR
- bootloader line
on domU's config file. Your cfg file has both, and (from the error log)
pygrub is active.

Depending on how you install your domU :
- you should have /boot/grub/menu.lst on domU's filesystem, in which
case you should use grub and comment out the kernel and ramdisk line, OR
- Copy SLES's kernel and initrd to dom0 (in your config that will be
/boot), and try comment out the bootloader line.

Regards,

Fajar

Thanks Fajar, but the problem was grub setup during installation .. Grub needs to be changed to "install on boot partition" ....



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



--
CL Martinez
carlopmart {at} gmail {d0t} com

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