Bug#1025352: grub2: Unable to present non-ASCII character

Bob Wong ybx332 at gmail.com
Sat Dec 3 02:07:59 GMT 2022


Package: grub2
Version: 2.06-5
Severity: normal
X-Debbugs-Cc: ybx332 at gmail.com

Dear Maintainer,

After the update, the grub can only present the ASCII character which means the
frame and the arrow keys cannot be presented and was replaced by ?. I tried to
edit the grub.cfg to change the location of the unicode.pf2 but still get the
same error. It happens on all of my three computers.


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda1 / ext4 rw,relatime,errors=remount-ro 0 0
/dev/sdb1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/sdc1 /home ext4 rw,relatime 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="0"
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
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
else
  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
fi
    font="/boot/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=zh_CN
  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
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
else
  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
fi
insmod png
if background_image /usr/share/desktop-base/homeworld-theme/grub/grub-4x3.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-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
	else
	  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
	fi
	echo	'Loading Linux 6.0.0-5-amd64 ...'
	linux	/boot/vmlinuz-6.0.0-5-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-6.0.0-5-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
	menuentry 'Debian GNU/Linux, with Linux 6.0.0-5-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.0.0-5-amd64-advanced-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 6.0.0-5-amd64 ...'
		linux	/boot/vmlinuz-6.0.0-5-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.0.0-5-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.0.0-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.0.0-5-amd64-recovery-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 6.0.0-5-amd64 ...'
		linux	/boot/vmlinuz-6.0.0-5-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.0.0-5-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.0.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.0.0-4-amd64-advanced-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 6.0.0-4-amd64 ...'
		linux	/boot/vmlinuz-6.0.0-4-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.0.0-4-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.0.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.0.0-4-amd64-recovery-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 6.0.0-4-amd64 ...'
		linux	/boot/vmlinuz-6.0.0-4-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.0.0-4-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.16.0-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.16.0-1-amd64-advanced-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 5.16.0-1-amd64 ...'
		linux	/boot/vmlinuz-5.16.0-1-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.16.0-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.16.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.16.0-1-amd64-recovery-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 5.16.0-1-amd64 ...'
		linux	/boot/vmlinuz-5.16.0-1-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.16.0-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.15.0-3-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-3-amd64-advanced-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 5.15.0-3-amd64 ...'
		linux	/boot/vmlinuz-5.15.0-3-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.15.0-3-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.15.0-3-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-3-amd64-recovery-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 5.15.0-3-amd64 ...'
		linux	/boot/vmlinuz-5.15.0-3-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.15.0-3-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.14.0-2-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.14.0-2-amd64-advanced-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 5.14.0-2-amd64 ...'
		linux	/boot/vmlinuz-5.14.0-2-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.14.0-2-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.14.0-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.14.0-2-amd64-recovery-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 5.14.0-2-amd64 ...'
		linux	/boot/vmlinuz-5.14.0-2-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.14.0-2-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.14.0-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.14.0-1-amd64-advanced-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 5.14.0-1-amd64 ...'
		linux	/boot/vmlinuz-5.14.0-1-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.14.0-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.14.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.14.0-1-amd64-recovery-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 5.14.0-1-amd64 ...'
		linux	/boot/vmlinuz-5.14.0-1-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.14.0-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.10.0-8-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-8-amd64-advanced-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 5.10.0-8-amd64 ...'
		linux	/boot/vmlinuz-5.10.0-8-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-8-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.10.0-8-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-8-amd64-recovery-a5479fa5-b6b1-4a84-ac35-c5a9a06f9598' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		else
		  search --no-floppy --fs-uuid --set=root a5479fa5-b6b1-4a84-ac35-c5a9a06f9598
		fi
		echo	'Loading Linux 5.10.0-8-amd64 ...'
		linux	/boot/vmlinuz-5.10.0-8-amd64 root=UUID=a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-8-amd64
	}
}

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

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

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

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-62E7-E414' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  62E7-E414
	else
	  search --no-floppy --fs-uuid --set=root 62E7-E414
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### 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 LVM
*********************** END LVM

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Dec  3 10:01 ata-SDEZS25-240G-Z01_182766801060 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec  3 10:01 ata-SDEZS25-240G-Z01_182766801060-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 Dec  3 10:01 ata-Teclast_480GB_A800_AA000000005290006183 -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec  3 10:01 ata-Teclast_480GB_A800_AA000000005290006183-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec  3 10:01 ata-Teclast_480GB_A800_AA000000005290006183-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Dec  3 10:01 ata-Teclast_480GB_A800_AA000000005290006183-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 Dec  3 10:01 ata-WDC_WD10EZEX-08WN4A0_WD-WCC6Y5RX07S2 -> ../../sdc
lrwxrwxrwx 1 root root 10 Dec  3 10:01 ata-WDC_WD10EZEX-08WN4A0_WD-WCC6Y5RX07S2-part1 -> ../../sdc1
lrwxrwxrwx 1 root root  9 Dec  3 10:01 ata-WDC_WD20EZBX-08AYR_WD-WXH2A31NPYK5 -> ../../sdd
lrwxrwxrwx 1 root root 10 Dec  3 10:01 ata-WDC_WD20EZBX-08AYR_WD-WXH2A31NPYK5-part1 -> ../../sdd1
lrwxrwxrwx 1 root root  9 Dec  3 10:01 wwn-0x50014ee210129162 -> ../../sdc
lrwxrwxrwx 1 root root 10 Dec  3 10:01 wwn-0x50014ee210129162-part1 -> ../../sdc1
lrwxrwxrwx 1 root root  9 Dec  3 10:01 wwn-0x50014ee214730af7 -> ../../sdd
lrwxrwxrwx 1 root root 10 Dec  3 10:01 wwn-0x50014ee214730af7-part1 -> ../../sdd1
lrwxrwxrwx 1 root root  9 Dec  3 10:01 wwn-0x5001b448b6f6d6a4 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec  3 10:01 wwn-0x5001b448b6f6d6a4-part1 -> ../../sda1
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Dec  3 10:01 62E7-E414 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec  3 10:01 AECDD7618E2FAC30 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Dec  3 10:01 E24A61C34A619557 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Dec  3 10:01 E2AEFDFAAEFDC6D7 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Dec  3 10:01 a5479fa5-b6b1-4a84-ac35-c5a9a06f9598 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec  3 10:01 e16b1f84-50e7-46ba-8ed6-e85e58727aff -> ../../sdc1
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-5-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=zh_CN:zh
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages grub2 depends on:
ii  grub-common  2.06-5
ii  grub-pc      2.06-5

grub2 recommends no packages.

grub2 suggests no packages.

-- no debconf information



More information about the Pkg-grub-devel mailing list