<div dir="ltr"><div><div>I set this up on a vps running gentoo. you dont need any parts of the grub legacy at all.<br><br></div>All you need to do is create /boot/grub/menu.lst and that is sufficient for pv grub.<br><br></div>

difference between pvgrub vs pygrub <br><br>and im quoting from <a href="http://lists.xen.org/archives/html/xen-users/2012-05/msg00075.html">http://lists.xen.org/archives/html/xen-users/2012-05/msg00075.html</a><br><br>"PyGrub copies the DomU kernel and initrd from the DomU filesystem image 
to Dom0 and then creates a new domain using that kernel. This means that
 PyGrub manipulates the DomU filesystem and files from within Dom0 which
 is a potential security issue if someone can find a flaw in the code 
and craft (for example) a malicious filesystem or menu.lst.<br>


<br>
PvGrub executes within the newly created DomU environment."<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 15, 2014 at 10:13 PM, Axel Beckert <span dir="ltr"><<a href="mailto:abe@deuxchevaux.org" target="_blank">abe@deuxchevaux.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On Sun, Jun 15, 2014 at 10:02:25PM +0200, Jonathan Aquilina wrote:<br>
> On Sun, Jun 15, 2014 at 9:39 PM, Axel Beckert <<a href="mailto:abe@deuxchevaux.org">abe@deuxchevaux.org</a>> wrote:<br>
> > I've never used pvgrub yet, so I wasn't in the need of implementing<br>
> > support in xen-tools for it yet.<br>
> ><br>
> > But if someone has a patch for that, I'd be happy and very likely<br>
> > accept that patch.<br>
><br>
> Its actually very easy to implement. you need a menu.lst in grub 1<br>
> format<br>
<br>
xen-tools already does exactly that for pygrub. So is there actually<br>
a difference other than pygrub runs in Dom0 context and pvgrub in DomU<br>
context.<br>
<br>
> and that is it the only thing that im not sure how you could<br>
> automate with xen tools is when a new kernel is released and when<br>
> you pull the kernel for that distro into your new xen image how you<br>
> would update the menu.lst.<br>
<br>
update-grub, but not grub1 itself may suffice. I can check.<br>
<br>
> For pvgrub you do not need the full grub legacy install.<br>
<br>
Neither do you for pygrub. But I haven't checked yet what parts you<br>
can drop and if e.g. Debian's grub-common package suffices.<br>
<br>
                Kind regards, Axel<br>
<span class="HOEnZb"><font color="#888888">--<br>
/~\  Plain Text Ribbon Campaign                   | Axel Beckert<br>
\ /  Say No to HTML in E-Mail and News            | <a href="mailto:abe@deuxchevaux.org">abe@deuxchevaux.org</a>  (Mail)<br>
 X   See <a href="http://www.nonhtmlmail.org/campaign.html" target="_blank">http://www.nonhtmlmail.org/campaign.html</a> | <a href="mailto:abe@noone.org">abe@noone.org</a> (Mail+Jabber)<br>
/ \  I love long mails: <a href="http://email.is-not-s.ms/" target="_blank">http://email.is-not-s.ms/</a> | <a href="http://noone.org/abe/" target="_blank">http://noone.org/abe/</a> (Web)<br>
_______________________________________________<br>
xen-tools-discuss mailing list<br>
<a href="mailto:xen-tools-discuss@xen-tools.org">xen-tools-discuss@xen-tools.org</a><br>
<a href="https://xen-tools.org/mailman/listinfo/xen-tools-discuss" target="_blank">https://xen-tools.org/mailman/listinfo/xen-tools-discuss</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Jonathan Aquilina
</div>