Re: grub 1.96 svn 20080813 and circular lvm2 metadata

2008-08-29 Thread Hans Lambermont
Felix Zielcke wrote on 20080828: > Am Donnerstag, den 28.08.2008, 13:14 +0200 schrieb Hans Lambermont: >> My colleague Jan Derk Gerlings found a bug in the way grub 1.96, svn >> version 20080813 (and earlier) reads the circular lvm2 metadata >> buffer. > > Great, on Debian BTS we have 2 bugs [0]

Re: grub 1.96 svn 20080813 and circular lvm2 metadata

2008-08-29 Thread Felix Zielcke
Am Freitag, den 29.08.2008, 11:00 +0200 schrieb Hans Lambermont: > Please find the patch attached, this was tested with circular metadata > and the segfault in grub-setup is gone and the system boots fine. I just forwarded it now to the reporters of these 2 Debian bugs I mentioned. I hope they t

Idea: Move kernel to upper memory

2008-08-29 Thread Bean
Hi, The traditional memory is quite small, and is used by real mode apps. By moving grub2 kernel to upper memory, it's possible to keep it after dos started, and we can invoke grub2 service using interrupts. One important usage is to provide disk related function to dos via int 13, for example, lo

Handlers

2008-08-29 Thread Marco Gerards
Hi, This patch adds handler support to GRUB 2. This makes it easier to add new handlers to GRUB without duplicating code over and over. Bean wanted this for some of his ideas :-) Okuji (and others), can you please review this patch? It is an intrusive (but yet small!) change of which I hope mo

Re: Handlers

2008-08-29 Thread Neal H. Walfield
I know know why you call this a handler; it seems to me that it is just a semi-generic list package. Am I missing something? You can find a slighly more flexible and generic implementation here: http://cvs.savannah.gnu.org/viewvc/hurd-l4/viengoos/list.h?root=hurd&view=markup I've been using

Re: Handlers

2008-08-29 Thread Marco Gerards
"Neal H. Walfield" <[EMAIL PROTECTED]> writes: > I know know why you call this a handler; it seems to me that it is > just a semi-generic list package. Am I missing something? Perhaps. I can better explain how this can be used and give a small example. GRUB has several types of handlers. I ho

Re: [patch] background_image: image centering and scaling

2008-08-29 Thread Vesa Jääskeläinen
Olaf Mandel wrote: > Hello, > > on (some) computers with LCD monitors, the image is not automatically > scaled to full screen if the video mode is set to a lower resolution. So > the user has to set the gfxmode variable to the correct value in this > case. But then the background image provided by

Re: Handlers

2008-08-29 Thread Vesa Jääskeläinen
Marco Gerards wrote: > This patch adds handler support to GRUB 2. This makes it easier to > add new handlers to GRUB without duplicating code over and over. Bean > wanted this for some of his ideas :-) > > Okuji (and others), can you please review this patch? It is an > intrusive (but yet small

Re: grub 1.96 svn 20080813 and circular lvm2 metadata

2008-08-29 Thread Vesa Jääskeläinen
Felix Zielcke wrote: > The Changelog entry should be seperate, i.e. not a diff against the > actual ChangeLog file but you can have it above inside your patch > For example here my last small patch send to the list That is perfectly fine there :) Thou, you can also copy it within your email too.

Re: Handlers

2008-08-29 Thread Marco Gerards
Hi, Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: > Marco Gerards wrote: >> This patch adds handler support to GRUB 2. This makes it easier to >> add new handlers to GRUB without duplicating code over and over. Bean >> wanted this for some of his ideas :-) >> >> Okuji (and others), can you ple

Re: [patch] background_image: image centering and scaling

