search for: grubconf

Displaying 20 results from an estimated 33 matches for "grubconf".

Did you mean: grub_conf
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> g = Grub2ConfigFile(sys...
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 "/usr/lib/x...
2013 Oct 01
0
Bug#603391: Bug#603391: Workaround PyGrub issue
...general case of /dev/something. Right, in this context there isn't really a general case since for things to work with PV it has to be /dev/xvd*. The only other plausible option might be /dev/hd* which I'm happy to fault in as and when someone demonstrates this in practice. > # 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> &g...
2013 Sep 29
2
Bug#603391: Workaround PyGrub issue
...xen-utils-4.1 Version: 4.1.4-3+deb7u1 Architecture: amd64 Confirmed workaround: inside the guest, create /boot/grub/device.map (NOT devices.map) containing: (hd0) /dev/xvda run update-grub shutdown the guest and reboot it using PyGrub. It will now work. 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 "/usr/lib/xen-4.1/lib/python/grub/GrubCon...
2013 Jun 22
2
[PATCH] pygrub/GrubConf: fix boot problem for fedora 19 grub.cfg
...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 deletions(-) diff --git a/tools/pygrub/src/GrubConf.py b/tools/pygrub/src/GrubConf.py index 629951f..6324c62 100644 --- a/tools/pygrub/src/GrubConf.py +++ b/tools/pygrub/src/GrubConf.py @@ -427,6 +427,8 @@ class Grub2ConfigFile(_GrubConfigFile):...
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 "/usr/lib/xen-4.0/bin/pygrub", line 669, in <module> chosencfg = run_grub(file, entry, fs, incfg[&q...
2010 Nov 13
0
Bug#603391: pygrub: unintelligible error messages
...recent call last): File "/usr/lib/xen-4.0/bin/pygrub", line 671, in <module> data = fs.open_file(chosencfg["kernel"]).read() IOError: [Errno 2] No such file or directory # '/usr/lib/xen-4.0/bin/pygrub' '/dev/sda3' Using <class 'grub.GrubConf.GrubConfigFile'> to parse /boot/grub/menu.lst Traceback (most recent call last): File "/usr/lib/xen-4.0/bin/pygrub", line 669, in <module> chosencfg = run_grub(file, entry, fs, incfg["args"]) File "/usr/lib/xen-4.0/bin/pygrub", line 549, in run_gru...
2011 Oct 01
2
Bug#643953: xen-utils-4.0: pygrub can not parse empty "root" statement in menu.lst
...;args"]) File "./pygrub", line 549, in run_grub g = Grub(file, fs) File "./pygrub", line 205, in __init__ self.read_config(file, fs) File "./pygrub", line 413, in read_config self.cf.parse(buf) File "/usr/lib/xen-4.0/bin/../lib/python/grub/GrubConf.py", line 284, in parse self.add_image(GrubImage(title, img)) File "/usr/lib/xen-4.0/bin/../lib/python/grub/GrubConf.py", line 134, in __init__ _GrubImage.__init__(self, title, lines) File "/usr/lib/xen-4.0/bin/../lib/python/grub/GrubConf.py", line 87, in __init...
2011 Jul 14
1
PyGrub And Grub2 Submenus
...e 549, in run_grub g = Grub(file, fs) File "/usr/lib/xen-default/bin/pygrub", line 205, in __init__ self.read_config(file, fs) File "/usr/lib/xen-default/bin/pygrub", line 413, in read_config self.cf.parse(buf) File "/usr/lib/xen-4.0/bin/../lib/python/grub/GrubConf.py", line 400, in parse raise RuntimeError, "syntax error: closing brace without menuentry" RuntimeError: syntax error: closing brace without menuentry Looking at GrubConf.py, around line 400 we have this bit of logic: title_match = re.match(''^menuentry [&qu...
2013 Oct 10
1
[PATCH] pygrub: Support (/dev/xvda) style disk specifications
...f 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 deletion(-) create mode 100644 tools/pygrub/examples/debian-wheezy-hvm.grub2 diff --git a/tools/pygrub/examples/debian-wheezy-hvm.grub2 b/tools/pygrub/examples/debian-wheezy-hvm.grub2 new file mode 100644 index 0000000..b5ee9e2...
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.
2011 Dec 22
6
Error starting updated Debian servers
Hi all, After applying some updates onto a Debian web server, I rebooted it. However it will no longer start, and generates this error in XenCenter: 22/12/2011 09:57:45 Error: Starting VM ''Web Server'' - Using <class ''grub.GrubConf.Grub2ConfigFile''>; to parse /boot/grub/grub.cfg - WARNING:root:Unknown directive load_video - WARNING:root:Unknown directive terminal_output - Traceback (most recent call last): - File "/usr/bin/pygrub&quot;, line 746, in ? - raise RuntimeError, "Unable to find partition c...
2016 May 14
2
Bug#824341: wheezy-pu: update xen-utils-4.1 with patch to boot jessie/grub2 VMs
...2 in their VMs, they can't boot their VM. A rather trivial 1-line fix in the dom0 (host) system fixes the problem. Please advise if the release team would accept an upload to old-stable adding the following 1-line patch: https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;bug=783346;filename=GrubConf.py-jessie.patch;att=1 The bug report with the patch and discussion is: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783346 Note that if people are using XCP, they are stuck on wheezy for their dom0 because XCP was not included[1] in jessie, so they can't solve this issue by simply upgra...
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", line 746, in ?, raise RuntimeError, "Unable to find partition containing kernel", RuntimeErro...
2008 Sep 29
0
Bug#500557: xen-utils-3.0.3-1: pygrub boot not working
...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 named grub.GrubConf In addition to that, ext2 filesystem support is not compiled in: $ ls /usr/lib/xen-3.0.3-1/lib/python/grub/fsys __init__.py __init__.pyc This can be solved by adding e2fslibs-dev to the list of build deps. -- System Information: Debian Release: 4.0...
2016 May 14
1
Bug#824341: wheezy-pu: update xen-utils-4.1 with patch to boot jessie/grub2 VMs
...gt; A rather trivial 1-line fix in the dom0 (host) system fixes the problem. >> >> Please advise if the release team would accept an upload to old-stable >> adding the following 1-line patch: >> >> https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;bug=783346;filename=GrubConf.py-jessie.patch;att=1 > > Given that xen-utils-4.1 only exists on architectures that are covered > by wheezy-lts, is there a good reason not to handle the change via that > route? We're working towards EOLing wheezy now so generally aren't > taking new updates. > If I u...
2012 Jul 06
1
Bug#680479: xen-utils-4.0: pygrub does not support grub2 submenus
...Linu ii xen-hypervisor-4.0-amd64 [xen 4.0.1-5.2 The Xen Hypervisor on AMD64 Versions of packages xen-utils-4.0 suggests: pn xen-docs-4.0 <none> (no description available) -- no debconf information -------------- next part -------------- --- xen-4.0.1/tools/pygrub/src/GrubConf.py 2012-06-21 09:41:05.000000000 +0300 +++ xen-4.0.1/tools/pygrub/src/GrubConf.py 2012-07-06 10:55:37.000000000 +0300 @@ -368,6 +368,7 @@ in_function = False img = None title = "" + submenu = 0 for l in lines: l = l.strip()...
2010 Feb 18
2
backport upstream pygrub fixes to allow booting squeeze default install?
...le 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 pygrub: factor generic Grub functionality into GrubConf base classes 20486:6e32b7a3e802 pygrub: track the title of an item as an independant field 20487:c8caa281a75a pygrub: add basic support for parsing grub2 style grub.cfg file 20585:2636e5619708 pygrub: improve grub 2 support In addition I think the following needs to be added to tools-pygrub-prefix...
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
2015 Apr 26
9
Bug#783346: patch for booting Jessie domU with wheezy dom0
Package: xen-utils-4.1 Version: 4.1.4-3+deb7u4 Severity: serious Tags: patch dom0 running wheezy domU upgraded from wheezy to jessie. The domU doesn't boot any more, errors: Error code: Using <class 'grub.GrubConf.Grub2ConfigFile'> to parse /grub/grub.cfg Error parameters: Traceback (most recent call last):, File "/usr/lib/xcp/lib/pygrub.xcp", line 853, in <module>, raise RuntimeError, "Unable to find partition containing kernel", RuntimeError: Unable to find partition...