Installed Ubuntu 24.04 and did some modification in the Grub file!
Here is the result:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT="Ubuntu 24 Pro"
GRUB_SAVEDEFAULT="false"
GRUB_TIMEOUT_STYLE="menu"
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR="`( . /etc/os-release; echo ${NAME:-Ubuntu 24 Pro} ) 2>/dev/null || echo Ubuntu`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_BACKGROUND="/home/guru-mahendra/Pictures/ubuntu640360.png"
# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
#GRUB_DISABLE_OS_PROBER="false"
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal
#GRUB_TERMINAL="console"
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE="640x360"
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
GRUB_DISABLE_LINUX_UUID="true"
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
GRUB_INIT_TUNE="360 320 1"
export GRUB_COLOR_NORMAL="green/white"
export GRUB_COLOR_HIGHLIGHT="green/dark-gray"
export GRUB_MENU_PICTURE="/home/guru-mahendra/Pictures/ubuntu640360.png"
GRUB_DISABLE_LINUX_RECOVERY="true"
GRUB_FONT="/boot/grub/unicode.pf2"
I edited a system wallpaper in GIMP to make the Grub background image (640x360) and it works fine as below:
And my desktop background:
My dilemma is that I cannot change the font to a large size ( yes, I converted a .ttf to .pf2 then update the Grub successfully but when reboot the system, it goes to default unicode.pf2)!
I am aware that Grub uses .pf2 which is a bitmap font but…
Is there any way to use a bold text (I tried Ubuntu bold) and keep it permanently ?
I assume that you want the text of the Grub Menu entries to be larger.
sudo nano /etc/default/grub
Find the line and edit as follows to see if it is similar to what you need:-
#GRUB_GFXMODE=640x480
Remove the comment # symbol
GRUB_GFXMODE=640x480
sudo update-grub
Grub can use other resolutions but you have to find the recognised list first.
Allow grub to appear
Press c
for grub prompt
Type videoinfo
and hit enter
A list of suitable resolutions should appear
Type normal
to return to grub menu
I would look into grub themes. Many distros use one to configure their grub menu appearance, but not Ubuntu. So you have to find your own, and optionally customize it to your liking.
You can customize the settings in the theme folder for font and size. You can also specify the background image, positioning, any other visible elements from the theme configuration.
I started with an existing grub theme and customized it.
Grub themes live at:
/usr/share/grub/themes
Find complete Grub themes at:
gnome-look.org