Displaying 20 results from an estimated 3000 matches similar to: "Bug#599243: xen-utils-4.0: pygrub does not understand grub2 partition types (e.g. (hd0, msdos1) instead of (hd0, 1))"
2010 Dec 13
0
Bug#599243: xen-utils-4.0: pygrub does not understand grub2 partition types (e.g. (hd0, msdos1) instead of (hd0, 1))
Please apply that patch to squeeze, otherwise you will not be able to
boot even a standard squeeze installation! Since there is no pv-grub in
squeeze I think it's quite important to fix it.
Cheers,
Darkbasic
2010 Nov 13
0
Bug#603391: pygrub: unintelligible error messages
Package: xen-utils-4.0
Version: 4.0.1-1
Severity: normal
File: pygrub
The pygrub awesome error messages are captured below.
Please tell me what pygrub was doing and why it failed.
I also don't understand why <image> is supposed to be an integer.
# '/usr/lib/xen-4.0/bin/pygrub' '--kernel=/vmlinuz'
'--ramdisk=/initrd.img' '/dev/sda3'
linux (kernel
2013 Sep 29
2
Bug#603391: Workaround PyGrub issue
Confirmed this issue. To reproduce: Install a fresh Wheezy AMD64 guest
under Xen 4.1 (hypervirtualized, boot from the
debian-7.1.0-amd64-CD-1.iso). Use "entire disk" automatic layout for
partitioning, this creates /dev/xvda1 for / and /dev/xvda5 for swap.
It will create /boot/grub/grub.cfg with many references to
(/dev/xvda,msdos1) which works fine when the machine is booted
2011 Oct 01
2
Bug#643953: xen-utils-4.0: pygrub can not parse empty "root" statement in menu.lst
Package: xen-utils-4.0
Version: 4.0.1-2
Severity: normal
Trying to get a system that I've long had runing on the bare metal to
boot as a VM, I discovered that pygrub would not parse my menu.lst. The
problematic entry is this:
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
pygrub's parser seems to
2013 Oct 01
0
Bug#603391: Bug#603391: Workaround PyGrub issue
On Sat, 2013-09-28 at 20:59 -0700, Tril wrote:
> Backtrace from manual run of the buggy GrubConf.py:
> # python /usr/lib/xen-4.1/lib/python/grub/GrubConf.py grub2 grub.cfg
> WARNING:root:Unknown directive load_video
> WARNING:root:Unknown directive terminal_output
> WARNING:root:Unknown image directive load_video
> Traceback (most recent call last):
> File
2013 Oct 01
2
Bug#603391: Bug#603391: Workaround PyGrub issue
Sorry didn't work. Aso it will only handle this special case, not the
general case of /dev/something.
# python GrubConf.py grub2 /home/tehadmin/snail-grub.cfg
WARNING:root:Unknown directive load_video
WARNING:root:Unknown directive terminal_output
WARNING:root:Unknown image directive load_video
Traceback (most recent call last):
File "GrubConf.py", line 467, in <module>
2013 Oct 01
0
Bug#603391: Bug#603391: Workaround PyGrub issue
On Tue, 2013-10-01 at 09:10 -0700, Tril wrote:
> Sorry didn't work.
Hrm, odd, it worked when based on the upstream xen-unstable tree.
Perhaps something else is needed against 4.1 for the backport to work.
> Aso it will only handle this special case, not the
> general case of /dev/something.
Right, in this context there isn't really a general case since for
things to work with
2011 Jul 14
1
PyGrub And Grub2 Submenus
I recently updated the kernel on an Ubuntu 11.04 PVM domU. The dom0 is an up
to date Debian Squeeze host (Xen 4.0.1). Attempting to start the domU after
this with xm create gives "Error: Boot loader didn''t return any data!". I
ran pygrub against the domU manually, I got the following:
Traceback (most recent call last):
File "/usr/lib/xen-default/bin/pygrub", line
2013 Oct 10
1
[PATCH] pygrub: Support (/dev/xvda) style disk specifications
You get these if you install Debian Wheezy as HVM and then try to convert to
PV.
This is Debian bug #603391.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Tested-by: Tril <tril@metapipe.net>
---
tools/pygrub/examples/debian-wheezy-hvm.grub2 | 104 +++++++++++++++++++++++++
tools/pygrub/src/GrubConf.py | 6 +-
2 files changed, 109 insertions(+), 1
2012 Jul 06
1
Bug#680479: xen-utils-4.0: pygrub does not support grub2 submenus
Package: xen-utils-4.0
Version: 4.0.1-5.2
Severity: important
Tags: upstream patch
pygrub in Debian Squueze does not support Grub2 submenus. At least
Ubuntu Precise uses a submenu for older kernel versions, so a Precise
domU with more than one kernel installed will be unbootable (without
manual fixes) on a Squeeze dom0.
Attached is a patch that adds submenu support to pygrub.
-- System
2013 Jun 22
2
[PATCH] pygrub/GrubConf: fix boot problem for fedora 19 grub.cfg
Booting a fedora 19 domU failed because a it could not properly
parse the grub.cfg file. This was cased by
set default="${next_entry}"
This statement actually is within an ''if'' statement, so maybe it would
be better to skip code within if/fi blocks...
But this patch seems to work fine.
---
tools/pygrub/src/GrubConf.py | 2 ++
1 files changed, 2 insertions(+), 0
2006 Oct 02
2
Bug#390678: pygrub import path is incorrect
Package: xen-utils-3.0.2-1
Version: 3.0.2-3+hg9762-1
>From /usr/lib/xen-3.0.2-1/lib/bin/pygrub:
> sys.path = [ '/usr/lib/python' ] + sys.path
>
> import grub.GrubConf
> import grub.fsys
But grub.GrubConf, for example, is
at /usr/lib/xen-3.0.2-1/lib/python/grub/GrubConf.py.
Fix: change the added sys.path entry to point
to /usr/lib/xen-3.0.2-1/lib/python.
2010 Jul 21
2
XCP vm installation issue
Hi,
For 10 times now i tried to install a VM in to my new XCP machine but
everytime i get the same error:
[root@xcp-digitog ~]# xe vm-start vm=Debian6
Error code: Using <class ''grub.GrubConf.Grub2ConfigFile''> to parse
/boot/grub/grub.cfg
Error parameters: WARNING:root:Unknown directive load_video, Traceback (most
recent call last):, File "/usr/bin/pygrub",
2008 Sep 29
0
Bug#500557: xen-utils-3.0.3-1: pygrub boot not working
Package: xen-utils-3.0.3-1
Version: 3.0.3-0-4
Severity: normal
Booting with pygrub doesn't work. First problem is the path to
libraries (/usr/lib/python is used instead of
/usr/lib/xen-3.0.3-1/lib/python):
$ /usr/lib/xen-3.0.3-1/bin/pygrub
Traceback (most recent call last):
File "/usr/lib/xen-3.0.3-1/bin/pygrub", line 25, in ?
import grub.GrubConf
ImportError: No module
2012 Oct 19
3
[PATCH] pygrub: Add option to list grub entries
# HG changeset patch
# Parent aa479945f718ff775c18afa2f37a391fca573114
# User carnold@suse.com
# Date 1350668686 21600
pygrub: Add option to list grub entries
The argument to "--entry" allows 2 syntaxes, either directly the entry number
in menu.lst, or the whole string behind the "title" key word. This poses the
following issue:
From Dom0 there is no way to guess the number
2013 Jun 26
1
[PATCH] pygrub: add fedora 19 grub.cfg example
This grub.cfg from a default fedora 19 Beta install
caused pygrub failures.The previous pygrub commit
fixed taht. So this example file added for reference.
Signed-off-by: Marcel Mol <marcel@mesa.nl>
---
tools/pygrub/examples/fedora-19.grub2 | 117 +++++++++++++++++++++++++++++++++
1 files changed, 117 insertions(+), 0 deletions(-)
create mode 100644 tools/pygrub/examples/fedora-19.grub2
2011 Oct 20
2
[PATCH] pygrub: do not overload RuntimeError for "no menu.lst found"
From: pbonzini@redhat.com
# HG changeset patch
# User Paolo Bonzini <pbonzini@redhat.com>
# Date 1319096986 -7200
# Node ID bd1f7361d3d7f4c767af21317fb4ec7ea1372f42
# Parent 1b110e895e285f43f14532e14c77597e54a0bcd2
pygrub will still try the next partition if run_grub exits with a
"real" error, thus hiding the root cause from the trace. Defining
a separate exception for "no
2012 Jul 19
2
[PATCH] pygrub: add syslog support to pygrub
# HG changeset patch
# User Zhigang Wang <zhigang.x.wang@oracle.com>
# Date 1342720736 14400
# Node ID ec9655b30a5fa5b5abb3e05505f681f9be559613
# Parent 43e21ce7f22151524b800a6cf0ac4ba1233b34a7
pygrub: add syslog support to pygrub
Currently, when pygrub failed, we don''t know the reason because xend/xl will
not capture the stderr message.
This patch will log the error message to
2010 Feb 18
2
backport upstream pygrub fixes to allow booting squeeze default install?
Hi Bastian,
I'd like to propose backporting the following changesets from upstream
xen-unstable into the xen-3 package. With these it is possible to boot a
default installation of Squeeze (using d-i) in a domU using pygrub.
20480:c2c2e67b8198 pygrub: if default entry is "saved" then use first entry.
20481:8f4e0adc2b3b pygrub: expands tabs before displaying menus.
20485:086a6a0c3f37
2008 Aug 03
1
Bug#493592: pygrub fails on lenny's ext3
Package: xen-utils-3.2-1
Version: 3.2.0-3~bpo4+2
Severity: normal
Hi,
pygrub has problems parsing block devices partitioned with Lenny Beta 2
and ext3 on paravirt guests:
# /usr/lib/xen-3.2-1/bin/pygrub /var/lib/xen/images/test2.img
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/bin/pygrub", line 653, in ?
chosencfg = run_grub(file, entry, fs)
File