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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Sles 10 SP1 as a guest under rhel5.1
From: "Fajar A. Nugraha" <fajar@xxxxxxxxxxxxx>
Date: Mon, 03 Dec 2007 16:31:33 +0700
Delivery-date: Mon, 03 Dec 2007 01:31:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4753CA27.1080408@xxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20071022)
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



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