Re: Modifying GRUB to read DMI data

2008-08-23 Thread W. Michael Petullo
I am interested in modifying GRUB to read DMI data from my BIOS (i.e., the data dmidecode reads). The SMBIOS specification seems to state that the Plug-n-Play function interface is deprecated while the table-based interface requires a processor running in 32- or 64-bit protected mode. Does anyone

[Question] Why not load compressed kernel?

2008-08-23 Thread y.volta
Hi, I'm trying to load a .gz multi-boot kernel file. but, I get 'invalid magic number'. and when i check the grub_rescue_cmd_linux (), it uses grub_file_open () not grub_gzfile_open (); So, my question, why not use the latter one for reducing the file size? Y.Volta ___

Re: [PATCH] Split of raid scan code

2008-08-23 Thread Bean
On Tue, Aug 19, 2008 at 1:20 AM, Bean <[EMAIL PROTECTED]> wrote: > Hi, > > This patch fix a bug in total_devs and grub_raid_memberlist, it also > resolve the conflict with current svn head. Committed. -- Bean ___ Grub-devel mailing list Grub-devel@gn

Re: [PATCH] Warning if grub.cfg not found

2008-08-23 Thread Carles Pina i Estany
Hi, On Aug/23/2008, Carles Pina i Estany wrote: > b) in normal/cmdline.c in grub_cmdline_run if I receive a nested == -1 I > show the warning maybe somebody prefers to macrofy this -1 to CFG_GRUB_NOT_FOUND ? Or -1 is clear enough? Thanks, -- Carles Pina i EstanyGPG id: 0x17756391

[PATCH] Warning if grub.cfg not found

2008-08-23 Thread Carles Pina i Estany
Hi, I send attached a patch that shows a warning when Grub it's falling back to the command line if grub.cfg is not found (so user knows why the menu is not showed). I'm not 100% that this is the best way to handle it, mainly because I'm not used about the Grub execution workflow. The changes ar

Absence

2008-08-23 Thread Marco Gerards
Hi, Since my modem is broken, I will most likely not read the list for a week or so. -- Marco ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Bug fix for EFI

2008-08-23 Thread Bean
On Fri, Aug 22, 2008 at 1:37 AM, Bean <[EMAIL PROTECTED]> wrote: > Hi, > > This patch fix two bugs in the EFI port: > > 1, grub_longjmp (x86_64 EFI): > > Return 1 when val = 0. This behavior is consistent with grub_longjmp > of i386 platform. > > 2, genfslist.sh and genpartmaplist.sh > > In EFI, th

[PATCH] Mingw support for grub2

2008-08-23 Thread Bean
Hi, This patch add support for mingw, now you can create native executable for windows. I still use cygwin to compile it: ./configure CC="gcc -mno-cygwin" It might be possible to use pure mingw environment, but configure.ac would need some modification. 2008-08-23 Bean <[EMAIL PROTECTED]>

Re: GRUB_CONSOLE_KEY_NPAGE/PPAGE codes

2008-08-23 Thread Carles Pina i Estany
Hi, On Aug/23/2008, Vesa Jääskeläinen wrote: > > Let's define: NPAGE (next page) = PGDN (PG DOWN). PPAGE (previous page) > > = PGUP (PG UP). Is this assumption correct? > > > > There is quite much places in Grub2 code that defines: > > #define GRUB_CONSOLE_KEY_NPAGE 0x4900 > > #define

Re: Modifying GRUB to read DMI data

2008-08-23 Thread Robert Millan
On Fri, Aug 22, 2008 at 05:56:52PM -0400, W. Michael Petullo wrote: > I am interested in modifying GRUB to read DMI data from my BIOS > (i.e., the data dmidecode reads). The SMBIOS specification seems to > state that the Plug-n-Play function interface is deprecated while the > table-based int

Re: [Wishlist] Better warning if grub.cfg not found

2008-08-23 Thread Robert Millan
On Fri, Aug 22, 2008 at 05:22:01PM +0200, Carles Pina i Estany wrote: > Of course, then, what happends if > grub.cfg exists but it's not valid? Should grub-mkrescue parse it? That would be overkill IMO. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (an

Re: GRUB_CONSOLE_KEY_NPAGE/PPAGE codes

2008-08-23 Thread Vesa Jääskeläinen
Carles Pina i Estany wrote: > Hello, > > I started to play with GRUB_TERM_PPAGE/NPAGE in normal/menu.c and I've > had a problem: they was working in opposite way than I've expected. > > Tracing the problem deeper than swapping GRUB_TERM_PPAGE constant by > GRUB_TERM_NPAGE, I have found that this

GRUB_CONSOLE_KEY_NPAGE/PPAGE codes

2008-08-23 Thread Carles Pina i Estany
Hello, I started to play with GRUB_TERM_PPAGE/NPAGE in normal/menu.c and I've had a problem: they was working in opposite way than I've expected. Tracing the problem deeper than swapping GRUB_TERM_PPAGE constant by GRUB_TERM_NPAGE, I have found that this values comes from GRUB_CONSOLE_KEY_NPAGE.