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

Re: [Xen-users] Booting pv-ready distro installer.iso as Xen PV DomU drops to grub prompt?



On Wed, 2015-04-15 at 10:06 -0700, lyndat3@xxxxxxxxxxxxx wrote:
> > > There is some sort of grub helper with standalone in the name (can't
> > > remember exactly what right now) which I think is a kitchen sink variant
> > > of grub-mkimage -- might be the easiest approach.
> > 
> > There is a grub2-mkstandalone.
> > 
> > I've seen it used in some posts, but noticed that it was NOT in yours.
> > 
> > I wasn't sure what the difference was , so just followed your advice.
> > 
> > If it's a 'kitchen sink', I'll take another look at it like you suggest.
> 
> I've looked into the available binary.
> 
> grub2-mkstandalone does not have the equivalent of the 
> 
>  -c grub-bootstrap.cfg
>  -m memdisk.tar
> 
> options you use in your guide.
> 
> Its manpage mentions
> 
> "SOURCE"
> 
> which may be ? the config file?
> 
> It also mentions
> 
>     "Graft point syntax (E.g. /boot/grub/grub.cfg=./grub.cfg) is accepted"
> 
> I have no idea what that means, and what to do with it here in the Xen use 
> case.

Me neither, I'm afraid I've not tried to use mkstandalone. If it lacks
the -c option then perhaps it isn't the right thing to be using in the
first place.

Another alternative is that when running grub-mkimage you can give it a
list of modules to build in, so you could try listing linuxefi at that
point.

My guide does something similar in the "Creating a basic pvgrub2 image"
case, using the full path and a wildcard (which ought to include
everything I think).

It doesn't do it in the other example, I'm not sure why it wasn't
needed.

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