Re: [RFT] PXE chainloader

2010-09-05 Thread Omni Flux
On 2010-09-05 17:31, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 09/06/2010 01:08 AM, Omni Flux wrote: The output of two tests follow. It works, to an extent. Is PXE being left in a state where the next bootloader can call it's initialization routines again? Attached patch may help. I noti

Re: [RFT] PXE chainloader

2010-09-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09/06/2010 01:08 AM, Omni Flux wrote: > The output of two tests follow. It works, to an extent. Is PXE being > left in a state where the next bootloader can call it's initialization > routines again? > Attached patch may help. I noticed that last file may still remain opened. > > Test 1: Boot gr

Re: [RFC] Detect other software using embedding area

2010-09-05 Thread richardvo...@gmail.com
On Sun, Sep 5, 2010 at 10:14 AM, C. P. Ghost wrote: > On Tue, Aug 31, 2010 at 2:54 PM, Thomas Schmitt wrote: > > Maybe one should use external boot media of > > which GRUB can claim complete ownership. > > I.e. an USB stick or a CD which hosts GRUB and > > a custom configuration. > > This way, G

Re: [RFT] PXE chainloader

2010-09-05 Thread Omni Flux
The output of two tests follow. It works, to an extent. Is PXE being left in a state where the next bootloader can call it's initialization routines again? Test 1: Boot grub PXE, chainload grub PXE, chainload grub PXE again. Result: Chainloaded grub PXEs load in rescue mode. Pre-boot eXecutio

Re: UEFI Boot with Grub-Experimental

2010-09-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 06/30/2010 07:10 PM, step...@hyarros.com wrote: > Hi, > > Thanks for the response. > > After trying terminal_output, the computer screen would simply go black > and the machine would hang (the numlock key would not respond) after the > terminal_output gfx command was executed; this would happen

Example theme and documentation figures

2010-09-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello, all. I've done something I should have a long time ago: I've merged gfxmenu documentation in official manual. It's available under http://www.gnu.org/software/grub/manual/html_node/Theme-file-format.html#Theme-file-format. Unfortunately it uses the following images: Box_slice_example_termina

Re: status of grub netboot in GRUB2

2010-09-05 Thread John Lumby
Vladimir Serbinenko wrote: >> >> but the grub_install fails and a bash -x of it reveals,  near the end, >> >> /usr/grub2/sbin/grub-setup --directory=/mnt/dkt/boot/grub >> --device-map=/mnt/dkt/boot/grub/device.map fd0 >> Invalid device `fd0'. >>   > Well your problem is obvious: > > /mnt/dkt/bo

Re: [PATCH] support for xz compression

2010-09-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 04/08/2010 11:55 PM, Szymon Janc wrote: > Hello, > > New version with various fixes, most noticable : seek support, respect not > easly seekable flag, BCJ support. > > This patch depends on 04_transparentio.diff from previous post. > > Commenst and testing are welcome. > > Merged together wi

Re: [PATCH] Not command (!) support for GRUB script

2010-09-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09/05/2010 11:44 AM, BVK Chaitanya wrote: > + > + if (invert) > +ret = ! ret; > > You need either to create grub_errno or to handle it. So it should be like: if (invert) { if (ret == GRUB_ERR_TEST_FAILURE) grub_errno = ret = GRUB_ERR_NONE; else if (ret == GRUB_ERR_NONE)

Re: [RFC] Detect other software using embedding area

2010-09-05 Thread C. P. Ghost
On Tue, Aug 31, 2010 at 2:54 PM, Thomas Schmitt wrote: > Maybe one should use external boot media of > which GRUB can claim complete ownership. > I.e. an USB stick or a CD which hosts GRUB and > a custom configuration. > This way, GRUB would have no shares in the > embattled area at all. This way

Re: status of grub netboot in GRUB2

2010-09-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09/05/2010 03:46 AM, John Lumby wrote: > Ian Turner wrote: > > >> What happens when you load GRUB from media and then load the pxe module? >> > Well, I don't yet know, as I've not been able to build a bootable floppy > image. > This is 1.98, installed with --prefix=/usr/grub2 to avoi

[PATCH] Not command (!) support for GRUB script

2010-09-05 Thread BVK Chaitanya
Hi, Attached patch adds "not" command (!) support to GRUB script. Adding this feature to GRUB script core, interestingly, *reduced* normal.mod size by a few bytes :) This is because I removed special handling of "!" character from flex's lexical analyzer. It seems we can save 2-3KB further by

Re: [PATCH] Documentation update for recent GRUB script changes

2010-09-05 Thread BVK Chaitanya
Updated patch with documentation for "return" command. bvk.chaitanya === modified file 'docs/grub.texi' --- docs/grub.texi 2010-09-01 09:29:30 + +++ docs/grub.texi 2010-09-05 03:17:45 + @@ -1227,8 +1227,10 @@ The backslash retains its special meaning only when followed by one of the f