Bug#1034420: grub-efi-amd64: Package update fails with error: installation script subprocess returned error exit status 128

Andrea Palazzi palazziandrea at yahoo.it
Fri Apr 14 20:23:03 BST 2023


Package: grub-efi-amd64
Version: 2.06-8
Severity: important
X-Debbugs-Cc: palazziandrea at yahoo.it

Dear Maintainer,
   * What led up to the situation?
updating the system with apt update && apt upgrade

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
apt-update && apt-upgrade

   * What was the outcome of this action?
Setting up grub-efi-amd64 (2.06-8) ...
dpkg: error processing package grub-efi-amd64 (--configure):
 installed grub-efi-amd64 package post-installation script subprocess returned error exit status 128
dpkg: dependency problems prevent configuration of grub-efi:
 grub-efi depends on grub-efi-amd64 (= 2.06-8); however:
  Package grub-efi-amd64 is not configured yet.

dpkg: error processing package grub-efi (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 grub-efi-amd64
 grub-efi
E: Sub-process /usr/bin/dpkg returned an error code (1)

   * What outcome did you expect instead?
An update without errors.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda2 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,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="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 part_gpt
insmod part_gpt
insmod part_gpt
insmod part_gpt
insmod part_gpt
insmod zfs
set root='hd2,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  --hint-bios=hd6,gpt3 --hint-efi=hd6,gpt3 --hint-baremetal=ahci6,gpt3  --hint-bios=hd5,gpt3 --hint-efi=hd5,gpt3 --hint-baremetal=ahci5,gpt3  --hint-bios=hd4,gpt3 --hint-efi=hd4,gpt3 --hint-baremetal=ahci4,gpt3  --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  1f9ee6c758e35b0b
else
  search --no-floppy --fs-uuid --set=root 1f9ee6c758e35b0b
fi
    font="/BOOT/debian@/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 part_gpt
insmod part_gpt
insmod part_gpt
insmod part_gpt
insmod part_gpt
insmod zfs
set root='hd2,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  --hint-bios=hd6,gpt3 --hint-efi=hd6,gpt3 --hint-baremetal=ahci6,gpt3  --hint-bios=hd5,gpt3 --hint-efi=hd5,gpt3 --hint-baremetal=ahci5,gpt3  --hint-bios=hd4,gpt3 --hint-efi=hd4,gpt3 --hint-baremetal=ahci4,gpt3  --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  1f9ee6c758e35b0b
else
  search --no-floppy --fs-uuid --set=root 1f9ee6c758e35b0b
fi
insmod png
if background_image /BOOT/debian@/grub/.background_cache.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-/dev/sdc4_/dev/sdg4_/dev/sdf4_/dev/sde4_/dev/sda4_/dev/sdb4_/dev/nvme0n1p5_/dev/nvme0n1p6' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod part_gpt
	insmod part_gpt
	insmod part_gpt
	insmod part_gpt
	insmod part_gpt
	insmod zfs
	set root='hd2,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  --hint-bios=hd6,gpt3 --hint-efi=hd6,gpt3 --hint-baremetal=ahci6,gpt3  --hint-bios=hd5,gpt3 --hint-efi=hd5,gpt3 --hint-baremetal=ahci5,gpt3  --hint-bios=hd4,gpt3 --hint-efi=hd4,gpt3 --hint-baremetal=ahci4,gpt3  --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  1f9ee6c758e35b0b
	else
	  search --no-floppy --fs-uuid --set=root 1f9ee6c758e35b0b
	fi
	echo	'Loading Linux 6.1.0-7-amd64 ...'
	linux	/BOOT/debian@/vmlinuz-6.1.0-7-amd64 root=ZFS=/ROOT/debian ro root=ZFS=rpool/ROOT/debian amd_iommu=on iommu=pt kvm.ignore_msrs=1 kvm_amd.npt=1 kvm_amd.avic=1 video=efifb:off video=vesafb:off video=simplefb:off vfio-pci.ids=1002:73ff,1022:1487
# amdgpu.gpu_recovery=0
	echo	'Loading initial ramdisk ...'
	initrd	/BOOT/debian@/initrd.img-6.1.0-7-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-/dev/sdc4_/dev/sdg4_/dev/sdf4_/dev/sde4_/dev/sda4_/dev/sdb4_/dev/nvme0n1p5_/dev/nvme0n1p6' {
	menuentry 'Debian GNU/Linux, with Linux 6.1.0-7-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-7-amd64-advanced-/dev/sdc4_/dev/sdg4_/dev/sdf4_/dev/sde4_/dev/sda4_/dev/sdb4_/dev/nvme0n1p5_/dev/nvme0n1p6' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod zfs
		set root='hd2,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  --hint-bios=hd6,gpt3 --hint-efi=hd6,gpt3 --hint-baremetal=ahci6,gpt3  --hint-bios=hd5,gpt3 --hint-efi=hd5,gpt3 --hint-baremetal=ahci5,gpt3  --hint-bios=hd4,gpt3 --hint-efi=hd4,gpt3 --hint-baremetal=ahci4,gpt3  --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  1f9ee6c758e35b0b
		else
		  search --no-floppy --fs-uuid --set=root 1f9ee6c758e35b0b
		fi
		echo	'Loading Linux 6.1.0-7-amd64 ...'
		linux	/BOOT/debian@/vmlinuz-6.1.0-7-amd64 root=ZFS=/ROOT/debian ro root=ZFS=rpool/ROOT/debian amd_iommu=on iommu=pt kvm.ignore_msrs=1 kvm_amd.npt=1 kvm_amd.avic=1 video=efifb:off video=vesafb:off video=simplefb:off vfio-pci.ids=1002:73ff,1022:1487
	# amdgpu.gpu_recovery=0
		echo	'Loading initial ramdisk ...'
		initrd	/BOOT/debian@/initrd.img-6.1.0-7-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.1.0-7-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-7-amd64-recovery-/dev/sdc4_/dev/sdg4_/dev/sdf4_/dev/sde4_/dev/sda4_/dev/sdb4_/dev/nvme0n1p5_/dev/nvme0n1p6' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod zfs
		set root='hd2,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  --hint-bios=hd6,gpt3 --hint-efi=hd6,gpt3 --hint-baremetal=ahci6,gpt3  --hint-bios=hd5,gpt3 --hint-efi=hd5,gpt3 --hint-baremetal=ahci5,gpt3  --hint-bios=hd4,gpt3 --hint-efi=hd4,gpt3 --hint-baremetal=ahci4,gpt3  --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  1f9ee6c758e35b0b
		else
		  search --no-floppy --fs-uuid --set=root 1f9ee6c758e35b0b
		fi
		echo	'Loading Linux 6.1.0-7-amd64 ...'
		linux	/BOOT/debian@/vmlinuz-6.1.0-7-amd64 root=ZFS=/ROOT/debian ro single root=ZFS=rpool/ROOT/debian
		echo	'Loading initial ramdisk ...'
		initrd	/BOOT/debian@/initrd.img-6.1.0-7-amd64
	}
	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-/dev/sdc4_/dev/sdg4_/dev/sdf4_/dev/sde4_/dev/sda4_/dev/sdb4_/dev/nvme0n1p5_/dev/nvme0n1p6' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod zfs
		set root='hd2,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  --hint-bios=hd6,gpt3 --hint-efi=hd6,gpt3 --hint-baremetal=ahci6,gpt3  --hint-bios=hd5,gpt3 --hint-efi=hd5,gpt3 --hint-baremetal=ahci5,gpt3  --hint-bios=hd4,gpt3 --hint-efi=hd4,gpt3 --hint-baremetal=ahci4,gpt3  --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  1f9ee6c758e35b0b
		else
		  search --no-floppy --fs-uuid --set=root 1f9ee6c758e35b0b
		fi
		echo	'Loading Linux 6.0.0-5-amd64 ...'
		linux	/BOOT/debian@/vmlinuz-6.0.0-5-amd64 root=ZFS=/ROOT/debian ro root=ZFS=rpool/ROOT/debian amd_iommu=on iommu=pt kvm.ignore_msrs=1 kvm_amd.npt=1 kvm_amd.avic=1 video=efifb:off video=vesafb:off video=simplefb:off vfio-pci.ids=1002:73ff,1022:1487
	# amdgpu.gpu_recovery=0
		echo	'Loading initial ramdisk ...'
		initrd	/BOOT/debian@/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-/dev/sdc4_/dev/sdg4_/dev/sdf4_/dev/sde4_/dev/sda4_/dev/sdb4_/dev/nvme0n1p5_/dev/nvme0n1p6' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod zfs
		set root='hd2,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  --hint-bios=hd6,gpt3 --hint-efi=hd6,gpt3 --hint-baremetal=ahci6,gpt3  --hint-bios=hd5,gpt3 --hint-efi=hd5,gpt3 --hint-baremetal=ahci5,gpt3  --hint-bios=hd4,gpt3 --hint-efi=hd4,gpt3 --hint-baremetal=ahci4,gpt3  --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  1f9ee6c758e35b0b
		else
		  search --no-floppy --fs-uuid --set=root 1f9ee6c758e35b0b
		fi
		echo	'Loading Linux 6.0.0-5-amd64 ...'
		linux	/BOOT/debian@/vmlinuz-6.0.0-5-amd64 root=ZFS=/ROOT/debian ro single root=ZFS=rpool/ROOT/debian
		echo	'Loading initial ramdisk ...'
		initrd	/BOOT/debian@/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-/dev/sdc4_/dev/sdg4_/dev/sdf4_/dev/sde4_/dev/sda4_/dev/sdb4_/dev/nvme0n1p5_/dev/nvme0n1p6' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod zfs
		set root='hd2,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  --hint-bios=hd6,gpt3 --hint-efi=hd6,gpt3 --hint-baremetal=ahci6,gpt3  --hint-bios=hd5,gpt3 --hint-efi=hd5,gpt3 --hint-baremetal=ahci5,gpt3  --hint-bios=hd4,gpt3 --hint-efi=hd4,gpt3 --hint-baremetal=ahci4,gpt3  --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  1f9ee6c758e35b0b
		else
		  search --no-floppy --fs-uuid --set=root 1f9ee6c758e35b0b
		fi
		echo	'Loading Linux 6.0.0-4-amd64 ...'
		linux	/BOOT/debian@/vmlinuz-6.0.0-4-amd64 root=ZFS=/ROOT/debian ro root=ZFS=rpool/ROOT/debian amd_iommu=on iommu=pt kvm.ignore_msrs=1 kvm_amd.npt=1 kvm_amd.avic=1 video=efifb:off video=vesafb:off video=simplefb:off vfio-pci.ids=1002:73ff,1022:1487
	# amdgpu.gpu_recovery=0
		echo	'Loading initial ramdisk ...'
		initrd	/BOOT/debian@/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-/dev/sdc4_/dev/sdg4_/dev/sdf4_/dev/sde4_/dev/sda4_/dev/sdb4_/dev/nvme0n1p5_/dev/nvme0n1p6' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod zfs
		set root='hd2,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  --hint-bios=hd6,gpt3 --hint-efi=hd6,gpt3 --hint-baremetal=ahci6,gpt3  --hint-bios=hd5,gpt3 --hint-efi=hd5,gpt3 --hint-baremetal=ahci5,gpt3  --hint-bios=hd4,gpt3 --hint-efi=hd4,gpt3 --hint-baremetal=ahci4,gpt3  --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  1f9ee6c758e35b0b
		else
		  search --no-floppy --fs-uuid --set=root 1f9ee6c758e35b0b
		fi
		echo	'Loading Linux 6.0.0-4-amd64 ...'
		linux	/BOOT/debian@/vmlinuz-6.0.0-4-amd64 root=ZFS=/ROOT/debian ro single root=ZFS=rpool/ROOT/debian
		echo	'Loading initial ramdisk ...'
		initrd	/BOOT/debian@/initrd.img-6.0.0-4-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.19.0-2-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-2-amd64-advanced-/dev/sdc4_/dev/sdg4_/dev/sdf4_/dev/sde4_/dev/sda4_/dev/sdb4_/dev/nvme0n1p5_/dev/nvme0n1p6' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod zfs
		set root='hd2,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  --hint-bios=hd6,gpt3 --hint-efi=hd6,gpt3 --hint-baremetal=ahci6,gpt3  --hint-bios=hd5,gpt3 --hint-efi=hd5,gpt3 --hint-baremetal=ahci5,gpt3  --hint-bios=hd4,gpt3 --hint-efi=hd4,gpt3 --hint-baremetal=ahci4,gpt3  --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  1f9ee6c758e35b0b
		else
		  search --no-floppy --fs-uuid --set=root 1f9ee6c758e35b0b
		fi
		echo	'Loading Linux 5.19.0-2-amd64 ...'
		linux	/BOOT/debian@/vmlinuz-5.19.0-2-amd64 root=ZFS=/ROOT/debian ro root=ZFS=rpool/ROOT/debian amd_iommu=on iommu=pt kvm.ignore_msrs=1 kvm_amd.npt=1 kvm_amd.avic=1 video=efifb:off video=vesafb:off video=simplefb:off vfio-pci.ids=1002:73ff,1022:1487
	# amdgpu.gpu_recovery=0
		echo	'Loading initial ramdisk ...'
		initrd	/BOOT/debian@/initrd.img-5.19.0-2-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.19.0-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-2-amd64-recovery-/dev/sdc4_/dev/sdg4_/dev/sdf4_/dev/sde4_/dev/sda4_/dev/sdb4_/dev/nvme0n1p5_/dev/nvme0n1p6' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod part_gpt
		insmod zfs
		set root='hd2,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  --hint-bios=hd6,gpt3 --hint-efi=hd6,gpt3 --hint-baremetal=ahci6,gpt3  --hint-bios=hd5,gpt3 --hint-efi=hd5,gpt3 --hint-baremetal=ahci5,gpt3  --hint-bios=hd4,gpt3 --hint-efi=hd4,gpt3 --hint-baremetal=ahci4,gpt3  --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  1f9ee6c758e35b0b
		else
		  search --no-floppy --fs-uuid --set=root 1f9ee6c758e35b0b
		fi
		echo	'Loading Linux 5.19.0-2-amd64 ...'
		linux	/BOOT/debian@/vmlinuz-5.19.0-2-amd64 root=ZFS=/ROOT/debian ro single root=ZFS=rpool/ROOT/debian
		echo	'Loading initial ramdisk ...'
		initrd	/BOOT/debian@/initrd.img-5.19.0-2-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/20_memtest86 ###
