grub-devel
[Top][All Lists]
Advanced

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

Re: config file


From: Marco Gerards
Subject: Re: config file
Date: Sun, 23 Jan 2005 15:13:01 +0000
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

"Yoshinori K. Okuji" <address@hidden> writes:

> In GRUB Legacy, the structure of menu.lst is ugly, because it has a 
> strange state when interpretting it. The semantics is that commands are 
> executed until the first "title" is encounterred. Afterwards, commands 
> are only "remembered" as boot entries. I think it would be more 
> straightforward if commands are always executed.
>
> I'd like to redesign it in GRUB 2. One example is to write a boot entry 
> like this:
>
> entry "GNU/Hurd" {
>   root=(hd0,0)
>   multiboot /boot/gnumach
>   module /boot/serverboot
>   ...
> }
>
> This idea is to make a boot entry a kind of shell function.

It looks nice to me.  How you you want to add the commands that should
be run before the menu is shown?  Just the same as it is for GRUB
Legacy?

Thanks,
Marco





reply via email to

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