That should great, could I ask for one more thing?
2.5: If a mem= option is found with no value, grub removes the option
and does not add another.
This will allow for kernel memory detection code to be tested for some
odd configurations.
I'd understand if you don't want to do this one. The others sound great!
OKUJI Yoshinori wrote:
>
> From: Tim Riker <[EMAIL PROTECTED]>
> Subject: Re: prepare_0_5_95
> Date: Thu, 15 Jun 2000 23:26:03 -0600
>
> > I still feel it would be useful to be able to restrict the mem= opion
> > for idividual entries.
>
> Ok, then what do you think this:
>
> 1. GRUB searches for mem= in the kernel argument(s).
> 2. If found, don't pass the option automatically (regardless of the
> value).
> 3. Otherwise, pass the option as the current behavior.
>
> > Note, I also ususally hack out the 2 lines that remove the vga= option.
> > This allows me to check for it in /proc/cmdline in scripts after boot.
> > Note that the Caldera install leaves this as default, but passes 2
> > identical vga= options so that the second will remain.
>
> Thanks for your suggestion. The reason why I forced GRUB to remove
> it after parsing it was that I just didn't know if the kernel would
> ignore the option mildly. I'll get rid of the deletion code.
>
> Okuji
--
Tim Riker - http://rikers.org/ - short SIGs! <g>
All I need to know I could have learned in Kindergarten
... if I'd just been paying attention.