Re: GRUB legal disclaimers before the menu
On Wed 04 Feb 2015 at 09:28:23 +0000, Bhasker C V wrote:
> 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.
In /etc/default/grub have
GRUB_THEME="/boot/grub/theme.txt"
My theme.txt includes a background image and custom fonts but basically
amounts to this:
# General settings
title-text: "GNU GRUB 1.99"
title-color: "white"
message-color: "black"
message-bg-color: "#fff"
# Help information at the bottom of the screen
+ vbox {
left = 4%
top = 85%
+ label {
text = "A line of text"
color = "black"
}
+ label {
text = "Another line of text"
color = "black"
}
+ label {
text = "And so on"
color = "black"
}
}
# Menu
+ boot_menu {
left = 60
width = 72%
top = 28%
height = 50%
selected_item_color = "black"
item_height = 26
item_padding = 0
item_spacing = 1
item_color = "green"
}
Reply to: