Re: GRUB 1.96 - unknown commands

2009-07-10 Thread Marco Gerards
Hi, Chris Smart writes: > Here is the simple grub.cfg that I am using: > > set timeout=10 > set default=0 > menuentry "Linux" { > linux /efi/grub/vmlinuz > initrd /efi/grub/initrd > } > > > Here is what happens: > > Boot PC to rEFIt > Select grub.efi boot option > Computer says "Starting gru

Re: GRUB 1.96 - unknown commands

2009-07-10 Thread Bean
Hi, You need to add module sh, minicmd and linux. On Fri, Jul 10, 2009 at 2:40 PM, Chris Smart wrote: > Hi all, > > I'm trying to get GRUB2 to boot on an EFI system (Apple Mac) using > grub.efi and rEFIt as the boot manager. > > I have checked GRUB out of svn and built it with the following > com

Re: GRUB 1.96 - unknown commands

2009-07-10 Thread Chris Smart
2009/7/10 Bean : > Hi, > > You need to add module sh, minicmd and linux. Thank you, thank you!! I don't mean to presume I know what I'm talking about, but should the Wiki entry on testing EFI be updated to reflect the fact that it needs these extra modules? "http://grub.enbug.org/TestingOnEFI"; "

Re: GRUB 1.96 - unknown commands

2009-07-10 Thread Marco Gerards
Hello, Bean writes: > You need to add module sh, minicmd and linux. What was the reason it was split up? Sorry, I must have missed a discussion. I prefer scripting and normal.mod to be integrated, to prevent problems like these. -- Marco ___ Gru

Re: GRUB 1.96 - unknown commands

2009-07-10 Thread Bean
On Fri, Jul 10, 2009 at 3:39 PM, Marco Gerards wrote: > Hello, > > Bean writes: > >> You need to add module sh, minicmd and linux. > > What was the reason it was split up?  Sorry, I must have missed a > discussion. > > I prefer scripting and normal.mod to be integrated, to prevent > problems like

Re: OLPC regression, ofdisk stops working

2009-07-10 Thread Bean
Hi, There is something wrong with r2132, now childtype is a pointer, so sizeof childtype == 4, the name would be truncated to 4 characters. diff --git a/kern/ieee1275/openfw.c b/kern/ieee1275/openfw.c index e7979f4..42d9278 100644 --- a/kern/ieee1275/openfw.c +++ b/kern/ieee1275/openfw.c @@ -78,1

Re: [PATCH] use ljmp to reboot (Re: at_keyboard flush on i386-qemu)

2009-07-10 Thread Robert Millan
On Tue, Jul 07, 2009 at 04:51:47PM -0400, Pavel Roskin wrote: > On Tue, 2009-07-07 at 21:51 +0200, Robert Millan wrote: > > > I think we should just jump to 0x0 to reboot. I didn't know back when I > > wrote reboot.c, but this is supposedly more reliable since we're jumping to > > code in ROM

Re: Some ideas about new features of grub

2009-07-10 Thread Robert Millan
On Wed, Jul 08, 2009 at 02:19:14AM -0400, Pavel Roskin wrote: > On Tue, 2009-07-07 at 20:39 +0200, Robert Millan wrote: > > > > With LUA, we can have a more user friendly interface. I like way rEFIt > > > works, it doesn't require configuration. At runtime, it detects os and > > > shows an icon fo

Re: boot.img Fix

2009-07-10 Thread Robert Millan
On Thu, Jul 09, 2009 at 01:09:20AM +0200, Vladimir 'phcoder' Serbinenko wrote: > Sorry for posting some not very-related ideas in one mail and > top-posting but I want to go to bed ASAP now. FAT install is > important. A friend asked me on RMLL to install GRUB on his > partionless SD card. This car

Re: Grub & accessibility

2009-07-10 Thread Robert Millan
On Tue, Jul 07, 2009 at 03:50:23PM +0200, Samuel Thibault wrote: > Hello, > > (Cc-ing the grub-devel mailing list for the record) > > Just a few short points: > > - brltty GPL2+ and has a _lot_ of drivers for braille devices, it would > be sad to not reuse them :) > - speakup is also GPL2+ and

Re: [RFC] New object format for grub2

2009-07-10 Thread Robert Millan
On Wed, Jul 08, 2009 at 04:27:08PM +0200, Marco Gerards wrote: > Hi, > > Bean writes: > > > Why another format ? Here are some reason: > > > > The current object format is ELF. Most unix based os use ELF as native > > object format, but there are minor difference, and gcc may add extra > > segme

Re: Configuration option to disable os-prober?

