On Wed, 31 Oct 2018 17:13:10 +0100 Hans van Kranenburg <[email protected]> wrote:
On 10/31/2018 08:49 AM, Dimitar Angelov wrote:
> On Wed, 31 Oct 2018 00:47:46 +0100 Hans van Kranenburg
> <[email protected]> wrote:
>> Hi,
>>
>> I see that there's no /usr/lib/xen-4.11/bin/pygrub indeed, and that's
>> something that sounds wrong. Apparently, noone involved in helping
>> getting Xen 4.11 into Debian so far has been a pygrub user.
>>
>> So... thanks for reporting, and thanks for trying out the new packages.
>>
>> I suspect it's rather obvious there's a problem, since there's no pygrub
>> file at all, so we have to find out why and how it can be fixed.
>>
> > Missing pygrub stops booting paravirtualized Debian guests with
> grub-legacy.
> Can you suggest how to workaround?

The quickest way, for now, would be to get it from the source package,
and put the pygrub file from it in /usr/lib/xen-4.11/bin:

https://sources.debian.org/data/main/x/xen/4.11.1~pre.20180911.5acdd26fdc+dfsg-5/tools/pygrub/src/pygrub

Hans




Thank you for reply.
I've copied pygrub from source package to /usr/lib/xen-4.11/bin, but now receive following error:

Traceback (most recent call last):
  File "/usr/lib/xen-4.11/bin/pygrub", line 23, in <module>
    import fsimage
ImportError: No module named fsimage

I also can mention something other, when creating PV VM using xen-create-image it reports: warning: something called deprecated script /usr/lib/xen-common/bin/xen-toolstack


The command is:
xen-create-image \
   --hostname=test2 --memory=1gb -vcpus=1 \
   --lvm=vg0 --size=10gb --noswap \
   --pygrub \
   --fs=ext4 \
   --dist=stretch \
   --role=udev \
   --gateway=10.10.10.1 --ip=10.10.10.12 --netmask=255.255.254.0 \
   --bridge=xenbr0 \


Regards,

Dimitar Angelov

Reply via email to