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] dom U illegal kernel path

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] dom U illegal kernel path
From: Felix Kuperjans <felix@xxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Sep 2010 09:47:04 +0200
Delivery-date: Wed, 29 Sep 2010 00:48:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimch2MwddZth1-4jpEF8SsdTsz-8bz4wXZNVbWN@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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimch2MwddZth1-4jpEF8SsdTsz-8bz4wXZNVbWN@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100909 Lanikai/3.1.3
Sorry but the slackware.13-0.x86.xen3.cfg configuration options were not used properly:
  • You shall remove the kernel and ramdisk options as soon as you use the bootloader option (the root option is ignored, too)
  • The bootloader option must point to the pygrub executable
  • Your kernel option can't load the kernel because it is not lying in Domain-0's filesystem. This is why XEN returns this error message.
  • Your disk-Array contains /dev/sda1 twice. This must be two different devices like /dev/sda1 and /dev/sda2.
You should read http://wiki.xensource.com/xenwiki/PyGrub for more information on pygrub. Note that the path given in this Wiki has never been right for my setups, try executing those commands to find the binary:
find /usr/lib -name pygrub
and if this does not work
find /usr -name *pygrub*
If you can't find it, ensure that XEN was compiled / installed with pygrub.

Regards,
Felix

Am 29.09.2010 08:20, schrieb kibirango moses:

Hullo everybody

I want to install a guest slackeware guest OS on a VM for xenserver 5.6 . I have created logical volumes , mounted the slackware 13 image and copied the /lib/modules and below are my configurations.

 [root@virtualintranet /]# uname -r

2.6.27.42-0.1.1.xs5.6.0.44.111158xen

Grub Configs:

[root@virtualintranet grub]# cat grub.conf

default=0

timeout=10

title vmlinuz-2.6.18.8-xenU

root (hd0,0)

kernel /boot/vmlinuz-2.6.18.8-xenU console=xvc0 root=/dev/sda1 ro

initrd-2.6.27

[root@virtualintranet etc]# cat slackware.13-0.x86.xen3.cfg

#kernel = "/boot/vmlinuz-2.6-xen"

name = "slackware.13-0"

dhcp = "dhcp"

memory=2048

disk = ['phy:/dev/loop0,hdc:cdrom,r','phy:/dev/XenVG/root,sda1,w','phy:/dev/XenVG/swap,sda1,w']

vif = [ ' bridge=eth2', ]

#vfb = [ 'type=vnc,vncunused=1' ]

bootloader = "/boot/grub/grub.conf"

kernel = "/boot/vmlinuz-2.6.18.8-xenU"

ramdisk ="/boot/initrd-2.6.27.42-0.1.1.xs5.6.0.44.111158xen.img"

#ip = "ip.address"

#gateway = "gateway"

#netmask = "255.255.255.0"

vcpus=1

root = "/dev/sda1 ro"

style="">  "restart"

 

[root@virtualintranet /]# xe vm-create name-label=PVG3

ddab4cd3-046b-aa6a-0d62-a0535852fdf5

[root@virtualintranet /]# xe vm-start vm=ddab4cd3-046b-aa6a-0d62-a0535852fdf5

Caller not allowed to perform this operation.

message: illegal kernel path

 

I want to use grub.conf  b’se  I cannot find the menu.lst file as well as the usr/bin/pygrub  . how can I go over this are there any other configurations to make ? Is there any mistake in my configurations

 

thanx

_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>