search for: part_offs

Displaying 7 results from an estimated 7 matches for "part_offs".

Did you mean: part_offset
2014 Nov 20
0
Bug#745419: Bug#745419: xen-utils-4.1: Pygrub fails to boot from LVM LV when something installed in the volume boot record
...tition @@ -105,6 +106,7 @@ # offset == 0 implies this partition is not enabled if offset == 0: + offzerocount += 1 continue if type == FDISK_PART_SOLARIS or type == FDISK_PART_SOLARIS_OLD: @@ -123,6 +125,9 @@ else: part_offs.append(offset) + if offzerocount == 4: + # Might be a grub boot sector pretending to be an MBR + part_offs.append(0) return part_offs class GrubLineEditor(curses.textpad.Textbox): -------------- next part -------------- A non-text attachment was scrubbed... Name: signatu...
2012 Jun 08
18
[PATCH 0 of 4 RFC] Populate-on-demand: Check pages being returned by the balloon driver
Populate-on-demand: Check pages being returned by the balloon driver This patch series is the second result of my work last summer on decreasing fragmentation of superpages in a guests'' p2m when using populate-on-demand. This patch series is against 4.1; I''m posting it to get feedback on the viability of getting a ported version of this patch into 4.2. As with the previous
2015 Oct 21
0
Bug#753358:
...r able to boot any domUs via pygrub. As a test I've just pulled pygrub out of xen-tools-4.5 from experimental but I'm still getting the same error in the bootloader.log: ---- Traceback (most recent call last): File "/usr/lib/xen-4.4/bin/pygrub", line 809, in <module> part_offs = get_partition_offsets(file) File "/usr/lib/xen-4.4/bin/pygrub", line 106, in get_partition_offsets image_type = identify_disk_image(file) File "/usr/lib/xen-4.4/bin/pygrub", line 48, in identify_disk_image fd = os.open(file, os.O_RDONLY) OSError: [Errno 2] No such...
2012 Nov 09
1
.vhd will not boot in VM
...r snap shot belongs to which VM. The names all are blank when we look at the storage. Also, if I randomly mount an image to a VM, it does not boot. It produces an error that says: Traceback (most recent call last): - File "/usr/binpygrub", line 808, in ? - fs = fsimage.open(file,part_offs[0[, bootfsoptions) - IOError: [Errno 95] Operation not supported. The system kept the VM information as we destroyed the pool and then created a new one but it looks like we only see snapshots through XenCenter. Its like the real .vhd that were running are not showing up. I know it is pret...
2012 Jul 19
2
[PATCH] pygrub: add syslog support to pygrub
...else: + bootfsoptions = "" - # debug - if isconfig: - chosencfg = run_grub(file, entry, fs, incfg["args"]) - print " kernel: %s" % chosencfg["kernel"] + # get list of offsets into file which start partitions + part_offs = get_partition_offsets(file) + + for offset in part_offs: + try: + fs = fsimage.open(file, offset, bootfsoptions) + + chosencfg = sniff_solaris(fs, incfg) + + if not chosencfg["kernel"]: + chosencfg = sniff...
2018 May 27
1
Using libvirt to access Ceph RBDs with Xen
...r [183216] exited with error status 1 2018-05-27 11:24:36.667+0000: libxl: libxl_create.c:1259:domcreate_rebuild_done: cannot (re-)build domain: -3 /var/log/xen/bootloader.14.log: -> Traceback (most recent call last): File "/usr/lib64/xen/bin/pygrub", line 896, in <module> part_offs = get_partition_offsets(file) File "/usr/lib64/xen/bin/pygrub", line 113, in get_partition_offsets image_type = identify_disk_image(file) File "/usr/lib64/xen/bin/pygrub", line 56, in identify_disk_image fd = os.open(file, os.O_RDONLY) OSError: [Errno 2] No such file...
2015 Sep 18
0
Bug#753358: Bug#743977: drbd8: Xen resource script fails when using the xl stack
Hi, we are still experiencing this error on stable jessie with xen 4.4.1 and it does not appear to be fixed in that version at all. The actual error is: -- snip -- Traceback (most recent call last): File "/usr/lib/xen-4.4/bin/pygrub", line 809, in <module> part_offs = get_partition_offsets(file) File "/usr/lib/xen-4.4/bin/pygrub", line 106, in get_partition_offsets image_type = identify_disk_image(file) File "/usr/lib/xen-4.4/bin/pygrub", line 48, in identify_disk_image fd = os.open(file, os.O_RDONLY) OSError: [Errno 2] No...