Bug#841051: Can't open /grub-mkconfig_lib on upgrade due to empty $pkgdatadir

Martin Steigerwald Martin at Lichtvoll.de
Mon Oct 17 08:28:56 UTC 2016


Package: grub-pc
Version: 2.02~beta3-1
Severity: important

Dear Maintainer,

On upgrading grub-pc I get this:

merkaba:~> LANG=C apt purge pinentry-gnome3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'pinentry-gnome3' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.02~beta3-1) ...
device node not found
device node not found
device node not found
device node not found
Installing for i386-pc platform.
Installation finished. No error reported.
Installing for i386-pc platform.
Installation finished. No error reported.
Generating grub configuration file ...
/etc/grub.d/00_header: 30: .: Can't open /grub-mkconfig_lib
dpkg: error processing package grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 grub-pc
======  How can you help?  (doc: https://wiki.debian.org/how-can-i-help ) ======

-----  Show old opportunities as well as new ones: how-can-i-help --old  -----
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
merkaba:~#100> echo $?
100


Inserting

echo "pkgdatadir: $pkgdatadir" > /tmp/pkgdatadir

into the script leads to:

merkaba:~#100> cat /tmp/pkgdatadir 
pkgdatadir:

so it seems that variable is not properly initialized.


I hope previous GRUB install is still fine and I can reboot the machine
properly.

Thanks,
Martin


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/sata-debian / btrfs rw,noatime,compress=lzo,ssd,space_cache,subvolid=256,subvol=/debian 0 0
/dev/mapper/sata-debian /mnt/debian-zeit btrfs rw,noatime,compress=lzo,ssd,space_cache,subvolid=324,subvol=/zeit 0 0
/dev/mapper/sata-build /mnt/build ext4 rw,noatime,data=ordered 0 0
/dev/mapper/sata-build /var/cache/lxc ext4 rw,noatime,data=ordered 0 0
/dev/mapper/sata-build /var/lib/lxc ext4 rw,noatime,data=ordered 0 0
/dev/sdb2 /boot ext4 rw,noatime,stripe=4,data=ordered 0 0
/dev/mapper/msata-daten /daten btrfs rw,noatime,compress=lzo,ssd,space_cache,subvolid=257,subvol=/daten 0 0
/dev/mapper/msata-daten /mnt/daten-zeit btrfs rw,noatime,compress=lzo,ssd,space_cache,subvolid=491,subvol=/zeit 0 0
/dev/mapper/msata-home /home btrfs rw,noatime,compress=lzo,ssd,space_cache,subvolid=256,subvol=/home 0 0
/dev/mapper/msata-home /mnt/home-zeit btrfs rw,noatime,compress=lzo,ssd,space_cache,subvolid=1247,subvol=/zeit 0 0
/dev/sda2 /boot/efi vfat rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,utf8,errors=remount-ro 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-INTEL_SSDSA2CW300G3_CVPR111001ND300EGN
(hd1)	/dev/disk/by-id/ata-Crucial_CT480M500SSD3_14030964D4EB
*********************** END /boot/grub/device.map

*********************** 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_msdos
insmod part_msdos
insmod lvm
insmod lvm
insmod btrfs
set root='lvmid/2v42d3-vHdl-ld11-SjUa-3yHG-WNaD-yRkXai/JQbRXi-wpSl-w0lf-ceDA-EOm5-vm25-TLdmrD
lvmid/1xnC0C-zJgA-fIZG-7qdM-AWaN-p2P5-zdj4c8/yxVz0I-OYJj-AEO5-vFex-TON0-fzTH-YGUWez'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/2v42d3-vHdl-ld11-SjUa-3yHG-WNaD-yRkXai/JQbRXi-wpSl-w0lf-ceDA-EOm5-vm25-TLdmrD'  --hint='lvmid/1xnC0C-zJgA-fIZG-7qdM-AWaN-p2P5-zdj4c8/yxVz0I-OYJj-AEO5-vFex-TON0-fzTH-YGUWez'  ebda8c23-2154-4559-be2b-9e9c422658d1
else
  search --no-floppy --fs-uuid --set=root ebda8c23-2154-4559-be2b-9e9c422658d1
fi
    font="/debian/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1920x1080
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=de_DE
  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_msdos
insmod part_msdos
insmod lvm
insmod lvm
insmod btrfs
set root='lvmid/2v42d3-vHdl-ld11-SjUa-3yHG-WNaD-yRkXai/JQbRXi-wpSl-w0lf-ceDA-EOm5-vm25-TLdmrD
lvmid/1xnC0C-zJgA-fIZG-7qdM-AWaN-p2P5-zdj4c8/yxVz0I-OYJj-AEO5-vFex-TON0-fzTH-YGUWez'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/2v42d3-vHdl-ld11-SjUa-3yHG-WNaD-yRkXai/JQbRXi-wpSl-w0lf-ceDA-EOm5-vm25-TLdmrD'  --hint='lvmid/1xnC0C-zJgA-fIZG-7qdM-AWaN-p2P5-zdj4c8/yxVz0I-OYJj-AEO5-vFex-TON0-fzTH-YGUWez'  ebda8c23-2154-4559-be2b-9e9c422658d1
else
  search --no-floppy --fs-uuid --set=root ebda8c23-2154-4559-be2b-9e9c422658d1
fi
insmod png
if background_image /debian/usr/share/images/desktop-base/lines-grub.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-ebda8c23-2154-4559-be2b-9e9c422658d1' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
	else
	  search --no-floppy --fs-uuid --set=root 96735182-42db-4a5f-944a-2f91eae1edf1
	fi
	echo	'Linux 4.8.0-tp520-btrfstrim+ wird geladen …'
	linux	/vmlinuz-4.8.0-tp520-btrfstrim+ root=/dev/mapper/sata-debian ro rootflags=subvol=debian  resume=/dev/mapper/sata-swap init=/bin/systemd no_console_suspend thinkpad_acpi.fan_control=1
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/initrd.img-4.8.0-tp520-btrfstrim+
}
submenu 'Erweiterte Optionen für Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-ebda8c23-2154-4559-be2b-9e9c422658d1' {
	menuentry 'Debian GNU/Linux, mit Linux 4.8.0-tp520-btrfstrim+' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-tp520-btrfstrim+-advanced-ebda8c23-2154-4559-be2b-9e9c422658d1' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
		else
		  search --no-floppy --fs-uuid --set=root 96735182-42db-4a5f-944a-2f91eae1edf1
		fi
		echo	'Linux 4.8.0-tp520-btrfstrim+ wird geladen …'
		linux	/vmlinuz-4.8.0-tp520-btrfstrim+ root=/dev/mapper/sata-debian ro rootflags=subvol=debian  resume=/dev/mapper/sata-swap init=/bin/systemd no_console_suspend thinkpad_acpi.fan_control=1
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/initrd.img-4.8.0-tp520-btrfstrim+
	}
	menuentry 'Debian GNU/Linux, with Linux 4.8.0-tp520-btrfstrim+ (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-tp520-btrfstrim+-init-sysvinit-ebda8c23-2154-4559-be2b-9e9c422658d1' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
		else
		  search --no-floppy --fs-uuid --set=root 96735182-42db-4a5f-944a-2f91eae1edf1
		fi
		echo	'Linux 4.8.0-tp520-btrfstrim+ wird geladen …'
		linux	/vmlinuz-4.8.0-tp520-btrfstrim+ root=/dev/mapper/sata-debian ro rootflags=subvol=debian  resume=/dev/mapper/sata-swap init=/bin/systemd no_console_suspend thinkpad_acpi.fan_control=1 init=/lib/sysvinit/init
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/initrd.img-4.8.0-tp520-btrfstrim+
	}
	menuentry 'Debian GNU/Linux, with Linux 4.8.0-tp520-btrfstrim+ (systemd)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-tp520-btrfstrim+-init-systemd-ebda8c23-2154-4559-be2b-9e9c422658d1' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
		else
		  search --no-floppy --fs-uuid --set=root 96735182-42db-4a5f-944a-2f91eae1edf1
		fi
		echo	'Linux 4.8.0-tp520-btrfstrim+ wird geladen …'
		linux	/vmlinuz-4.8.0-tp520-btrfstrim+ root=/dev/mapper/sata-debian ro rootflags=subvol=debian  resume=/dev/mapper/sata-swap init=/bin/systemd no_console_suspend thinkpad_acpi.fan_control=1 init=/lib/systemd/systemd
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/initrd.img-4.8.0-tp520-btrfstrim+
	}
	menuentry 'Debian GNU/Linux, with Linux 4.8.0-tp520-btrfstrim+ (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-tp520-btrfstrim+-recovery-ebda8c23-2154-4559-be2b-9e9c422658d1' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
		else
		  search --no-floppy --fs-uuid --set=root 96735182-42db-4a5f-944a-2f91eae1edf1
		fi
		echo	'Linux 4.8.0-tp520-btrfstrim+ wird geladen …'
		linux	/vmlinuz-4.8.0-tp520-btrfstrim+ root=/dev/mapper/sata-debian ro single rootflags=subvol=debian 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/initrd.img-4.8.0-tp520-btrfstrim+
	}
	menuentry 'Debian GNU/Linux, mit Linux 4.7.0-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.7.0-1-amd64-advanced-ebda8c23-2154-4559-be2b-9e9c422658d1' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
		else
		  search --no-floppy --fs-uuid --set=root 96735182-42db-4a5f-944a-2f91eae1edf1
		fi
		echo	'Linux 4.7.0-1-amd64 wird geladen …'
		linux	/vmlinuz-4.7.0-1-amd64 root=/dev/mapper/sata-debian ro rootflags=subvol=debian  resume=/dev/mapper/sata-swap init=/bin/systemd no_console_suspend thinkpad_acpi.fan_control=1
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/initrd.img-4.7.0-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.7.0-1-amd64 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.7.0-1-amd64-init-sysvinit-ebda8c23-2154-4559-be2b-9e9c422658d1' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
		else
		  search --no-floppy --fs-uuid --set=root 96735182-42db-4a5f-944a-2f91eae1edf1
		fi
		echo	'Linux 4.7.0-1-amd64 wird geladen …'
		linux	/vmlinuz-4.7.0-1-amd64 root=/dev/mapper/sata-debian ro rootflags=subvol=debian  resume=/dev/mapper/sata-swap init=/bin/systemd no_console_suspend thinkpad_acpi.fan_control=1 init=/lib/sysvinit/init
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/initrd.img-4.7.0-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.7.0-1-amd64 (systemd)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.7.0-1-amd64-init-systemd-ebda8c23-2154-4559-be2b-9e9c422658d1' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
		else
		  search --no-floppy --fs-uuid --set=root 96735182-42db-4a5f-944a-2f91eae1edf1
		fi
		echo	'Linux 4.7.0-1-amd64 wird geladen …'
		linux	/vmlinuz-4.7.0-1-amd64 root=/dev/mapper/sata-debian ro rootflags=subvol=debian  resume=/dev/mapper/sata-swap init=/bin/systemd no_console_suspend thinkpad_acpi.fan_control=1 init=/lib/systemd/systemd
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/initrd.img-4.7.0-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.7.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.7.0-1-amd64-recovery-ebda8c23-2154-4559-be2b-9e9c422658d1' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
		else
		  search --no-floppy --fs-uuid --set=root 96735182-42db-4a5f-944a-2f91eae1edf1
		fi
		echo	'Linux 4.7.0-1-amd64 wird geladen …'
		linux	/vmlinuz-4.7.0-1-amd64 root=/dev/mapper/sata-debian ro single rootflags=subvol=debian 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/initrd.img-4.7.0-1-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+)" {
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
	else
	  search --no-floppy --fs-uuid --set=root 96735182-42db-4a5f-944a-2f91eae1edf1
	fi
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
	else
	  search --no-floppy --fs-uuid --set=root 96735182-42db-4a5f-944a-2f91eae1edf1
	fi
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
	else
	  search --no-floppy --fs-uuid --set=root 96735182-42db-4a5f-944a-2f91eae1edf1
	fi
	multiboot	/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
	else
	  search --no-floppy --fs-uuid --set=root 96735182-42db-4a5f-944a-2f91eae1edf1
	fi
	multiboot	/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### 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 ###
