From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: [help] How to install xen with my own kernel on grub2? Date: Sat, 13 Jul 2013 17:57:28 +0100 Message-ID: <20130713165728.GA30853@zion.uk.xensource.com> References: <11CA63AF-3762-4C7E-AF41-D41C6B8B8F3F@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Li Yechen Cc: wei.liu2@citrix.com, Meng , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Sat, Jul 13, 2013 at 09:35:45PM +0800, Li Yechen wrote: > Hi Meng, > > > Grub2 script checks the Xen options of each Linux kernel's configuration > > file under /boot. If no such config, it won't create the relative entry. > > You can have a look at the 20_linux_xen script under /etc/grub.d/ to get > > more details. > > > Thank you very for your advice! I does not find the config as you said. > Anyway I write a menuentry manually and now it seems to work. > > but then when I try to start xend, an error come out as: > > File "/usr/sbin/xend", line 36, in > from xen.xend.server import SrvDaemon > File "/usr/lib64/python2.7/site-packages/xen/xend/server/SrvDaemon.py", > line 20, in > import xen.lowlevel.xc > ImportError: libxenctrl.so.4.2: cannot open shared object file: No such > file or directory > > I think my steps to install xen is right. Google says that it's something > wrong with lib64. > > I never meet this error before in CentOS. Do you have any ideas? > > You probably need to edit /etc/ld.so.conf and run 'ldconfig' to tell the dynamic linker to pick up the newer installed libraries. Wei. > > > > On Sat, Jul 13, 2013 at 12:02 PM, Meng wrote: > > > Hi Yechen, > > > > Grub2 script checks the Xen options of each Linux kernel's configuration > > file under /boot. If no such config, it won't create the relative entry. > > > > You can have a look at the 20_linux_xen script under /etc/grub.d/ to get > > more details. > > > > Best, > > > > Meng > > > > --- > > Meng Xu > > Phd Candidate in Computer and Information Science > > University of Pennsylvania > > > > > -- > Yechen Li > > Team of System Virtualization and Cloud Computing > School of Electronic Engineering and Computer Science, > Peking University, China > > Nothing is impossible because impossible itself says: " I'm possible " > lccycc From PKU > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel