The first solution to this problem to come along was. pygrub. pygrub is an application (written in Python) which. can be used by the Xen toolstack in domain 0 as a kind of. pseudo-bootloader. pygrub will open the guest file system (using a. userspace filesystem access library), extract a configuration file,