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

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



On Tue, 2013-10-01 at 09:55 +0100, Wei Liu wrote:
> On Mon, Sep 30, 2013 at 09:39:31PM +0200, Aastha Mehta wrote:
> > On 30 September 2013 14:50, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
> > > On Fri, Sep 27, 2013 at 07:19:25PM +0200, Aastha Mehta wrote:
> > > [...]
> > >>
> > >> Sorry, I am going around in circles :(
> > >> As you suggested to first try with stock kernel, I was trying to create a
> > >> baseline VM. And I am missing something somewhere.
> > >>
> > >
> > > OK, does your baseline VM boot? Make sure it boots before using your
> > > kernel.
> > >
> > >> I added path to modified kernel and initrd in the config file, and then
> > >> this is what happens:
> > >>
> > >
> > > Looks like there's something wrong with hotplug scripts.
> > >
> > > This page contains useful info on how to collect necessary info.
> > >
> > > http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen
> > >
> > > Wei.
> > 
> > No, I am not even able to boot my baseline VM (specifying only the
> > mirror and no modified kernel). This is the error I get:
> > Parsing config from /etc/xen/precise-guest.cfg
> > libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader
> > failed - consult logfile /var/log/xen/bootloader.3.log
> > libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
> > bootloader [19273] exited with error status 1
> > libxl: error: libxl_create.c:900:domcreate_rebuild_done: cannot
> > (re-)build domain: -3
> > 
> > And /var/log/xen/bootloader.3.log contains:
> > File "/usr/lib/xen-default/bin/pygrub", line 763 in <module>
> >    raise RuntimeError, "Unable to find partition containing kernel"
> > 
> 
> I don't think xen-create-image adds pygrub, does it?

It seems to depend on the distro, from xen-create-image:
    #  Lucid and probably all later Ubuntus, too, don't work without pygrub
    #
    if ( $CONFIG{ 'dist' } =~ /lucid|maverick|natty|oneiric|precise|quantal/ )
    {
        $CONFIG{ 'pygrub' } = 1;
    }

xl -vvv create should give us the bootloader command line used, which
will be helpful.

Ian.


_______________________________________________
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®.