grub-devel
[Top][All Lists]
Advanced

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

Re: Grub 2 Grub Super Disk WishList


From: Vladimir Serbinenko
Subject: Re: Grub 2 Grub Super Disk WishList
Date: Thu, 18 Aug 2005 09:43:21 +0200
User-agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324)

Marco Gerards wrote:

>>PROPOSAL 1) - Device autodetection
>>============
>>Grub 2 should be able to autodetect where the
>>main/first menu.lst is. 
>>Grub 2 should be able to store automagically this device
>>into a constant called
>>GRUB_DEVICE
>>    
>>
>
>Is this the same as the prefix variable GRUB 2 uses?
>  
>
I'm not sure that it's the same idea I had for the some time but
I thought that GRUB goes to grub rescue if partition map changed.
So my idea was to write partition module that will autodetect the
GRUB partition (another question is what parameter to use for
autodection. But it must be secure: GRUB will not detect other partition
containing modules at the other case the attacker could boot his own
modules) and register it like (boot) then GRUB can load the real
partition map module

>
>I think you can implement this yourself like this:
>
>THISFILE=/grub/es/menu.lst
>
>title foo
>set LAST=$THISFILE
>configfile blah
>
>title bar
>set LAST=$THISFILE
>configfile blah
>
>Right?
>
>
>  
>
T he disadvantage is that it doesn't work with "deep"
menus (if new menu loads another one)

>>PROPOSAL 5) 2-line menu options
>>================================
>>Grub should be ready to show title string that exceed screen width in 
>>characters if we set it to this behaviour.
>>
>>This behaviour should be set with a variable like LINE2YES.
>>    
>>
>
>Why would this be useful?  It might be hard to implement and make the
>code obscure.
>
>  
>
And why would someone use such a long title?


                                                                        
                     Vladimir





reply via email to

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