Displaying 15 results from an estimated 15 matches for "grubcfg".
2012 Sep 06
4
[PATCH] pygrub: always append --args
...guments from the config file are not passed to the kernel.
The reason for that incorrect behaviour is that run_grub appends arg
only if the parsed config file has arguments listed.
Fix this by appending args from image section and the config file separatly.
To avoid adding to a NoneType initialize grubcfg[''args''] to an empty string.
This does not change behaviour but simplifies the code which appends the
string.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
diff -r 19d367bf07b7 -r 8a2eef481d3a tools/pygrub/src/pygrub
--- a/tools/pygrub/src/pygrub
+++ b/tools/pygrub/src/pygrub...
2010 Jun 30
1
(no subject)
>From 1db8a8919482dbed4cc15509d8078b2f16a289bb Mon Sep 17 00:00:00 2001
From: Gert Hulselmans <gerth at zytor.com>
Date: Wed, 30 Jun 2010 14:10:23 +0200
Subject: [PATCH] chain.c32: add grubcfg= for passing an alternative config
filename to GRUB Legacy
GRUB Legacy reserves 89 bytes for storing the filename of the configfile
from memory address 0x8217 to 0x826f.
We allow overwriting the default value (/boot/grub/menu.lst) when
grubcfg=<filename> is used together with grub=<loader...
2010 Jun 30
0
[PATCH] chain.c32: add grubcfg= for passing an alternative config
filename to GRUB Legacy
GRUB Legacy reserves 89 bytes for storing the filename of the configfile
from memory address 0x8217 to 0x826f.
We allow overwriting the default value (/boot/grub/menu.lst) when
grubcfg=<filename> is used together with grub=<loader>.
Examples:
chain.c32 fs grub=/boot/grub/stage2 grubcfg=/boot/grub/grub.lst
chain.c32 hd1,10 grub=/boot/grub/stage2 grubcfg=/boot/grub/grub.lst
Signed-off-by: Gert Hulselmans <gerth at zytor.com>
---
com32/modules/chain.c | 50...
2010 Dec 21
2
[PATCH] chain.c32: support chainloading GRUB2 core.img
...home dir" than the standard /boot/grub
GRUB2 doesn't allow to change the configfile 'grub.cfg' name itself (I
can't find it uncompressed).
Usage with GRUB2: chain.c32 grub=/boot/grub2/core.img grub2dir=/boot/grub2
hd1,6
Usage with GRUB Legacy: chain.c32 grub=/boot/grub/stage2
grubcfg=/boot/grub/grub.lst hd0,2
Remarks are welcome.
Testers too.
diff is also attached.
- Gert Hulselmans
diff -urp syslinux-4.03/com32/modules/chain.c
syslinux-4.03-chain-grub2/com32/modules/chain.c
--- syslinux-4.03/com32/modules/chain.c 2010-10-20 21:25:38.000000000 +0200
+++ syslinux-4.03-chain...
2011 Mar 19
1
Dual-booting VMware and chainbooting GRUB
...The bootable FAT partition is too smal
to have kernels in it. As a fallback I tried to chain-load GRUB,
but that did not work.
Here's the syslinux.cfg:
DEFAULT linux
PROMPT 1
TIMEOUT 50
LABEL linux
COM32 chain.c32
APPEND hd1
LABEL grub
COM32 chain.c32
APPEND hd1 1 grub=/grub/stage2 grubcfg=/grub/grub.conf
LABEL grub2
COM32 chain.c32
APPEND fs grub=stage2.dat grubcfg=menu.lst
LABEL grub3
COM32 chain.c32
APPEND hd0 4 grub=stage2.dat grubcfg=menu.lst
LABEL vmware
COM32 safeboot.c32
None of the above works except the VMware. Chainloading hd1 ("linux")
ends with...
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
2013 Jul 18
3
Chaining with chain.c32 from syslinux 6.01 error
Hi,
?
? I have a bootable usb with syslinux 5.10 on wich the following?code is working ok.
??? LABEL -
?? MENU LABEL GRUB LEGACY
?? MENU INDENT 1
???? COM32 chain.c32
???? APPEND boot fs grub=/boot/grub-legacy/stage2 grubcfg=/boot/grub-legacy/grub-legacy.cfg nohand nosect
?
?After upgrading to syslinux 6.01 (using bios) I receive the following errors when selecting that menu option :
?
? ERR: Primary partition (in MBR) with invalid offset and/or length.
? ERR: Cant't find myself on the drive I booted from.
?
?I men...
2013 Jul 22
2
Chaining with chain.c32 from syslinux 6.01 error
...e:
> > Hi,
> > ?
> > ? I have a bootable usb with syslinux 5.10 on wich the following?code is working ok.
> > ??? LABEL -
> > ?? MENU LABEL GRUB LEGACY
> > ?? MENU INDENT 1
> > ???? COM32 chain.c32
> > ???? APPEND boot fs grub=/boot/grub-legacy/stage2 grubcfg=/boot/grub-legacy/grub-legacy.cfg nohand nosect
> > ?
> > ?After upgrading to syslinux 6.01 (using bios) I receive the following errors when selecting that menu option :
> > ?
> > ? ERR: Primary partition (in MBR) with invalid offset and/or length.
> > ? ERR: Cant'...
2013 Jul 22
1
Chaining with chain.c32 from syslinux 6.01 error
...te:
>> Hi,
>>
>> I have a bootable usb with syslinux 5.10 on wich the following code is working ok.
>> LABEL -
>> MENU LABEL GRUB LEGACY
>> MENU INDENT 1
>> COM32 chain.c32
>> APPEND boot fs grub=/boot/grub-legacy/stage2 grubcfg=/boot/grub-legacy/grub-legacy.cfg nohand nosect
>>
>> After upgrading to syslinux 6.01 (using bios) I receive the following errors when selecting that menu option :
>>
>> ERR: Primary partition (in MBR) with invalid offset and/or length.
>> ERR: Cant'...
2013 Jul 22
0
Chaining with chain.c32 from syslinux 6.01 error
...8 Jul, at 01:22:04PM, Adrian Irimia wrote:
> Hi,
> ?
> ? I have a bootable usb with syslinux 5.10 on wich the following?code is working ok.
> ??? LABEL -
> ?? MENU LABEL GRUB LEGACY
> ?? MENU INDENT 1
> ???? COM32 chain.c32
> ???? APPEND boot fs grub=/boot/grub-legacy/stage2 grubcfg=/boot/grub-legacy/grub-legacy.cfg nohand nosect
> ?
> ?After upgrading to syslinux 6.01 (using bios) I receive the following errors when selecting that menu option :
> ?
> ? ERR: Primary partition (in MBR) with invalid offset and/or length.
> ? ERR: Cant't find myself on the driv...
2013 Jul 22
0
Chaining with chain.c32 from syslinux 6.01 error
...e:
> > Hi,
> > ?
> > ? I have a bootable usb with syslinux 5.10 on wich the following?code is working ok.
> > ??? LABEL -
> > ?? MENU LABEL GRUB LEGACY
> > ?? MENU INDENT 1
> > ???? COM32 chain.c32
> > ???? APPEND boot fs grub=/boot/grub-legacy/stage2 grubcfg=/boot/grub-legacy/grub-legacy.cfg nohand nosect
> > ?
> > ?After upgrading to syslinux 6.01 (using bios) I receive the following errors when selecting that menu option :
> > ?
> > ? ERR: Primary partition (in MBR) with invalid offset and/or length.
> > ? ERR: Cant'...
2013 Jul 22
4
Chaining with chain.c32 from syslinux 6.01 error
...:
> > Hi,
> > ?
> > ? I have a bootable usb with syslinux 5.10 on wich the following?code is working ok.
> > ??? LABEL -
> > ?? MENU LABEL GRUB LEGACY
> > ?? MENU INDENT 1
> > ???? COM32 chain.c32
> >
???? APPEND boot fs grub=/boot/grub-legacy/stage2 grubcfg=/boot/grub-legacy/grub-legacy.cfg nohand nosect
> > ?
> > ?After upgrading to syslinux 6.01 (using bios) I receive the following errors when selecting that menu option :
> > ?
> > ? ERR: Primary partition (in MBR) with invalid offset and/or length.
> > ? ERR: Cant'...
2010 Jul 26
5
[RFC/PATCH] New chainloading functionality
This patch introduces extra functionality to chain.c, mainly with reference to
BPB adjustments, but not only that. It expects 3 small patches I sent earlier
(they are included for easy reference, patches 1-3/4).
The changes introduced are:
1) file and boot sector use separate options to control load address and jump
address (if applicable). Options are as described below:
*
2012 Nov 06
50
chain.c32 (and partiter) updates v2
This is a bit updated set of chain.c32 changes that simplifies a few things
(and in partiter part), fixes few minor issues and adds a few new features.
Details are in the following commits, below is the summary and pull details at
the end.
Shao - any chance to peek over them ? Most of those are relatively simple
changes and well tested, though of course something might have slipped my
attention.
2012 Mar 07
2
PV DomU stopped responding, won't boot, stuck in paused state
Yesterday, I had a PV OpenSolaris DomU stop responding. I looked on my xen machine and it was in a paused state. I ended up destroying it and then doing xm create to bring it back up.
It won''t boot, and I think PyGrub is hanging. Not sure how to resolve this, there aren''t any errors being presented in xen/xm itself. If I try ''xm create config.conf'' it just