Bug#1092210: grub-common: Font size is too small for high resolution screens with secure boot enabled

Valerio Passini passini.valerio at gmail.com
Mon Jan 6 08:24:12 GMT 2025


Package: grub-common
Version: 2.12-5
Severity: normal
X-Debbugs-Cc: passini.valerio at gmail.com

Dear Maintainer,

I am having trouble reading the grub menu on my Surface Tablet 2-in-1 at boot
time. While changing font size and type is easy with grub-mkfont, it requires a
complex process to sign the new font to enable it in Secure Boot. It would be
very helpful to get a larger font already signed for high resolution screens
(which are very common these days) or provide the current font with sizes up to
32, so a simple line in /etc/default/grub can solve the problem.


P.S.: I wasn't sure if this bug priority could be set to wishlist, but since it
prevents Debian users with poor vision from fully enjoying their system at
boot, I left it on normal.


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/nvme0n1p5 / ext4 rw,relatime,errors=remount-ro 0 0
/dev/nvme1n1p3 /home ext4 rw,relatime 0 0
/dev/nvme0n1p1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root ed38f270-fe21-44b3-b15b-9f884dcb93c0
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=it_IT
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root ed38f270-fe21-44b3-b15b-9f884dcb93c0
insmod png
if background_image /usr/share/desktop-base/emerald-theme/grub/grub-16x9.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ed38f270-fe21-44b3-b15b-9f884dcb93c0' {
	savedefault
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	search --no-floppy --fs-uuid --set=root ed38f270-fe21-44b3-b15b-9f884dcb93c0
	echo	'Loading Linux 6.12.8.1-acer-nitro5 ...'
	linux	/boot/vmlinuz-6.12.8.1-acer-nitro5 root=UUID=ed38f270-fe21-44b3-b15b-9f884dcb93c0 ro splash acpi_osi=Linux acpi_backlight=native quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-6.12.8.1-acer-nitro5
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-ed38f270-fe21-44b3-b15b-9f884dcb93c0' {
	menuentry 'Debian GNU/Linux, with Linux 6.12.8.1-acer-nitro5' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.8.1-acer-nitro5-advanced-ed38f270-fe21-44b3-b15b-9f884dcb93c0' {
	savedefault
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ed38f270-fe21-44b3-b15b-9f884dcb93c0
		echo	'Loading Linux 6.12.8.1-acer-nitro5 ...'
		linux	/boot/vmlinuz-6.12.8.1-acer-nitro5 root=UUID=ed38f270-fe21-44b3-b15b-9f884dcb93c0 ro splash acpi_osi=Linux acpi_backlight=native quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.12.8.1-acer-nitro5
	}
	menuentry 'Debian GNU/Linux, with Linux 6.12.8.1-acer-nitro5 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.8.1-acer-nitro5-recovery-ed38f270-fe21-44b3-b15b-9f884dcb93c0' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ed38f270-fe21-44b3-b15b-9f884dcb93c0
		echo	'Loading Linux 6.12.8.1-acer-nitro5 ...'
		linux	/boot/vmlinuz-6.12.8.1-acer-nitro5 root=UUID=ed38f270-fe21-44b3-b15b-9f884dcb93c0 ro single dis_ucode_ldr splash acpi_osi=Linux acpi_backlight=native
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.12.8.1-acer-nitro5
	}
	menuentry 'Debian GNU/Linux, with Linux 6.12.5.1-acer-nitro5' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.5.1-acer-nitro5-advanced-ed38f270-fe21-44b3-b15b-9f884dcb93c0' {
	savedefault
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ed38f270-fe21-44b3-b15b-9f884dcb93c0
		echo	'Loading Linux 6.12.5.1-acer-nitro5 ...'
		linux	/boot/vmlinuz-6.12.5.1-acer-nitro5 root=UUID=ed38f270-fe21-44b3-b15b-9f884dcb93c0 ro splash acpi_osi=Linux acpi_backlight=native quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.12.5.1-acer-nitro5
	}
	menuentry 'Debian GNU/Linux, with Linux 6.12.5.1-acer-nitro5 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.5.1-acer-nitro5-recovery-ed38f270-fe21-44b3-b15b-9f884dcb93c0' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ed38f270-fe21-44b3-b15b-9f884dcb93c0
		echo	'Loading Linux 6.12.5.1-acer-nitro5 ...'
		linux	/boot/vmlinuz-6.12.5.1-acer-nitro5 root=UUID=ed38f270-fe21-44b3-b15b-9f884dcb93c0 ro single dis_ucode_ldr splash acpi_osi=Linux acpi_backlight=native
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.12.5.1-acer-nitro5
	}
	menuentry 'Debian GNU/Linux, with Linux 6.12.3.1-acer-nitro5' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.3.1-acer-nitro5-advanced-ed38f270-fe21-44b3-b15b-9f884dcb93c0' {
	savedefault
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ed38f270-fe21-44b3-b15b-9f884dcb93c0
		echo	'Loading Linux 6.12.3.1-acer-nitro5 ...'
		linux	/boot/vmlinuz-6.12.3.1-acer-nitro5 root=UUID=ed38f270-fe21-44b3-b15b-9f884dcb93c0 ro splash acpi_osi=Linux acpi_backlight=native quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.12.3.1-acer-nitro5
	}
	menuentry 'Debian GNU/Linux, with Linux 6.12.3.1-acer-nitro5 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.3.1-acer-nitro5-recovery-ed38f270-fe21-44b3-b15b-9f884dcb93c0' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ed38f270-fe21-44b3-b15b-9f884dcb93c0
		echo	'Loading Linux 6.12.3.1-acer-nitro5 ...'
		linux	/boot/vmlinuz-6.12.3.1-acer-nitro5 root=UUID=ed38f270-fe21-44b3-b15b-9f884dcb93c0 ro single dis_ucode_ldr splash acpi_osi=Linux acpi_backlight=native
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.12.3.1-acer-nitro5
	}
	menuentry 'Debian GNU/Linux, with Linux 6.11.10.1-acer-nitro5' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.11.10.1-acer-nitro5-advanced-ed38f270-fe21-44b3-b15b-9f884dcb93c0' {
	savedefault
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ed38f270-fe21-44b3-b15b-9f884dcb93c0
		echo	'Loading Linux 6.11.10.1-acer-nitro5 ...'
		linux	/boot/vmlinuz-6.11.10.1-acer-nitro5 root=UUID=ed38f270-fe21-44b3-b15b-9f884dcb93c0 ro splash acpi_osi=Linux acpi_backlight=native quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.11.10.1-acer-nitro5
	}
	menuentry 'Debian GNU/Linux, with Linux 6.11.10.1-acer-nitro5 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.11.10.1-acer-nitro5-recovery-ed38f270-fe21-44b3-b15b-9f884dcb93c0' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ed38f270-fe21-44b3-b15b-9f884dcb93c0
		echo	'Loading Linux 6.11.10.1-acer-nitro5 ...'
		linux	/boot/vmlinuz-6.11.10.1-acer-nitro5 root=UUID=ed38f270-fe21-44b3-b15b-9f884dcb93c0 ro single dis_ucode_ldr splash acpi_osi=Linux acpi_backlight=native
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.11.10.1-acer-nitro5
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/25_bli ###
if [ "$grub_platform" = "efi" ]; then
  insmod bli