menuentry "Memory test (memtest86)" {
	linux16	/BOOT/debian@/memtest86.bin
}
### END /etc/grub.d/20_memtest86 ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+x64.efi)" {
	insmod part_gpt
	insmod part_gpt
	insmod part_gpt
	insmod part_gpt
	insmod part_gpt
	insmod part_gpt
	insmod zfs
	set root='hd2,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  --hint-bios=hd6,gpt3 --hint-efi=hd6,gpt3 --hint-baremetal=ahci6,gpt3  --hint-bios=hd5,gpt3 --hint-efi=hd5,gpt3 --hint-baremetal=ahci5,gpt3  --hint-bios=hd4,gpt3 --hint-efi=hd4,gpt3 --hint-baremetal=ahci4,gpt3  --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  1f9ee6c758e35b0b
	else
	  search --no-floppy --fs-uuid --set=root 1f9ee6c758e35b0b
	fi
        linuxefi        /BOOT/debian@/memtest86+x64.efi
}
menuentry 'Memory test (memtest86+x64.efi, serial console)' {
	insmod part_gpt
	insmod part_gpt
	insmod part_gpt
	insmod part_gpt
	insmod part_gpt
	insmod part_gpt
	insmod zfs
	set root='hd2,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  --hint-bios=hd6,gpt3 --hint-efi=hd6,gpt3 --hint-baremetal=ahci6,gpt3  --hint-bios=hd5,gpt3 --hint-efi=hd5,gpt3 --hint-baremetal=ahci5,gpt3  --hint-bios=hd4,gpt3 --hint-efi=hd4,gpt3 --hint-baremetal=ahci4,gpt3  --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  1f9ee6c758e35b0b
	else
	  search --no-floppy --fs-uuid --set=root 1f9ee6c758e35b0b
	fi
        linuxefi	/BOOT/debian@/memtest86+x64.efi console=ttyS0,115200
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 Apr 14 20:35 ata-ST2000DM001-1ER164_Z5608CQ7 -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM001-1ER164_Z5608CQ7-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM001-1ER164_Z5608CQ7-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM001-1ER164_Z5608CQ7-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM001-1ER164_Z5608CQ7-part4 -> ../../sdb4
lrwxrwxrwx 1 root root  9 Apr 14 20:35 ata-ST2000DM006-2DM164_Z4ZAMLX9 -> ../../sdc
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM006-2DM164_Z4ZAMLX9-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM006-2DM164_Z4ZAMLX9-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM006-2DM164_Z4ZAMLX9-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM006-2DM164_Z4ZAMLX9-part4 -> ../../sdc4
lrwxrwxrwx 1 root root  9 Apr 14 20:35 ata-ST2000DM006-2DM164_Z4ZAQ5ZH -> ../../sde
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM006-2DM164_Z4ZAQ5ZH-part1 -> ../../sde1
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM006-2DM164_Z4ZAQ5ZH-part2 -> ../../sde2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM006-2DM164_Z4ZAQ5ZH-part3 -> ../../sde3
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM006-2DM164_Z4ZAQ5ZH-part4 -> ../../sde4
lrwxrwxrwx 1 root root  9 Apr 14 20:35 ata-ST2000DM008-2FR102_WFL2SYYG -> ../../sdg
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM008-2FR102_WFL2SYYG-part1 -> ../../sdg1
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM008-2FR102_WFL2SYYG-part2 -> ../../sdg2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM008-2FR102_WFL2SYYG-part3 -> ../../sdg3
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM008-2FR102_WFL2SYYG-part4 -> ../../sdg4
lrwxrwxrwx 1 root root  9 Apr 14 20:35 ata-ST2000DM008-2FR102_WFL353JL -> ../../sdf
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM008-2FR102_WFL353JL-part1 -> ../../sdf1
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM008-2FR102_WFL353JL-part2 -> ../../sdf2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM008-2FR102_WFL353JL-part3 -> ../../sdf3
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-ST2000DM008-2FR102_WFL353JL-part4 -> ../../sdf4
lrwxrwxrwx 1 root root  9 Apr 14 20:35 ata-TOSHIBA_HDWA120_86140KXGS -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-TOSHIBA_HDWA120_86140KXGS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-TOSHIBA_HDWA120_86140KXGS-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-TOSHIBA_HDWA120_86140KXGS-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Apr 14 20:35 ata-TOSHIBA_HDWA120_86140KXGS-part4 -> ../../sda4
lrwxrwxrwx 1 root root 13 Apr 14 20:35 nvme-KINGSTON_SNV2S2000G_50026B7686223AFF -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Apr 14 20:35 nvme-KINGSTON_SNV2S2000G_50026B7686223AFF-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Apr 14 20:35 nvme-KINGSTON_SNV2S2000G_50026B7686223AFF-part4 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 Apr 14 20:35 nvme-KINGSTON_SNV2S2000G_50026B7686223AFF-part5 -> ../../nvme0n1p5
lrwxrwxrwx 1 root root 15 Apr 14 20:35 nvme-KINGSTON_SNV2S2000G_50026B7686223AFF-part6 -> ../../nvme0n1p6
lrwxrwxrwx 1 root root 13 Apr 14 20:35 nvme-eui.00000000000000000026b7686223aff5 -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Apr 14 20:35 nvme-eui.00000000000000000026b7686223aff5-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Apr 14 20:35 nvme-eui.00000000000000000026b7686223aff5-part4 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 Apr 14 20:35 nvme-eui.00000000000000000026b7686223aff5-part5 -> ../../nvme0n1p5
lrwxrwxrwx 1 root root 15 Apr 14 20:35 nvme-eui.00000000000000000026b7686223aff5-part6 -> ../../nvme0n1p6
lrwxrwxrwx 1 root root  9 Apr 14 20:35 wwn-0x5000039fe5c1d3a7 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000039fe5c1d3a7-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000039fe5c1d3a7-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000039fe5c1d3a7-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000039fe5c1d3a7-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Apr 14 20:35 wwn-0x5000c500922c0f6e -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500922c0f6e-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500922c0f6e-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500922c0f6e-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500922c0f6e-part4 -> ../../sdb4
lrwxrwxrwx 1 root root  9 Apr 14 20:35 wwn-0x5000c500b058b4ad -> ../../sde
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500b058b4ad-part1 -> ../../sde1
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500b058b4ad-part2 -> ../../sde2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500b058b4ad-part3 -> ../../sde3
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500b058b4ad-part4 -> ../../sde4
lrwxrwxrwx 1 root root  9 Apr 14 20:35 wwn-0x5000c500b05a8fcf -> ../../sdc
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500b05a8fcf-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500b05a8fcf-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500b05a8fcf-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500b05a8fcf-part4 -> ../../sdc4
lrwxrwxrwx 1 root root  9 Apr 14 20:35 wwn-0x5000c500cbf00940 -> ../../sdg
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500cbf00940-part1 -> ../../sdg1
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500cbf00940-part2 -> ../../sdg2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500cbf00940-part3 -> ../../sdg3
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500cbf00940-part4 -> ../../sdg4
lrwxrwxrwx 1 root root  9 Apr 14 20:35 wwn-0x5000c500cced607b -> ../../sdf
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500cced607b-part1 -> ../../sdf1
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500cced607b-part2 -> ../../sdf2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500cced607b-part3 -> ../../sdf3
lrwxrwxrwx 1 root root 10 Apr 14 20:35 wwn-0x5000c500cced607b-part4 -> ../../sdf4
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Apr 14 20:35 1129-0EDF -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 125A-46A0 -> ../../sdf2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 12B6-7C65 -> ../../sdg2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 13987530445342320000 -> ../../sda4
lrwxrwxrwx 1 root root 10 Apr 14 20:35 1A5D-C7EA -> ../../sdb2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 2278512205360225035 -> ../../sda3
lrwxrwxrwx 1 root root  9 Apr 14 20:35 2b45de75-9d74-4528-b586-c5327a36422a -> ../../zd0
lrwxrwxrwx 1 root root 10 Apr 14 20:35 8721-8106 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Apr 14 20:35 8766-C1DB -> ../../sde2
lrwxrwxrwx 1 root root 15 Apr 14 20:35 d9ecd999-030c-40c9-9d0e-b8027f91f27d -> ../../nvme0n1p4
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: 12.0
  APT prefers testing
  APT policy: (990, 'testing'), (700, 'unstable')
Architecture: amd64 (x86_64)

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

Versions of packages grub-efi-amd64 depends on:
ii  debconf [debconf-2.0]  1.5.82
ii  grub-common            2.06-8
ii  grub-efi-amd64-bin     2.06-8
ii  grub2-common           2.06-8
ii  ucf                    3.0043+nmu1

grub-efi-amd64 recommends no packages.

grub-efi-amd64 suggests no packages.

-- debconf information:
  grub2/force_efi_extra_removable: false
  grub2/update_nvram: true
  grub2/linux_cmdline: root=ZFS=rpool/ROOT/debian
  grub2/kfreebsd_cmdline:
  grub2/linux_cmdline_default: amd_iommu=on iommu=pt kvm.ignore_msrs=1 kvm_amd.npt=1 kvm_amd.avic=1 video=efifb:off video=vesafb:off video=simplefb:off vfio-pci.ids=1002:73ff,1022:1487
  grub2/kfreebsd_cmdline_default: quiet



More information about the Pkg-grub-devel mailing list