Re: boot.img Fix

2009-07-14 Thread Robert Millan
On Sun, Jul 12, 2009 at 09:30:01AM -0400, Pavel Roskin wrote: > Quoting Robert Millan : > >> I agree GRUB should be very careful not to destroy potentially valuable >> data. However, that's not to say FAT install is important. Typically >> our install doesn't collide or interfere with any filesys

Re: [PATCH] unused constants in i386/boot.h

2009-07-14 Thread Robert Millan
On Sun, Jul 12, 2009 at 09:21:07AM -0400, Pavel Roskin wrote: > Quoting Yves Blusseau : > >>> As long as boot/i386/pc/boot.S has the variables whose offset these macros >>> are describing, I think it's fine to keep them. > > I'd rather not keep the macros that are not used outside boot.S. They >

Re: Grub change direcional KEYS F9

2009-07-14 Thread Gilberto Fenix
Hi, People Anybody, know how I can put one key to entry automatic in grub option, for example if I push F9 in my keyboard automatic the grub will execute teste in file menu.lst. See bellow. # menu.lst - See: grub(8), info grub, update-grub(8) #grub-install(8), grub-floppy(8), #

please stop this

2009-07-14 Thread Robert Millan
On Tue, Jul 14, 2009 at 11:49:37PM +0800, Bean wrote: > Hi, > > This patch implement a new object format, the advantages are: Hi Bean, Last time this was discussed [1], there was no consensus that we should switch to a new object format. Furthermore, Marco had some objections: http://lists.g

Re: search for UUIDs is slow ...

2009-07-14 Thread Robert Millan
On Tue, Jul 14, 2009 at 08:28:43AM +0200, Michael Kofler wrote: > ... if you have many partitions. On my test machine, I have 18 regular > partitions and 5 logical volumes (LVM) on two disks (1.5 TByte total). > > (Ubuntu Jaunty, GRUB 1.96+20080724-12ubunut2) > > search for UUIDs takes quite long,

Re: [PATCH] Support graphics output protocol in EFI

2009-07-14 Thread Robert Millan
On Sun, Jul 12, 2009 at 09:44:34PM +0800, Bean wrote: > Hi, > > MacBooks 5.x supports the new graphics output protocol in UEFI, while > the older UGA draw protocol doesn't work anymore. This patch add > support for graphics output protocol so that linux loader can get > video information correctly

Re: Grub change direcional KEYS F9

2009-07-14 Thread Vladimir 'phcoder' Serbinenko
On Tue, Jul 14, 2009 at 7:44 PM, Gilberto Fenix wrote: > Hi, People Anybody, know how I can put one key to entry automatic in grub > option, for example if I push F9 in my keyboard automatic the grub will > execute teste in file menu.lst. This list is for grub2 and developement exclusively nothing

Re: please stop this

2009-07-14 Thread Pavel Roskin
On Tue, 2009-07-14 at 19:57 +0200, Robert Millan wrote: > I agree that we have a problem due to lack of leadership, but this is not > acceptable. Marco is busy right now (traveling), so please put this on hold > untill he's back, then we can discuss it. I agree that we should not rush with such

Re: [PATCH] Support graphics output protocol in EFI

2009-07-14 Thread Vladimir 'phcoder' Serbinenko
On Sun, Jul 12, 2009 at 3:44 PM, Bean wrote: > Hi, > > MacBooks 5.x supports the new graphics output protocol in UEFI, while > the older UGA draw protocol doesn't work anymore. This patch add > support for graphics output protocol so that linux loader can get > video information correctly. This pat

Re: Grub change direcional KEYS F9

2009-07-14 Thread Gilberto Fenix
ok. So How I can make this in grub2? 2009/7/14 Vladimir 'phcoder' Serbinenko > On Tue, Jul 14, 2009 at 7:44 PM, Gilberto > Fenix wrote: > > Hi, People Anybody, know how I can put one key to entry automatic in grub > > option, for example if I push F9 in my keyboard automatic the grub will > > ex

Re: please stop this

