Displaying 20 results from an estimated 2000 matches similar to: "Bug#643953: xen-utils-4.0: pygrub can not parse empty "root" statement in menu.lst"
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
2010 Oct 06
1
Bug#599243: xen-utils-4.0: pygrub does not understand grub2 partition types (e.g. (hd0, msdos1) instead of (hd0, 1))
Package: xen-utils-4.0
Version: 4.0.1-1
Severity: normal
Tags: patch
pygrub could not boot a newly-updated Debian/testing domU with a non-chained grub2. The traceback was:
Using <class 'grub.GrubConf.Grub2ConfigFile'> to parse /grub/grub.cfg
WARNING:root:Unknown directive load_video
WARNING:root:Unknown directive terminal_output
Traceback (most recent call last):
File
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 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
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 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 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
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
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 Aug 15
2
trouble launching vm''s
Hello,
I must be missing something very very basic. Because I am having
trouble launching some vm''s that I recently built whereas I don''t have
any problem at all launching some older images I made in very much the
same way!
First there is vm01 which works just fine:
[root@lcent5-1:/etc/xen]$:xm create vm01
Using config file "./vm01".
Started domain vm01
2010 Aug 15
2
trouble launching vm''s
Hello,
I must be missing something very very basic. Because I am having
trouble launching some vm''s that I recently built whereas I don''t have
any problem at all launching some older images I made in very much the
same way!
First there is vm01 which works just fine:
[root@lcent5-1:/etc/xen]$:xm create vm01
Using config file "./vm01".
Started domain vm01
2010 Jun 28
3
"couldn''t find bootloader config file in the image provided."
I attempted to install Ubuntu 10.04 as a domU on my CentOS dom0. The process I used was:
wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/xm-debian.cfg
Edited the config file to use the proper logical volume for its install, and stepped through the install, installed GRUB to the MBR, and all seemed well.
However, upon
xm create -c NAME
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
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 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
2012 Sep 06
4
[PATCH] pygrub: always append --args
# HG changeset patch
# User Olaf Hering <olaf@aepfle.de>
# Date 1346945306 -7200
# Node ID 8a2eef481d3ab3ca5692dd0083c95cf314fe1da3
# Parent 19d367bf07b7687b831c212a57a70e73ea14d3b7
pygrub: always append --args
If a bootloader entry in menu.lst has no additional kernel command line
options listed and the domU.cfg has ''bootargs="--args=something"'' the
additional
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.
2007 Nov 08
0
pygrub fails to load sometimes?? memory leak??
Preamble:
dom0: Xen 3.0.4 running on Ubuntu 6.06 x86_64.
domU: Xen 3.0.4 or 3.1.0 kernel booting from host pygrub. File backed.
-------------
I am having this strange problem getting pygrub to load consistently.
When I start a domU, I sometimes get this.
Error: Boot loader didn''t return any data!
... and nothing else. When I look in the xend-debug.log log, I see this.
2007 Jan 05
10
[PATCH 1/7] Fix pygrub path on Solaris
Fix for pygrub path on Solaris.
Signed-off-by: John Levon <john.levon@sun.com>
diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py
+++ b/tools/python/xen/xend/XendDomainInfo.py
@@ -37,7 +37,7 @@ from xen.util.blkif import blkdev_uname_
from xen.util.blkif import blkdev_uname_to_file
from xen.util