help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make it's own grub module


From: Jordan Uggla
Subject: Re: Make it's own grub module
Date: Thu, 1 Sep 2016 11:03:12 -0700

On Thu, Aug 25, 2016 at 12:39 PM, erwan daniel <address@hidden>
wrote:

> Hello,
>
>
> After a lot of search. I need to ask the question to specialist.
> I would create my own module for Grub (.mod loaded by insmod) the only web
> page who talks about that is here http://blog.fpmurphy.com/2010/
> 06/grub2-modules.html
>
> The instruction are not clear, i don't know where i can find the dl.h to
> get all function available.
>
> And the compilation is very strange..
>
>
> If it's not possible, you have an idea on how to grub can remember the
> last choice in boot menu ?
>
>
https://www.gnu.org/software/grub/manual/grub.html See specifically the
section about GRUB_SAVEDEFAULT.


> First i have think it is possible in script conf grub.conf but i haven't
> seen any function to write in a file an index for exemple to know on the
> next boot what is the entry to focus.
>

GRUB_SAVEDEFAULT is implemented using the grub environment block:
https://www.gnu.org/software/grub/manual/grub.html#Environment-block


reply via email to

[Prev in Thread] Current Thread [Next in Thread]