Displaying 20 results from an estimated 1000 matches similar to: "Bug#603391: pygrub: unintelligible error messages"
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
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
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
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
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
2011 Feb 26
0
Bug#603391: pygrub: unintelligible error messages
The image argument to pygrub does not need to be an integer.
The "invalid literal for int()" error probably means that your menu.lst
contains something like "root=(/dev/sda)". The root should be specified
in grub notation like "root=(hd0)".
You might want to have a look at /boot/grub/devices.map. To map /dev/sda
to hd0, you could add an entry like:
(hd0) /dev/sda
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
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
2013 Jun 20
0
Bug#603391: pygrub: unintelligible error messages
This indeed still happens with xen-utils-4.1 4.1.4-3+deb7u1
Additionally, the problem is hard to figure out (as it simply excepts with
"RuntimeError: Unable to find partition containing kernel", which it does
in many other cases as well; perhaps it should collect other caught
exceptions for debug purposes).
The grub.cfg, in my case, was generated by update-grub (from inside the
guest)
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
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
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
2009 Jan 08
1
PV Clone
I''ve followed the howto at
virtuatopia.com<http://www.virtuatopia.com/index.php/Building_a_Xen_Virtual_Guest_Filesystem_on_a_Disk_Image_%28Cloning_Host_System%29>to
clone existing machines, then create them as PV guests. It has worked
a
couple of times for me, but I''ve run into a problem I don''t understand. When
I run "xm create name", I get an error that