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

Re: [Xen-users] question regarding booting custom guest kernel



On Fri, Sep 27, 2013 at 07:03:48PM +0200, Aastha Mehta wrote:
> On 27 September 2013 18:53, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
> 
> > On Fri, Sep 27, 2013 at 06:46:06PM +0200, Aastha Mehta wrote:
> > [...]
> > >
> > >
> > > This is successful and I have a config file that looks like this -
> > > <config>
> > > bootloader = '/usr/local/lib/xen/bin/pygrub'
> >
> > Why do you add this line? Why don't you just use the generated config
> > file? AIUI Pygrub expects a disk, while xen-create-image creates
> > partitions. No wonder you sees something like "unable to find partition
> > table".
> >
> > Wei.
> >
> 
> Because, without mentioning this, I get the error that I need to provide
> either a path to the kernel image or a bootloader.
> 

Then provide your modified kernel and initrd -- isn't that exactly what
you wanted?

You'd better have a look at some example configs.

> # xl create /etc/xen/precise-guest.cfg
> Parsing config from /etc/xen/precise-guest.cfg
> Neither kernel nor bootloader specified
> 
> 
> -- 
> Aastha Mehta
> MPI-SWS, Germany
> E-mail: aasthakm@xxxxxxxxxxx <aasthakm@xxxxxxxxx>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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