2009-07-10 Thread Robert Millan
On Wed, Jul 08, 2009 at 04:38:23PM +0100, Colin Watson wrote: > Hi, > > Some people seem to want to disable os-prober for various reasons (e.g. > they have lots of test installations lying around that they don't > normally want to get in the way, or they don't want installations on > external driv

Re: [RFC] New object format for grub2

2009-07-10 Thread Robert Millan
On Thu, Jul 09, 2009 at 12:57:43AM +0200, Vladimir 'phcoder' Serbinenko wrote: > On Wed, Jul 8, 2009 at 8:51 PM, Pavel Roskin wrote: > > Hello, Marco! > > > > On Wed, 2009-07-08 at 16:27 +0200, Marco Gerards wrote: > > > >> There is another problem with this: the maintainance burden.  People > >> k

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

2009-07-10 Thread Robert Millan
On Thu, Jul 09, 2009 at 10:45:43AM +0200, Yves Blusseau wrote: > > > > > > style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">Here's > the patch to remove unused constants. > The real constants used are GRUB_BOOT_MACHINE_KERNEL_ADDR and > GRUB_BOOT_MACHINE_KERNEL_SEG. Hi, A

Re: OLPC regression, ofdisk stops working

2009-07-10 Thread Robert Millan
On Fri, Jul 10, 2009 at 10:28:03PM +0800, Bean wrote: > Hi, > > There is something wrong with r2132, now childtype is a pointer, so > sizeof childtype == 4, the name would be truncated to 4 characters. Bean, you never cease to amaze me. I admit the "interesting, exactly the word size" idea cross

Re: Grub & accessibility

2009-07-10 Thread Samuel Thibault
(sorry phcoder for the duplication) Robert Millan, le Fri 10 Jul 2009 19:22:48 +0200, a écrit : > We've made some exceptions, but in general, we'd like to keep the GRUB > codebase made entirely of FSF-copyrighted code, or at least code we > have disclaimers for. > > OTOH, we don't want to discard

Re: OLPC regression, ofdisk stops working

2009-07-10 Thread David Miller
From: Robert Millan Date: Fri, 10 Jul 2009 19:41:15 +0200 > On Fri, Jul 10, 2009 at 10:28:03PM +0800, Bean wrote: >> Hi, >> >> There is something wrong with r2132, now childtype is a pointer, so >> sizeof childtype == 4, the name would be truncated to 4 characters. > > Bean, you never cease to

Re: OLPC regression, ofdisk stops working

2009-07-10 Thread Robert Millan
On Fri, Jul 10, 2009 at 11:18:28AM -0700, David Miller wrote: > From: Robert Millan > Date: Fri, 10 Jul 2009 19:41:15 +0200 > > > On Fri, Jul 10, 2009 at 10:28:03PM +0800, Bean wrote: > >> Hi, > >> > >> There is something wrong with r2132, now childtype is a pointer, so > >> sizeof childtype ==

Re: Configuration option to disable os-prober?

2009-07-10 Thread Colin Watson
On Fri, Jul 10, 2009 at 07:31:21PM +0200, Robert Millan wrote: > On Wed, Jul 08, 2009 at 04:38:23PM +0100, Colin Watson wrote: > > Some people seem to want to disable os-prober for various reasons (e.g. > > they have lots of test installations lying around that they don't > > normally want to get i

Re: Some ideas about new features of grub

2009-07-10 Thread BandiPat
Robert Millan wrote: On Wed, Jul 08, 2009 at 02:19:14AM -0400, Pavel Roskin wrote: On Tue, 2009-07-07 at 20:39 +0200, Robert Millan wrote: With LUA, we can have a more user friendly interface. I like way rEFIt works, it doesn't require configuration. At runtime, it detects os and shows an icon

Re: OLPC regression, ofdisk stops working

2009-07-10 Thread Bean
On Sat, Jul 11, 2009 at 4:20 AM, Robert Millan wrote: > On Fri, Jul 10, 2009 at 11:18:28AM -0700, David Miller wrote: >> From: Robert Millan >> Date: Fri, 10 Jul 2009 19:41:15 +0200 >> >> > On Fri, Jul 10, 2009 at 10:28:03PM +0800, Bean wrote: >> >> Hi, >> >> >> >> There is something wrong with r2

[PATCH] hidemenu fix

2009-07-10 Thread Bean
Hi, This patch moves the screen init code from reader to menu, so that hidemenu would work as before. A minor side effect is that if grub.cfg is not found, the "GNU GRUB" header would not be printed, but I guess this is not an issue. -- Bean diff --git a/kern/rescue_reader.c b/kern/rescue_reader

[PATCH] osdetect.lua improvement

2009-07-10 Thread Bean
Hi, This patch would check for drive number and use drivemap to map disks, this is required to boot DOS/Windows from secondary drive. It also change commands like root (hd0,0) to root=hd0,0 (I remember someone want to remove the root command ?) -- Bean diff --git a/util/osdetect.lua b/util/osdet

Re: Some ideas about new features of grub

2009-07-10 Thread Bean
On Sat, Jul 11, 2009 at 5:27 AM, BandiPat wrote: > Actually Zenwalk provides os-prober as well.  The gentleman that provides > the installer of our Grub2 uses os-prober to detect all OS's installed, so > they may be added to the original grub.cfg.  Works very well, although not > perfect, but we ar