[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.