search for: getbootstr

Displaying 3 results from an estimated 3 matches for "getbootstr".

2009 May 01
5
PyGrub + ZFS: getbootstring. How it works?
I have NexentaCP2 (Opensolaris b104+). Parameters for the kernel: ''zfs-bootfs=syspool/rootfs-nmu-000,bootpath=/xpvd/xdf@0:a'' Pygrub returns: ''zfs-bootfs=syspool/30,bootpath=/xpvd/xdf@0:a'' Result: Boot with pygrub don''t work. What is "30" in syspool/30 ? _______________________________________________ Xen-users mailing list
2008 Aug 25
3
Problem: when I am trying to create a PV guest on DQ35
When I am trying to create a PV guest on DQ35, i am getting following error: >xm create CENTOS_PV.cfg -c Traceback (most recent call last): File "/usr/bin/pygrub", line 680, in ? zfsinfo = fsimage.getbootstring(fs) AttributeError: ''module'' object has no attribute ''getbootstring'' Error: Boot loader didn''t return any data! PV guest configuration file: CENTOS_PV.cfg name = "CENTOS_PV_GUEST" #kernel = "/mnt/temp/images/xen/vmlinuz" #ra...
2012 Jul 19
2
[PATCH] pygrub: add syslog support to pygrub
...t;] - bootfsgroup = re.findall(''zfs-bootfs=(.*?)[\s\,\"]'', bootfsargs) - if bootfsgroup: - bootfsoptions = bootfsgroup[0] - else: - bootfsoptions = "" + args = None + if chosencfg["args"]: + zfsinfo = fsimage.getbootstring(fs) + if zfsinfo is not None: + e = re.compile("zfs-bootfs=[\w\-\.\:@/]+" ) + (chosencfg["args"],count) = e.subn(zfsinfo, chosencfg["args"]) + if count == 0: + chosencfg["args"] +=...