I did try the multiple-menu entries but the moment I put a dummy entry
the menu entry does not appear at all !

The only other way is painfully use the echo command

echo <line1>
echo <line2>
..
sleep 5

which will delay the boot by 5 seconds unconditionally.

One of the suggestions on IRC was to modify the code to do this but I
do not want to do this on production servers since once modified then
it becomes my responsibility to maintain and patch the grub code.



On 2/3/15, Brian <a...@cityscape.co.uk> wrote:
> On Tue 03 Feb 2015 at 20:25:59 +0300, Reco wrote:
>
>>  Hi.
>>
>> On Tue, Feb 03, 2015 at 05:19:30PM +0000, Bhasker C V wrote:
>> > Hi,
>> >
>> >  I am trying to create some legal disclaimer statements just above the
>> > first menu item in the grub (like simple echo messages). I am not sure
>> > how to do this
>> >
>> >  A simple echo gets re-pained just after the menu comes on.
>> >
>> >  Can anyone help please ?
>> >  Googled - no info available.
>>
>> Try putting a disclaimer inside the menuentry, i.e.
>>
>> menuentry "<legal_goes_here>" {
>>      echo 'You shouldn't be here'
>> }
>
> This looks like a good idea; in fact, it may be the only way of getting
> close to what the OP wants. Hpwever, the problem might be the length of
> the disclaimer for setparams ("<legal_goes_here>"). The GRUB menu
> displays the text on one line and, with line wrapping not apparently
> available, much of it will not be on the screen.
>
> I would also query the purpose of the second line in the stanza.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> https://lists.debian.org/03022015233038.52f04b098...@desktop.copernicus.demon.co.uk
>
>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caplcsgdwjfc0kv7-hwzny_ilpreh_k0mwsamtubb6m1cchk...@mail.gmail.com

Reply via email to