2009-07-14 Thread Bean
On Wed, Jul 15, 2009 at 2:09 AM, Pavel Roskin wrote: > On Tue, 2009-07-14 at 19:57 +0200, Robert Millan wrote: > >> I agree that we have a problem due to lack of leadership, but this is not >> acceptable.  Marco is busy right now (traveling), so please put this on hold >> untill he's back, then we

Re: Grub change direcional KEYS F9

2009-07-14 Thread Vladimir 'phcoder' Serbinenko
On Tue, Jul 14, 2009 at 8:14 PM, Gilberto Fenix wrote: > ok. So How I can make this in grub2? > AFAIK it's not implemented yet but it is a useful feature especially for accessibility. Patches are welcome > 2009/7/14 Vladimir 'phcoder' Serbinenko >> >> On Tue, Jul 14, 2009 at 7:44 PM, Gilberto >> F

Re: [PATCH] unused constants in i386/boot.h

2009-07-14 Thread Pavel Roskin
On Tue, 2009-07-14 at 19:37 +0200, Robert Millan wrote: > On Sun, Jul 12, 2009 at 09:21:07AM -0400, Pavel Roskin wrote: > > Quoting Yves Blusseau : > > > >>> As long as boot/i386/pc/boot.S has the variables whose offset these macros > >>> are describing, I think it's fine to keep them. > > > > I'd

[PATCH 1/7] Make boot/i386/pc/boot.S safer to modify

2009-07-14 Thread Pavel Roskin
ChangeLog: * include/grub/i386/pc/boot.h: Sort all offsets. (GRUB_BOOT_MACHINE_KERNEL_ADDRESS): Remove, it's unused. (GRUB_BOOT_MACHINE_KERNEL_SEGMENT): Likewise. * boot/i386/pc/boot.S: Assert location of every offset listed in include/grub/i386/pc/boot.h. -

[PATCH 2/7] Remove unused version information from boot/i386/pc/boot.S

2009-07-14 Thread Pavel Roskin
ChangeLog: * boot/i386/pc/boot.S (boot_version): Remove. * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_VER_MAJ): Remove. --- boot/i386/pc/boot.S |3 --- include/grub/i386/pc/boot.h |3 --- 2 files changed, 0 insertions(+), 6 deletions(-) diff --git a/bo

[PATCH 3/7] Eliminate kernel_segment

2009-07-14 Thread Pavel Roskin
ChangeLog: * boot/i386/pc/boot.S (kernel_segment): Remove. (copy_buffer): Copy to 0x:0x8000, not to 0x0800:0x. --- boot/i386/pc/boot.S | 12 ++-- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/boot/i386/pc/boot.S b/boot/i386/pc/boot.S index e5685

[PATCH 4/7] Eliminate kernel_address

2009-07-14 Thread Pavel Roskin
ChangeLog: * boot/i386/pc/boot.S: Eliminate kernel_address. Add .bss section corresponding to the loader. Use relative jump to the loader. --- boot/i386/pc/boot.S | 14 +- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/boot/i386/pc/boot.S b/

[PATCH 5/7] Add newline after "Error" in bootsector

2009-07-14 Thread Pavel Roskin
ChangeLog: * boot/i386/pc/boot.S (general_error_string): Add DOS newline at the end of "Error" to make the message more readable in qemu. --- boot/i386/pc/boot.S |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/boot/i386/pc/boot.S b/boot/i386/pc/boot.S ind

[PATCH 6/7] Increase BPB size to accommodate FAT32.

2009-07-14 Thread Pavel Roskin
ChangeLog: * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_BPB_END): Increase to 0x5a. Adjust other offsets accordingly. Original patch by Yves Blusseau --- include/grub/i386/pc/boot.h |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inclu

[PATCH 7/7] RFC: Use correct addresses, eliminate manual relocations

2009-07-14 Thread Pavel Roskin
ChangeLog: * boot/i386/pc/boot.S: Declare 0x0-0x7c00 as a discardable .bss segment. Eliminate ABS, rely on the assembler knowing correct addresses. Eliminate .bss segment for the kernel, use direct jump to the kernel address. --- boot/i386/pc/boot.S | 72 ++