GRUB on two mbrs

2007-10-16 Thread John Pierce
Hello list member, I have hashed this out with a handful of people on the fedora list and have had no luck making it work in any permutation. I have Fedora 7 installed on sda, it has a /dev/sda1 for /boot and grub was installed to the mbr. It boots Fedora fine. I have Mandriva 2008 installed on

[PATCH] split realmode and loader routines out of startup.S

2007-10-16 Thread Robert Millan
This patch splits realmode and loader routines out of startup.S. The idea is that the LinuxBIOS port can be adapted to share more code with the rest of GRUB instead of duplicating it. This is quite critical stuff, so even if the change seems trivial I'd suggest being careful, since I don't trust

Re: [PATCH] Implement grub_sleep() and grub_ticksleep()

2007-10-16 Thread Robert Millan
On Tue, Oct 16, 2007 at 08:46:16PM +0200, Marco Gerards wrote: > > > > That's what grub_ticksleep does. grub_sleep() counts in seconds because > > I tried to mimic POSIX which seems to be a trend for grub_* functions. I > > think it can be used for menu timeout although I didn't have time to look

Re: [PATCH] Implement grub_sleep() and grub_ticksleep()

2007-10-16 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: Hi, [...] >> > +#include >> > +#include >> > + >> > +void EXPORT_FUNC(grub_ticksleep) (grub_uint32_t ticks); >> > + >> > +static __inline void >> > +grub_sleep (grub_uint32_t s) >> > +{ >> > + grub_ticksleep (s * GRUB_TICKS_PER_SECOND); >> > +} >> >>

Re: [PATCH] Implement grub_sleep() and grub_ticksleep()

2007-10-16 Thread Robert Millan
On Tue, Oct 16, 2007 at 04:11:28PM +0200, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > This patch implements grub_sleep() and grub_ticksleep(). > > Great! > > > 2007-10-15 Robert Millan <[EMAIL PROTECTED]> > > > > * include/grub/time.h: New file. > > > > * inc

Re: [PATCH] Some minor powerpc fixes, addons

2007-10-16 Thread Marco Gerards
"Marcin Kurek" <[EMAIL PROTECTED]> writes: Hi, > Attached rest of my grub changes. Great! I will review them soon. Can you send in ChangeLog entries? That will make reviewing easier for me. Besides that, we need them before committing. Thanks, Marco ___

Re: [PATCH] ELF program header

2007-10-16 Thread Marcin Kurek
Hell[o] > [...] I test this patch on Pegasos 1 and Pegasos 2 and in both cases grub image hangs on OF prompt when I tired to boot it :( Reverting it makes grub bootable again. -- --- Marcin 'Morgoth' Kurek --- ___ Grub-devel mailing list Grub-devel@

Re: [PATCH] Implement grub_sleep() and grub_ticksleep()

2007-10-16 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > This patch implements grub_sleep() and grub_ticksleep(). Great! > 2007-10-15 Robert Millan <[EMAIL PROTECTED]> > > * include/grub/time.h: New file. > > * include/grub/i386/pc/time.h (KERNEL_TIME_HEADER): Rename all > instances to ..

Re: [PATCH] grub2 for Cygwin

2007-10-16 Thread Robert Millan
On Tue, Oct 16, 2007 at 02:03:35PM +0200, Christian Franke wrote: > > - A memtest86+ zImage (from grml 1.0) does not boot when loaded with > "linux" command. Same image works with "kernel" command from grub 0.97. That's a known bug (not cygwin-related) -- Robert Millan I know my rights; I wan

[PATCH] grub2 for Cygwin

2007-10-16 Thread Christian Franke
Hi, I would like to contribute my Cygwin port of grub2. A patch vs. current CVS (cvs co -D "2007-10-16 UTC" ...) is available here: http://franke.dvrdns.org/cygwin/grub/grub2-20071016-cygwin.patch A proposed changelog entry is located in the patch itself (Changelog.cygwin). A compil