menu's "default=saved" is need for hibernation on multi-os systems.

2008-01-23 Thread Franklin PIAT
Hello, Grub2 doesn't seems to have a feature similar to grub1 "default=saved" in menu.lst, does it ? On a multiboot system, it's important to have it : In my situation, Xen is first listed in the menu, but I usually boot plain kernel, which can Hibernate. After reboot, The first system is reboot

Re: [PATCH] memdisk plus lnxboot extension

2008-01-23 Thread Bean
On Jan 24, 2008 5:15 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > > On Thu, Jan 24, 2008 at 05:04:56AM +0800, Bean wrote: > > On Jan 24, 2008 4:15 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > > > The region where memdisk is normally put has no size limit, only the core > > > image itself does.

Re: UFS (FFS) support seems broken in grub2

2008-01-23 Thread walt
Robert Millan wrote: On Wed, Jan 23, 2008 at 02:49:55PM -0800, walt wrote: I recompiled my NetBSD kernel with the MULTIBOOT option enabled, but I still get a 'magic broken' error when doing 'multiboot /netbsd'. The kernel of NetBSD supports multiboot now? Or maybe it's referring to something

Re: grub disk-image builder.

2008-01-23 Thread Franklin PIAT
On Wed, 2008-01-23 at 23:26 +0100, Robert Millan wrote: > On Wed, Jan 23, 2008 at 10:33:24PM +0100, Franklin PIAT wrote: > > Hello, > > > > For my personal needs, i've written a script to build floppy or > > hard-disk images. > > > > It's very similar to mkgrub-rescue.sh (and slightly based on it

Re: /kern/file.c BUG

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 11:00:57PM +, Oleg Strikov wrote: > Incorrect behavior of grub_file_open () function in e.g. loop context: > > char *file_names[] = > { > "(hd0,1)/file1", //file do not exist > "(hd0,1)/file2" //file exist > }; > grub_file_t file; > int i; > for (i = 0; i < 2; i++) > {

Re: UFS (FFS) support seems broken in grub2

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 02:49:55PM -0800, walt wrote: > > I recompiled my NetBSD kernel with the MULTIBOOT option enabled, but > I still get a 'magic broken' error when doing 'multiboot /netbsd'. The kernel of NetBSD supports multiboot now? Or maybe it's referring to something else? What's the

/kern/file.c BUG

2008-01-23 Thread Oleg Strikov
Incorrect behavior of grub_file_open () function in e.g. loop context: char *file_names[] = { "(hd0,1)/file1", //file do not exist "(hd0,1)/file2" //file exist }; grub_file_t file; int i; for (i = 0; i < 2; i++) { file = grub_file_open (file_names[i]); if (file) {...} } There, we shou

Re: UFS (FFS) support seems broken in grub2

2008-01-23 Thread walt
Bean wrote: On Jan 24, 2008 12:15 AM, walt<[EMAIL PROTECTED]> wrote: Bean wrote: This patch should fix the problem... Yes, thanks! I had to use the -l flag before patch would use it, and even then the last hunk needed increased fuzz. Are you going to commit it today? thanks for the testin

Re: grub manpages...

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 10:50:50PM +0100, Franklin PIAT wrote: > Hello, > > I've started more manpages : > http://wiki.debian.org/Grub/grub-install.manpage > http://wiki.debian.org/Grub/grub-mkimage.manpage > http://wiki.debian.org/Grub/grub-mkrescue.manpage > http://wiki.debian.org/Grub/grub-setu

Re: grub disk-image builder.

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 10:33:24PM +0100, Franklin PIAT wrote: > Hello, > > For my personal needs, i've written a script to build floppy or > hard-disk images. > > It's very similar to mkgrub-rescue.sh (and slightly based on it), > except the images are formatted. Therefore it's possible to put >

Re: grub manpages...

2008-01-23 Thread Franklin PIAT
Hello, I've started more manpages : http://wiki.debian.org/Grub/grub-install.manpage http://wiki.debian.org/Grub/grub-mkimage.manpage http://wiki.debian.org/Grub/grub-mkrescue.manpage http://wiki.debian.org/Grub/grub-setup.manpage What would be your preferred file format ? On Tue, 2008-01-22 at

grub disk-image builder.

2008-01-23 Thread Franklin PIAT
Hello, For my personal needs, i've written a script to build floppy or hard-disk images. It's very similar to mkgrub-rescue.sh (and slightly based on it), except the images are formatted. Therefore it's possible to put a grub.cfg and splash images on it. I'm providing it here for anyone interest

Re: [PATCH] memdisk plus lnxboot extension

2008-01-23 Thread Robert Millan
On Thu, Jan 24, 2008 at 05:04:56AM +0800, Bean wrote: > On Jan 24, 2008 4:15 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > > The region where memdisk is normally put has no size limit, only the core > > image itself does. Why not load it at the same address? > > I just check, the lzo decompressi

Re: [PATCH] memdisk plus lnxboot extension

2008-01-23 Thread Bean
On Jan 24, 2008 4:15 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > The region where memdisk is normally put has no size limit, only the core > image itself does. Why not load it at the same address? I just check, the lzo decompression will overwrite the area, so we can't copy initrd there. --

Re: [PATCH] mkdevicemap for Cygwin

2008-01-23 Thread Christian Franke
Marco Gerards wrote: Robert Millan <[EMAIL PROTECTED]> writes: It looks fine to me. As far as I am concerned it can be committed. We can even add Christian to savannah so he can commit it. Thanks, my savannah account is chrfranke. Christian

Re: UFS (FFS) support seems broken in grub2

2008-01-23 Thread Bean
Committed. -- Bean ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: hfs breakage

2008-01-23 Thread Bean
Committed. -- Bean ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] memdisk plus lnxboot extension

2008-01-23 Thread Robert Millan
On Thu, Jan 24, 2008 at 03:24:37AM +0800, Bean wrote: > On Jan 24, 2008 3:14 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > > On Thu, Jan 24, 2008 at 03:01:33AM +0800, Bean wrote: > > > On Jan 24, 2008 12:18 AM, Bean <[EMAIL PROTECTED]> wrote: > > > > On Jan 23, 2008 4:54 PM, Marco Gerards <[EMAIL

grub_dl_unload_all()

2008-01-23 Thread Robert Millan
Is GRUB supposed to always call grub_dl_unload_all() when preparing to jump into a loaded multiboot image? My problem: - On i386-pc, multiboot2 loader calls grub_multiboot2_real_boot(), which in turn calls grub_dl_unload_all(), thereby unloading all modules (and I assume, calling all _

Re: hfs breakage

2008-01-23 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: [...] >> Yes, it seems so to me at least. I was talking about my code :-) > > ok then, i just revert to the original code. however, there is still a > small bug in grub_hfs_find_node. please see the new patch below. No need to revert it, you improved it! >> >>

Re: [PATCH] memdisk + grub-mkrescue

2008-01-23 Thread Pavel Roskin
On Wed, 2008-01-23 at 20:03 +0100, Marco Gerards wrote: > > I see. Considering that there is enough space on a CD, I'd go with > > universal images, if at all possible. > > If you mean UDF, it is not supported (yet). I mean Apple/CHRP/PREP. -- Regards, Pavel Roskin __

Re: [PATCH] memdisk plus lnxboot extension

2008-01-23 Thread Bean
On Jan 24, 2008 3:14 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > On Thu, Jan 24, 2008 at 03:01:33AM +0800, Bean wrote: > > On Jan 24, 2008 12:18 AM, Bean <[EMAIL PROTECTED]> wrote: > > > On Jan 23, 2008 4:54 PM, Marco Gerards <[EMAIL PROTECTED]> wrote: > > > > When is this feature useful? Can y

Re: [PATCH] loader cleanup for i386-ieee1275

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 07:48:04PM +0100, Marco Gerards wrote: > >> You can make this conditional in the ChangeLog entry. > > > > What do you mean? > > * include/grub/i386/pc/memory.h: Include `'. > [!GRUB_IEEE1275] (grub_lower_mem, grub_upper_mem): Disabled. > > I didn't check if t

Re: UFS (FFS) support seems broken in grub2

2008-01-23 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: > On Jan 24, 2008 12:15 AM, walt <[EMAIL PROTECTED]> wrote: >> Bean wrote: >> > This patch should fix the problem... >> >> Yes, thanks! I had to use the -l flag before patch would use it, >> and even then the last hunk needed increased fuzz. >> >> Are you going to

Re: [PATCH] memdisk plus lnxboot extension

2008-01-23 Thread Robert Millan
On Thu, Jan 24, 2008 at 03:01:33AM +0800, Bean wrote: > On Jan 24, 2008 12:18 AM, Bean <[EMAIL PROTECTED]> wrote: > > On Jan 23, 2008 4:54 PM, Marco Gerards <[EMAIL PROTECTED]> wrote: > > > When is this feature useful? Can you give an example? More features > > > can mean more bugs, more maintain

Re: [PATCH] memdisk plus lnxboot extension

2008-01-23 Thread Robert Millan
On Thu, Jan 24, 2008 at 12:18:43AM +0800, Bean wrote: > On Jan 23, 2008 4:54 PM, Marco Gerards <[EMAIL PROTECTED]> wrote: > > When is this feature useful? Can you give an example? More features > > can mean more bugs, more maintainance work, etc. If the feature is > > not worthwhile for more tha

Re: [PATCH] memdisk + grub-mkrescue

2008-01-23 Thread Marco Gerards
Pavel Roskin <[EMAIL PROTECTED]> writes: > Quoting Robert Millan <[EMAIL PROTECTED]>: > >> On Wed, Jan 23, 2008 at 02:51:00AM -0500, Pavel Roskin wrote: >>> >>> I think I'll submit a patch that introduces the gap between the core >>> end and the modules. It's better that nothing. There was a gap

Re: [PATCH] memdisk plus lnxboot extension

2008-01-23 Thread Bean
On Jan 24, 2008 12:18 AM, Bean <[EMAIL PROTECTED]> wrote: > On Jan 23, 2008 4:54 PM, Marco Gerards <[EMAIL PROTECTED]> wrote: > > When is this feature useful? Can you give an example? More features > > can mean more bugs, more maintainance work, etc. If the feature is > > not worthwhile for more

Re: netboot/UNDI status

2008-01-23 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: > On Jan 23, 2008 11:46 PM, Douglas Ward <[EMAIL PROTECTED]> wrote: >> Robert Millan wrote: >> > On Wed, Jan 23, 2008 at 12:38:31PM +0100, Marco Gerards wrote: >> > >> >> But to be honest, there are more important issues than networking in >> >> the short term... >

Re: netboot/UNDI status

2008-01-23 Thread Marco Gerards
Douglas Ward <[EMAIL PROTECTED]> writes: > Robert Millan wrote: >> On Wed, Jan 23, 2008 at 12:38:31PM +0100, Marco Gerards wrote: >> >>> But to be honest, there are more important issues than networking in >>> the short term... >>> >> >> ACK. Let's focus on what GRUB excels at, instead of

Re: [PATCH] loader cleanup for i386-ieee1275

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Wed, Jan 23, 2008 at 03:05:31PM +0100, Marco Gerards wrote: >> Robert Millan <[EMAIL PROTECTED]> writes: >> >> > Some cleanup for i386-ieee1275. >> >> Can you please give a bit more information? > > The multiboot module on i386-ieee1275 was using va

Incomplete file listing with reiserfs partition

2008-01-23 Thread Antoine Cellerier
Hello, I've been trying to use grub2 with a reiserfs partition and noticed that it couldn't find all my files and folders. nyu and marco_g on IRC suggested that I send a small test case. So here it comes. The attached disk-image.bz2 file is a 100 MB reiserfs partition with folders 1, 2, 3, etc up

Re: [PATCH] PNG image reader

2008-01-23 Thread Bean
On Jan 23, 2008 6:36 PM, Marco Gerards <[EMAIL PROTECTED]> wrote: > > static grub_uint32_t > > grub_png_get_dword (struct grub_png_data *data) > > { > > grub_uint32_t r; > > > > r = 0; > > Why this? just to make sure if grub_file_read fails, this function will return 0. > Please follow our st

Re: netboot/UNDI status

2008-01-23 Thread Bean
On Jan 23, 2008 11:46 PM, Douglas Ward <[EMAIL PROTECTED]> wrote: > Robert Millan wrote: > > On Wed, Jan 23, 2008 at 12:38:31PM +0100, Marco Gerards wrote: > > > >> But to be honest, there are more important issues than networking in > >> the short term... > >> > > > > ACK. Let's focus on what GRU

Re: hfs breakage

2008-01-23 Thread Bean
On Jan 23, 2008 5:01 PM, Marco Gerards <[EMAIL PROTECTED]> wrote: > Bean <[EMAIL PROTECTED]> writes: > > > On Jan 21, 2008 6:38 PM, Marco Gerards <[EMAIL PROTECTED]> wrote: > >> Bean <[EMAIL PROTECTED]> writes: > >> > >> Hi Bean, > >> > >> Thanks for picking this one up! > >> > >> [...] > >> > >> >

Re: UFS (FFS) support seems broken in grub2

2008-01-23 Thread Bean
On Jan 24, 2008 12:15 AM, walt <[EMAIL PROTECTED]> wrote: > Bean wrote: > > This patch should fix the problem... > > Yes, thanks! I had to use the -l flag before patch would use it, > and even then the last hunk needed increased fuzz. > > Are you going to commit it today? thanks for the testing,

Re: [PATCH] memdisk plus lnxboot extension

2008-01-23 Thread Bean
On Jan 23, 2008 4:54 PM, Marco Gerards <[EMAIL PROTECTED]> wrote: > When is this feature useful? Can you give an example? More features > can mean more bugs, more maintainance work, etc. If the feature is > not worthwhile for more than one person, I am not sure if it should be > included. Perha

Re: UFS (FFS) support seems broken in grub2

2008-01-23 Thread walt
Bean wrote: This patch should fix the problem... Yes, thanks! I had to use the -l flag before patch would use it, and even then the last hunk needed increased fuzz. Are you going to commit it today? ___ Grub-devel mailing list Grub-devel@gnu.org

Re: netboot/UNDI status

2008-01-23 Thread Douglas Ward
Robert Millan wrote: > On Wed, Jan 23, 2008 at 12:38:31PM +0100, Marco Gerards wrote: > >> But to be honest, there are more important issues than networking in >> the short term... >> > > ACK. Let's focus on what GRUB excels at, instead of trying to compete > with etherboot just yet... > >

Re: [PATCH] memdisk + grub-mkrescue

2008-01-23 Thread Pavel Roskin
Quoting Robert Millan <[EMAIL PROTECTED]>: On Wed, Jan 23, 2008 at 02:51:00AM -0500, Pavel Roskin wrote: I think I'll submit a patch that introduces the gap between the core end and the modules. It's better that nothing. There was a gap before, just much bigger. Ah, we had this before? Yo

Re: [PATCH] loader cleanup for i386-ieee1275

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 03:05:31PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > Some cleanup for i386-ieee1275. > > Can you please give a bit more information? The multiboot module on i386-ieee1275 was using variables that only have a meaning on i386-pc (and i386

Re: [PATCH] loader cleanup for i386-ieee1275

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > Some cleanup for i386-ieee1275. Can you please give a bit more information? > * include/grub/i386/ieee1275/loader.h: Include `', > `' and `'. > (grub_multiboot2_real_boot): New function prototype. > > * include/grub/i386/pc/memo

Re: [PATCH] use of grub_dprintf in grub_mm_init_region() is misleading

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > Using grub_dprintf() in grub_mm_init_region() easily leads to think that one > can activate this debug message by issuing `grub_env_set ("debug", "mem")' in > grub_machine_init(), before memory initialisation. > > However, that's completely false. grub_

[PATCH] loader cleanup for i386-ieee1275

2008-01-23 Thread Robert Millan
Some cleanup for i386-ieee1275. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) * include/grub/i386/ieee1275/loader.h: Include `', `' and `'. (grub_multiboot2_real_boot): New function prototype. * include/gru

[PATCH] use of grub_dprintf in grub_mm_init_region() is misleading

2008-01-23 Thread Robert Millan
Using grub_dprintf() in grub_mm_init_region() easily leads to think that one can activate this debug message by issuing `grub_env_set ("debug", "mem")' in grub_machine_init(), before memory initialisation. However, that's completely false. grub_env_set will silently [1] ignore your call because

Re: Patches

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 01:35:36PM +0100, Marco Gerards wrote: > Hi, > > Are there any important patches I missed? I have a few mails I didn't > process yet. If someone wants me to look at something, please poke me > :-) The "Fix eisa_mmap evaluation, add memory existence check" thread has a pa

Re: gfxterm / grub_virtual_screen_setcolorstate()

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 01:23:52PM +0100, Marco Gerards wrote: > Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: > > > Robert Millan wrote: > >> On Mon, Dec 24, 2007 at 02:28:18AM +0100, Robert Millan wrote: > >>> New patch. Corrects a minor mistake when filling the last colum in the > >>> menu. A

Patches

2008-01-23 Thread Marco Gerards
Hi, Are there any important patches I missed? I have a few mails I didn't process yet. If someone wants me to look at something, please poke me :-) -- Marco ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-d

Re: BTS for GRUB 2 (Re: BTS overhaul)

2008-01-23 Thread Marco Gerards
"Yoshinori K. Okuji" <[EMAIL PROTECTED]> writes: > On Sunday 16 December 2007 11:27, Vesa Jääskeläinen wrote: >> grub-help@ or grub-users@ would be more fit for user discussions. Are >> there any GNU "standards" for these? And perhaps require to switch to >> subscribe only lists. > > This might be

Re: adding some more members

2008-01-23 Thread Marco Gerards
"Yoshinori K. Okuji" <[EMAIL PROTECTED]> writes: Hi, > I think it would be more convenient to allow Bean and Alexandre to check in > changes themselves. Is there any objection? Not at all. Christian can be added to as far as I am concerned. Would you mind? Christian, do you have a savannah ac

Re: gfxterm / grub_virtual_screen_setcolorstate()

2008-01-23 Thread Marco Gerards
Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: > Robert Millan wrote: >> On Mon, Dec 24, 2007 at 02:28:18AM +0100, Robert Millan wrote: >>> New patch. Corrects a minor mistake when filling the last colum in the >>> menu. Also, it doesn't change the colors on gfxterm since some >>> reasjustments

Re: [PATCH] mkdevicemap for Cygwin

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Wed, Jan 23, 2008 at 12:40:27PM +0100, Marco Gerards wrote: >> Christian Franke <[EMAIL PROTECTED]> writes: >> >> > New version of the patch is attached. >> >> [...] >> >> Robert, did you review it again? > > It looks fine to me. As far as I am co

Re: grub2 efi patches

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Wed, Jan 23, 2008 at 12:39:35PM +0100, Marco Gerards wrote: >> Alexandre Boeglin <[EMAIL PROTECTED]> writes: >> >> > On Sun, 18 Nov 2007 19:14:03 +0100, Alexandre Boeglin <[EMAIL PROTECTED]> >> > wrote: >> >> I also still have to clean the chainloade

Re: netboot/UNDI status

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 12:38:31PM +0100, Marco Gerards wrote: > > But to be honest, there are more important issues than networking in > the short term... ACK. Let's focus on what GRUB excels at, instead of trying to compete with etherboot just yet... -- Robert Millan I know my rights; I wa

Re: [PATCH] use at_keyboard.c on i386-ieee1275

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 12:32:14PM +0100, Marco Gerards wrote: > > * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Add > > `term/i386/pc/at_keyboard.c'. > > > > * include/grub/i386/ieee1275/console.h: Add `'. > > Remove > > `'. > > (grub_keyboard_controller_

Re: [PATCH] grub-probe && FreeBSD

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 12:39:03PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > On Wed, Jan 02, 2008 at 08:59:04PM -0500, Francis Gendreau wrote: > >> > >> Also, if someone can email-me how to uses diff so I can create patch in > >> a single file, it would be grea

Re: [PATCH] mkdevicemap for Cygwin

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 12:40:27PM +0100, Marco Gerards wrote: > Christian Franke <[EMAIL PROTECTED]> writes: > > > New version of the patch is attached. > > [...] > > Robert, did you review it again? It looks fine to me. -- Robert Millan I know my rights; I want my phone call! What use is

Re: grub2 efi patches

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 12:39:35PM +0100, Marco Gerards wrote: > Alexandre Boeglin <[EMAIL PROTECTED]> writes: > > > On Sun, 18 Nov 2007 19:14:03 +0100, Alexandre Boeglin <[EMAIL PROTECTED]> > > wrote: > >> I also still have to clean the chainloader options patch, but here is the > >> changelog fo

Re: grub2 efi patches

2008-01-23 Thread Robert Millan
On Sun, Nov 18, 2007 at 07:14:03PM +0100, Alexandre Boeglin wrote: > Index: commands/i386/efi/halt.c > === > RCS file: commands/i386/efi/halt.c > diff -N commands/i386/efi/halt.c > [...] > +static grub_err_t > +grub_cmd_halt (struct

Re: [PATCH] mkdevicemap for Cygwin

2008-01-23 Thread Marco Gerards
Christian Franke <[EMAIL PROTECTED]> writes: > New version of the patch is attached. [...] Robert, did you review it again? -- Marco ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: grub2 efi patches

2008-01-23 Thread Marco Gerards
Alexandre Boeglin <[EMAIL PROTECTED]> writes: > On Sun, 18 Nov 2007 19:14:03 +0100, Alexandre Boeglin <[EMAIL PROTECTED]> > wrote: >> I also still have to clean the chainloader options patch, but here is the >> changelog for the others: > > Hi, > > As Marco finally received my copyright applicatio

Re: [PATCH] grub-probe && FreeBSD

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Wed, Jan 02, 2008 at 08:59:04PM -0500, Francis Gendreau wrote: >> >> Also, if someone can email-me how to uses diff so I can create patch in >> a single file, it would be greatly appreciated. :) > > diff -urp grub.old grub.new > > -r for recursive.

Re: netboot/UNDI status

2008-01-23 Thread Marco Gerards
Douglas Ward <[EMAIL PROTECTED]> writes: > I was wondering if any work has been completed on netboot for gurb2. I'm > most interested in a UNDI driver as my current setup using gpxe and > pxelinux. pxelinux does a fine job but I have always preferred grub. There is an outstanding patch for ethern

Re: [PATCH] use at_keyboard.c on i386-ieee1275

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Wed, Jan 23, 2008 at 11:58:58AM +0100, Marco Gerards wrote: >> Robert Millan <[EMAIL PROTECTED]> writes: >> >> > Taking into account that ofconsole on i386: >> > >> > - Has bugs with similar usability effect than at_keyboard.c (e.g. arrow >> > key

Re: [PATCH] memdisk + grub-mkrescue

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 12:20:33PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > [...] > > >> Overlay means that I can add a grub.cfg easily? > > > > It means you can do: > > > > mkdir -p boot/grub > > zile boot/grub/grub.cfg > > grub-mkrescue --overlay=boot > > > >

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 12:07:57PM +0100, Marco Gerards wrote: > Pavel Roskin <[EMAIL PROTECTED]> writes: > > Hi, > > [...] > > > ChangeLog: > > > > * include/grub/ieee1275/ieee1275.h: Introduce a flag for > > broken color support, needed for Open Hack'Ware. > > * kern/po

Re: [PATCH] use at_keyboard.c on i386-ieee1275

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 11:58:58AM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > Taking into account that ofconsole on i386: > > > > - Has bugs with similar usability effect than at_keyboard.c (e.g. arrow > > keys > > not working). > > - In practice doesn't

Re: [PATCH] memdisk + grub-mkrescue

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: [...] >> Overlay means that I can add a grub.cfg easily? > > It means you can do: > > mkdir -p boot/grub > zile boot/grub/grub.cfg > grub-mkrescue --overlay=boot > > Of course, it'd be easier if you could just add it directly, but I really > think having

Re: [PATCH] enable multiboot2 loader on i386-ieee1275

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Wed, Jan 23, 2008 at 11:38:48AM +0100, Marco Gerards wrote: >> >> > Though I don't see why not do it. The boot abi is already compatible on >> >> > PowerPC: >> >> > >> >> > >> >> > http://grub.enbug.org/MultibootDraft#head-198f9346038a3782a8263de2

Re: Grub2 Scripts

2008-01-23 Thread Oleg Strikov
>> Hi, >> where i can read about grub scripting language? >Did you check in the wiki? > http://grub.enbug.org/ Yep, but there is no info there :( ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/list

Re: [PATCH] enable multiboot2 loader on i386-ieee1275

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 11:38:48AM +0100, Marco Gerards wrote: > >> > Though I don't see why not do it. The boot abi is already compatible on > >> > PowerPC: > >> > > >> > > >> > http://grub.enbug.org/MultibootDraft#head-198f9346038a3782a8263de281dd9cf2eb2759a8 > >> > >> Do you suggest to chan

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-23 Thread Marco Gerards
Pavel Roskin <[EMAIL PROTECTED]> writes: Hi, [...] > ChangeLog: > > * include/grub/ieee1275/ieee1275.h: Introduce a flag for > broken color support, needed for Open Hack'Ware. > * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): > Recognize Open Hack'Wa

Re: [PATCH] memdisk + grub-mkrescue

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 11:45:19AM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > These two were predestined to get together.. attached patch for their > > wedding. > > > > Comments? > > > > -- > > Robert Millan > > > > I know my rights; I want my phone call! > >

Re: [PATCH] use at_keyboard.c on i386-ieee1275

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > Taking into account that ofconsole on i386: > > - Has bugs with similar usability effect than at_keyboard.c (e.g. arrow keys > not working). > - In practice doesn't provide support for any keyboard other than AT > (since OFW shuts down USB be

[PATCH] use at_keyboard.c on i386-ieee1275

2008-01-23 Thread Robert Millan
Taking into account that ofconsole on i386: - Has bugs with similar usability effect than at_keyboard.c (e.g. arrow keys not working). - In practice doesn't provide support for any keyboard other than AT (since OFW shuts down USB before transfering control to us). - Sharing code wit

Re: [PATCH] memdisk + grub-mkrescue

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > These two were predestined to get together.. attached patch for their > wedding. > > Comments? > > -- > Robert Millan > > I know my rights; I want my phone call! > What use is a phone call… if you are unable to speak? > (as seen on /.) > > > *

Re: [PATCH] enable multiboot2 loader on i386-ieee1275

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Wed, Jan 23, 2008 at 11:13:15AM +0100, Marco Gerards wrote: >> Robert Millan <[EMAIL PROTECTED]> writes: >> >> >> Can't you use a tag for the pointer? >> > >> > We can, but that's not useful. If we can't make them compatible, I find it >> > more fea

Re: [PATCH] PNG image reader

2008-01-23 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: Hi, > remove longjmp, also add grub_png prefix to function names. Thanks! A changelog entry is missing, this is a single file. See the review below for some comments. -- Marco > /* > * GRUB -- GRand Unified Bootloader > * Copyright (C) 2008 Free Soft

Re: [PATCH] enable multiboot2 loader on i386-ieee1275

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 11:13:15AM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > >> Can't you use a tag for the pointer? > > > > We can, but that's not useful. If we can't make them compatible, I find it > > more feasible to write a separate loader for OFW images. >

Re: [PATCH] enable multiboot2 loader on i386-ieee1275

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: >> Can't you use a tag for the pointer? > > We can, but that's not useful. If we can't make them compatible, I find it > more feasible to write a separate loader for OFW images. Why not? > Though I don't see why not do it. The boot abi is already compa

Re: [PATCH] enable multiboot2 loader on i386-ieee1275

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 10:08:08AM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > This makes multiboot2 work on i386-ieee1275. Tested both with elf32 and > > elf64 images. > > It looks ok to me. Ok, committed. > > In case of elf32 OFW images, they won't work beca

Re: Grub2 Scripts

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 06:22:23AM +, Oleg Strikov wrote: > Hi, > where i can read about grub scripting language? Did you check in the wiki? http://grub.enbug.org/ -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on

Re: [PATCH] memdisk + grub-mkrescue

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 02:51:00AM -0500, Pavel Roskin wrote: > > I think I'll submit a patch that introduces the gap between the core > end and the modules. It's better that nothing. There was a gap > before, just much bigger. Ah, we had this before? You mean before Hollis removed it, rig

Re: [PATCH] enable multiboot2 loader on i386-ieee1275

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > This makes multiboot2 work on i386-ieee1275. Tested both with elf32 and > elf64 images. It looks ok to me. > In case of elf32 OFW images, they won't work because EAX is used for multiboot > information and can't hold the needed pointer to OFW callback

Re: UFS (FFS) support seems broken in grub2

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Wed, Jan 23, 2008 at 02:58:02AM +0800, Bean wrote: >> This patch should fix the problem. > > Nice! > >> -grub_ufs_label (grub_device_t device __attribute ((unused)), >> -char **label __attribute ((unused))) >> +grub_ufs_label (grub_device_

Re: hfs breakage

2008-01-23 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: > On Jan 21, 2008 6:38 PM, Marco Gerards <[EMAIL PROTECTED]> wrote: >> Bean <[EMAIL PROTECTED]> writes: >> >> Hi Bean, >> >> Thanks for picking this one up! >> >> [...] >> >> >> Moreover, if I mount the image as loop in Linux and remove files "grub" >> >> and "grub

Re: [PATCH] allow user-configurable menucolor

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Thu, Jan 03, 2008 at 06:04:59PM +0200, Vesa Jääskeläinen wrote: >> >> About error handling: >> >> Why not call grub_error() with error message and just return from >> callback, and let prompt handle error processing (grub_print_error()). >> This wou

Re: [PATCH] memdisk plus lnxboot extension

2008-01-23 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: >> 2. Easy to modify >> users may not know how to create core.img, but modifying files in a, >> say, tar or cpio archive is very easy. They can do simple tasks like >> replacing splash image without too much knowledge of grub2. >> >> 3. Multiple configurat

Re: [PATCH] memdisk plus lnxboot extension

2008-01-23 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: [...] > 2. Easy to modify > users may not know how to create core.img, but modifying files in a, > say, tar or cpio archive is very easy. They can do simple tasks like > replacing splash image without too much knowledge of grub2. It seems easier, but isn't. Firs