### END /etc/grub.d/30_uefi-firmware ###

### 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
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
unused devices: <none>
*********************** END /proc/mdstat

[… removed disk information at it leaks UUIDs and IMHO is not necessary
for this report)

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-tp520-btrfstrim+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.59
ii  dpkg                   1.18.10
ii  grub-common            2.02~beta3-1
ii  grub-pc-bin            2.02~beta3-1
ii  grub2-common           2.02~beta3-1
ii  ucf                    3.0036

grub-pc recommends no packages.

grub-pc suggests no packages.

-- debconf information:
  grub2/linux_cmdline_default: resume=/dev/mapper/sata-swap init=/bin/systemd no_console_suspend thinkpad_acpi.fan_control=1
  grub-pc/install_devices_failed: false
  grub-pc/mixed_legacy_and_grub2: true
  grub2/kfreebsd_cmdline:
  grub-pc/timeout: 5
  grub2/kfreebsd_cmdline_default: quiet
  grub2/force_efi_extra_removable: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/postrm_purge_boot_grub: false
* grub-pc/install_devices: /dev/disk/by-id/ata-INTEL_SSDSA2CW300G3_[…], /dev/disk/by-id/ata-Crucial_CT480M500SSD3_[…]
  grub2/device_map_regenerated:
  grub-pc/kopt_extracted: false
  grub-pc/install_devices_disks_changed:
  grub-pc/disk_description:
  grub-pc/hidden_timeout: false
  grub-pc/partition_description:
  grub2/linux_cmdline:
  grub-pc/install_devices_empty: false
  grub-pc/chainload_from_menu.lst: true



More information about the Pkg-grub-devel mailing list