[PATCH] bug fix for scripting (update 3)

2007-06-27 Thread Bean
This update includes u2 and u2-1, and fix a small problem caused by u2-2. -- Bean 2007-06-28 Bean <[EMAIL PROTECTED]> * kern/parser.c (state_transitions): Exit GRUB_PARSER_STATE_VARNAME state when "/" is encountered. * normal/execute.c (grub_script_argument_to_string):

Re: GRUB 2 does not show new kernel :( (SOLVED), finally :)

2007-06-27 Thread shirish
Hi all, Mr. Bean very thankful to you. I just did the following :- ### BEGIN /etc/grub.d/00_header ### set default=0 set timeout=100 set root=(hd1,1) ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/10_hurd ### ### END /etc/grub.d/10_hurd ### ### BEGIN /etc/grub.d/10_linux ### menu

Re: GRUB 2 does not show new kernel :(

2007-06-27 Thread shirish
Hi all, Mr. Bean I shutdown the comp. Cold-booted the comp. & waited for GRUB to kick in. I chainloaded to GRUB 2 ( it shows up as GRUB version 1.95) and while the entries are there they are not working. Some things which might give pointer are :- title Chainload into GRUB 2 root

patch to get rid of hardcoded grub_*_init in grub-probe / grub-setup

2007-06-27 Thread Robert Millan
As suggested by Marco, I adapted the framework to generate grub_init_all / grub_fini_all functions from grub-emu to also be used on grub-probe and grub-setup. Any comments on the patch? -- Robert Millan My spam trap is [EMAIL PROTECTED] Note: this address is only intended for spam harvesters.

Re: GRUB 2 does not show new kernel :(

2007-06-27 Thread shirish
Hi Ben, First some observations. I have been trying to see your mail at http://lists.gnu.org/archive/html/grub-devel/ as it takes some time before it comes in the digest mode. I came to understand that I have been approaching/barking up the wrong tree. But I'm getting ahead of myself. First

Re: GRUB 2 does not show new kernel :(

2007-06-27 Thread Bean
On Wed, Jun 27, 2007 at 07:35:02PM +0530, shirish wrote: > >> > >> -- > >> Bean > >> > >> > >> > >> > >> > >> -- > >> > >> Message: 8 > >> Date: Wed, 27 Jun 2007 10:18:09 +0800 > >> From: Bean <[EMAIL PROTECTED]> > >> Subject: Re: GRUB 2 does not show new kernel :( > >>

Re: GRUB 2 does not show new kernel :(

2007-06-27 Thread shirish
> > -- > Bean > > > > > > -- > > Message: 8 > Date: Wed, 27 Jun 2007 10:18:09 +0800 > From: Bean <[EMAIL PROTECTED]> > Subject: Re: GRUB 2 does not show new kernel :( > To: The development of GRUB 2 > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=

Re: GRUB 2 documentation

2007-06-27 Thread Khaled Hosny
On 6/26/07, Marco Gerards <[EMAIL PROTECTED]> wrote: shirish <[EMAIL PROTECTED]> writes: Hi, > I see this bug > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333516 about > documentation , what is the status of that, we are waiting for grub 2 > to hit stable before the documentation is

problem with grub-probe on EVMS

2007-06-27 Thread Robert Millan
Hi grub-devel! Any idea about this one? On Tue, Jun 26, 2007 at 11:08:03AM +0200, Mathias Behrle wrote: > > (x86_64)[EMAIL PROTECTED]:~# grub-probe -v / > grub-probe: info: changing current directory to /dev > grub-probe: info: changing current directory to usb > grub-probe: info: changing curr

Re: [PATCH] bug fix for scripting (update 2)

2007-06-27 Thread Bean
New update: Reset error number before returning from grub_script_execute_cmdline. This will solve the problem that the menu is not displayed when some command fails. -- Bean * normal/execute.c (grub_script_execute_cmdline): Reset error number before returning from grub_script_ex