fi
### END /etc/grub.d/25_bli ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)' --class windows --class os $menuentry_id_option 'osprober-efi-A8F2-6DD2' {
	savedefault
	insmod part_gpt
	insmod fat
	search --no-floppy --fs-uuid --set=root A8F2-6DD2
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
	fwsetup --is-supported
	if [ "$?" = 0 ]; then
		menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
			fwsetup
		}
	fi
fi
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Jan  6 09:04 ata-Samsung_SSD_840_EVO_120GB_S1D5NSBDB50111T -> ../../sda
lrwxrwxrwx 1 root root 10 Jan  6 09:04 ata-Samsung_SSD_840_EVO_120GB_S1D5NSBDB50111T-part1 -> ../../sda1
lrwxrwxrwx 1 root root 13 Jan  6 09:04 nvme-Force_MP510_21048236000128865366 -> ../../nvme1n1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-Force_MP510_21048236000128865366-part1 -> ../../nvme1n1p1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-Force_MP510_21048236000128865366-part3 -> ../../nvme1n1p3
lrwxrwxrwx 1 root root 13 Jan  6 09:04 nvme-Force_MP510_21048236000128865366_1 -> ../../nvme1n1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-Force_MP510_21048236000128865366_1-part1 -> ../../nvme1n1p1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-Force_MP510_21048236000128865366_1-part3 -> ../../nvme1n1p3
lrwxrwxrwx 1 root root 13 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168 -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168-part3 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168-part4 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168-part5 -> ../../nvme0n1p5
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168-part7 -> ../../nvme0n1p7
lrwxrwxrwx 1 root root 13 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168_1 -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168_1-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168_1-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168_1-part3 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168_1-part4 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168_1-part5 -> ../../nvme0n1p5
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0RB05168_1-part7 -> ../../nvme0n1p7
lrwxrwxrwx 1 root root 13 Jan  6 09:04 nvme-eui.002538bb11b36bfb -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-eui.002538bb11b36bfb-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-eui.002538bb11b36bfb-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-eui.002538bb11b36bfb-part3 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-eui.002538bb11b36bfb-part4 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-eui.002538bb11b36bfb-part5 -> ../../nvme0n1p5
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-eui.002538bb11b36bfb-part7 -> ../../nvme0n1p7
lrwxrwxrwx 1 root root 13 Jan  6 09:04 nvme-nvme.1987-3231303438323336303030313238383635333636-466f726365204d50353130-00000001 -> ../../nvme1n1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-nvme.1987-3231303438323336303030313238383635333636-466f726365204d50353130-00000001-part1 -> ../../nvme1n1p1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 nvme-nvme.1987-3231303438323336303030313238383635333636-466f726365204d50353130-00000001-part3 -> ../../nvme1n1p3
lrwxrwxrwx 1 root root  9 Jan  6 09:04 wwn-0x50025388a01051fb -> ../../sda
lrwxrwxrwx 1 root root 10 Jan  6 09:04 wwn-0x50025388a01051fb-part1 -> ../../sda1
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 15 Jan  6 09:04 0C3CF3283CF30C08 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 15 Jan  6 09:04 1E8A6DE86A0B0441 -> ../../nvme1n1p1
lrwxrwxrwx 1 root root 10 Jan  6 09:04 54D4655C1E47D34E -> ../../sda1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 6d656e83-31bd-4fca-8b28-9e14ec334d7c -> ../../nvme1n1p3
lrwxrwxrwx 1 root root 15 Jan  6 09:04 A8F2-6DD2 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Jan  6 09:04 FE68F3F168F3A695 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 Jan  6 09:04 ed38f270-fe21-44b3-b15b-9f884dcb93c0 -> ../../nvme0n1p5
lrwxrwxrwx 1 root root 15 Jan  6 09:04 f83c65e6-48fe-4ada-ae79-7a7a9efd60c9 -> ../../nvme0n1p7
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.8.1-acer-nitro5 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:it:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages grub-common depends on:
ii  gettext-base        0.22.5-3
ii  libc6               2.40-5
ii  libdevmapper1.02.1  2:1.02.201-1
ii  libefiboot1t64      38-3.1+b1
ii  libefivar1t64       38-3.1+b1
ii  libfreetype6        2.13.3+dfsg-1
ii  libfuse3-3          3.14.0-10
ii  liblzma5            5.6.3-1+b1

Versions of packages grub-common recommends:
ii  os-prober  1.83

Versions of packages grub-common suggests:
pn  console-setup  <none>
ii  desktop-base   13.0.0~pre1
pn  grub-emu       <none>
pn  mtools         <none>
pn  multiboot-doc  <none>
pn  xorriso        <none>

-- no debconf information



More information about the Pkg-grub-devel mailing list