2008-08-29 Thread Felix Zielcke
Am Freitag, den 29.08.2008, 17:56 +0300 schrieb Vesa Jääskeläinen: > Next time, try to discuss it first before implementing ;) Actually this is more my fault, because I hadn't Colin's GsoC project in mind. Shame on me :( He send a different patch to Debian BTS, related to this and then he just c

Re: grub 1.96 svn 20080813 and circular lvm2 metadata

2008-08-29 Thread Felix Zielcke
Hello, Am Freitag, den 29.08.2008, 18:00 +0300 schrieb Vesa Jääskeläinen: > Felix Zielcke wrote: > > The Changelog entry should be seperate, i.e. not a diff against the > > actual ChangeLog file but you can have it above inside your patch > > For example here my last small patch send to the list >

Re: grub 1.96 svn 20080813 and circular lvm2 metadata

2008-08-29 Thread Marco Gerards
Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: > Felix Zielcke wrote: >> The Changelog entry should be seperate, i.e. not a diff against the >> actual ChangeLog file but you can have it above inside your patch >> For example here my last small patch send to the list > > That is perfectly fine there

Re: grub 1.96 svn 20080813 and circular lvm2 metadata

2008-08-29 Thread Marco Gerards
Hi Hans, [EMAIL PROTECTED] (Hans Lambermont) writes: > Felix Zielcke wrote on 20080828: > >> Am Donnerstag, den 28.08.2008, 13:14 +0200 schrieb Hans Lambermont: >>> My colleague Jan Derk Gerlings found a bug in the way grub 1.96, svn >>> version 20080813 (and earlier) reads the circular lvm2 meta

[PATCH] Case insensitive filename for NTFS

2008-08-29 Thread Bean
Hi, This patch allow case insensitive filename in Win32 and DOS namespace. Names in POSIX namespace would still be case sensitive. It also remove names in the DOS namespace, as they will reappear in Win32 namespace. 2008-08-29 Bean <[EMAIL PROTECTED]> * fs/fshelp.c (grub_fshelp_find_fi

Re: Handlers

2008-08-29 Thread Neal H. Walfield
At Fri, 29 Aug 2008 16:46:32 +0200, Marco Gerards wrote: > "Neal H. Walfield" <[EMAIL PROTECTED]> writes: > > > I know know why you call this a handler; it seems to me that it is > > just a semi-generic list package. Am I missing something? > > Perhaps. I can better explain how this can be used

Re: Handlers

2008-08-29 Thread Vesa Jääskeläinen
Marco Gerards wrote: > If I knew a better way, I would have used it. I think the > alternatives will all end up in either code duplication or a loss of > type safety that now is at least present through warnings. But please > understand that you only have to use the macros, not change them :-) >

Re: [PATCH] Mingw support for grub2

2008-08-29 Thread Bean
Hi, Committed. BTW, I add a test in configure.ac, so that it can also work with msys/mingw environment. -- Bean ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Windows,grub and grub2

2008-08-29 Thread Viswesh S
Hi, I am back with my Windows boot up question using grub and grub2.Sorry for making the question a bit long. Some experiments and results which I did. Scenario: One hard disk,different partitions. Case 1: Partition 1 -> Windows Server 2003 Partition 2 -> Swap Partition 3 -> Linux Boot load

debian upstream bugs

2008-08-29 Thread jidanni
Gentlemen, I submitted some what I thought were downstream bugs: http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=grub-pc;[EMAIL PROTECTED] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [RFC] DISTLIST and gendistlist.sh

2008-08-29 Thread Felix Zielcke
Am Freitag, den 22.08.2008, 15:13 +0200 schrieb Felix Zielcke: > I don't have almost no opion at all how this should be changed. > For me, the first solution to this problem that appears is just removing > DISTLIST but that doestn't mean of course that it's the best :) I tend now more to Robert'

Re: [RFC] DISTLIST and gendistlist.sh

2008-08-29 Thread Pavel Roskin
On Sat, 2008-08-30 at 00:54 +0200, Felix Zielcke wrote: > Am Freitag, den 22.08.2008, 15:13 +0200 schrieb Felix Zielcke: > > > I don't have almost no opion at all how this should be changed. > > For me, the first solution to this problem that appears is just removing > > DISTLIST but that doestn't

Re: Handlers

2008-08-29 Thread Marco Gerards
Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: > Marco Gerards wrote: >> If I knew a better way, I would have used it. I think the >> alternatives will all end up in either code duplication or a loss of >> type safety that now is at least present through warnings. But please >> understand that yo

Re: debian upstream bugs

2008-08-29 Thread Marco Gerards
[EMAIL PROTECTED] writes: > Gentlemen, I submitted some what I thought were downstream bugs: > http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=grub-pc;[EMAIL PROTECTED] Ehm? Can you please just start a discussion, I think that will give a better result than pointing to a website. -- Marco _

Re: Windows,grub and grub2

2008-08-29 Thread Bean
On Sat, Aug 30, 2008 at 4:29 AM, Viswesh S <[EMAIL PROTECTED]> wrote: > Hi, > > I am back with my Windows boot up question using grub and grub2.Sorry for > making the question a bit long. > > Some experiments and results which I did. > > Scenario: One hard disk,different partitions. > > Case 1: > >

Re: [patch] background_image: image centering and scaling

2008-08-29 Thread Olaf Mandel
Vesa Jääskeläinen schrieb: -Snipp- > I will however look at if there are some ideas that you have provided > what is still missing from new graphical menu implementation that should > be there. -Snipp- Hello, thanks. I must admit to not looking at the source code for the project. Will scaling als

Re: Windows,grub and grub2

2008-08-29 Thread Bean
> Hi, > > I thinks it's caused by partition entry pointer %esi which isn't > correct in grub2, please see if this patch fixes the problem. > > -- > Bean > Hi, BTW, you should use the following command: set root=(hd0,1) chainloader +1 It's not the same as chainloader (hd0,1)+1, as chainloader co