Bug#931141: grub-pc: Update hangs (not the same as 558422)

Nigel Horne njh at bandsman.co.uk
Wed Jun 26 23:12:55 BST 2019


Package: grub-pc
Version: 2.02+dfsg1-19
Severity: normal

Dear Maintainer,

'apt upgrade' hangs on updating grub.  No kill signal makes
the command grub-mkdevicemap stop, unlike bug 558422, since it's in a D state.

Running strace clearly shows where it's hung:

	lstat("/dev/sdc", {st_mode=S_IFBLK|0660, st_rdev=makedev(0x8, 0x20), ...}) = 0
	openat(AT_FDCWD, "/dev/disk/by-id/usb-Generic-_SD_MMC_058F63626476-0:0", O_RDONLY) = -1 ENOMEDIUM (No medium found)
	lstat("/dev", {st_mode=S_IFDIR|0755, st_size=3900, ...}) = 0
	lstat("/dev/disk", {st_mode=S_IFDIR|0755, st_size=140, ...}) = 0
	lstat("/dev/disk/by-id", {st_mode=S_IFDIR|0755, st_size=540, ...}) = 0
	lstat("/dev/disk/by-id/usb-Generic-_Compact_Flash_058F63626476-0:1", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0
	readlink("/dev/disk/by-id/usb-Generic-_Compact_Flash_058F63626476-0:1", "../../sdd", 4095) = 9
	lstat("/dev/sdd", {st_mode=S_IFBLK|0660, st_rdev=makedev(0x8, 0x30), ...}) = 0
	openat(AT_FDCWD, "/dev/disk/by-id/usb-Generic-_Compact_Flash_058F63626476-0:1", O_RDONLY) = -1 ENOMEDIUM (No medium found)
	lstat("/dev", {st_mode=S_IFDIR|0755, st_size=3900, ...}) = 0
	lstat("/dev/disk", {st_mode=S_IFDIR|0755, st_size=140, ...}) = 0
	lstat("/dev/disk/by-id", {st_mode=S_IFDIR|0755, st_size=540, ...}) = 0
	lstat("/dev/disk/by-id/usb-Generic-_SM_xD-Picture_058F63626476-0:2", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0
	readlink("/dev/disk/by-id/usb-Generic-_SM_xD-Picture_058F63626476-0:2", "../../sde", 4095) = 9
	lstat("/dev/sde", {st_mode=S_IFBLK|0660, st_rdev=makedev(0x8, 0x40), ...}) = 0
	openat(AT_FDCWD, "/dev/disk/by-id/usb-Generic-_SM_xD-Picture_058F63626476-0:2", O_RDONLY

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda6 / ext4 rw,noatime,errors=remount-ro 0 0
/dev/sdb1 /var ext4 rw,noatime,errors=remount-ro 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
*********************** 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 ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
else
  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
fi
    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=en_GB
  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 ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### 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-d88eb8d2-bf12-44bd-abc2-2d297da04816' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
	else
	  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
	fi
	echo	'Loading Linux 4.19.0-5-amd64 ...'
	linux	/boot/vmlinuz-4.19.0-5-amd64 root=UUID=d88eb8d2-bf12-44bd-abc2-2d297da04816 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-4.19.0-5-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-d88eb8d2-bf12-44bd-abc2-2d297da04816' {
	menuentry 'Debian GNU/Linux, with Linux 4.19.0-5-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-5-amd64-advanced-d88eb8d2-bf12-44bd-abc2-2d297da04816' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
		else
		  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
		fi
		echo	'Loading Linux 4.19.0-5-amd64 ...'
		linux	/boot/vmlinuz-4.19.0-5-amd64 root=UUID=d88eb8d2-bf12-44bd-abc2-2d297da04816 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.19.0-5-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.19.0-5-amd64 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-5-amd64-init-sysvinit-d88eb8d2-bf12-44bd-abc2-2d297da04816' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
		else
		  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
		fi
		echo	'Loading Linux 4.19.0-5-amd64 ...'
		linux	/boot/vmlinuz-4.19.0-5-amd64 root=UUID=d88eb8d2-bf12-44bd-abc2-2d297da04816 ro  quiet init=/lib/sysvinit/init
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.19.0-5-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.19.0-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-5-amd64-recovery-d88eb8d2-bf12-44bd-abc2-2d297da04816' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
		else
		  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
		fi
		echo	'Loading Linux 4.19.0-5-amd64 ...'
		linux	/boot/vmlinuz-4.19.0-5-amd64 root=UUID=d88eb8d2-bf12-44bd-abc2-2d297da04816 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.19.0-5-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.19.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-4-amd64-advanced-d88eb8d2-bf12-44bd-abc2-2d297da04816' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
		else
		  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
		fi
		echo	'Loading Linux 4.19.0-4-amd64 ...'
		linux	/boot/vmlinuz-4.19.0-4-amd64 root=UUID=d88eb8d2-bf12-44bd-abc2-2d297da04816 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.19.0-4-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.19.0-4-amd64 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-4-amd64-init-sysvinit-d88eb8d2-bf12-44bd-abc2-2d297da04816' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
		else
		  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
		fi
		echo	'Loading Linux 4.19.0-4-amd64 ...'
		linux	/boot/vmlinuz-4.19.0-4-amd64 root=UUID=d88eb8d2-bf12-44bd-abc2-2d297da04816 ro  quiet init=/lib/sysvinit/init
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.19.0-4-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.19.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-4-amd64-recovery-d88eb8d2-bf12-44bd-abc2-2d297da04816' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
		else
		  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
		fi
		echo	'Loading Linux 4.19.0-4-amd64 ...'
		linux	/boot/vmlinuz-4.19.0-4-amd64 root=UUID=d88eb8d2-bf12-44bd-abc2-2d297da04816 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.19.0-4-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.18.0-2-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-2-amd64-advanced-d88eb8d2-bf12-44bd-abc2-2d297da04816' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
		else
		  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
		fi
		echo	'Loading Linux 4.18.0-2-amd64 ...'
		linux	/boot/vmlinuz-4.18.0-2-amd64 root=UUID=d88eb8d2-bf12-44bd-abc2-2d297da04816 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.18.0-2-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.18.0-2-amd64 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-2-amd64-init-sysvinit-d88eb8d2-bf12-44bd-abc2-2d297da04816' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
		else
		  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
		fi
		echo	'Loading Linux 4.18.0-2-amd64 ...'
		linux	/boot/vmlinuz-4.18.0-2-amd64 root=UUID=d88eb8d2-bf12-44bd-abc2-2d297da04816 ro  quiet init=/lib/sysvinit/init
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.18.0-2-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.18.0-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-2-amd64-recovery-d88eb8d2-bf12-44bd-abc2-2d297da04816' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
		else
		  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
		fi
		echo	'Loading Linux 4.18.0-2-amd64 ...'
		linux	/boot/vmlinuz-4.18.0-2-amd64 root=UUID=d88eb8d2-bf12-44bd-abc2-2d297da04816 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.18.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/memtest86.bin
}
### END /etc/grub.d/20_memtest86 ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
	else
	  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
	fi
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
	else
	  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
	else
	  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
	fi
	multiboot	/boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  d88eb8d2-bf12-44bd-abc2-2d297da04816
	else
	  search --no-floppy --fs-uuid --set=root d88eb8d2-bf12-44bd-abc2-2d297da04816
	fi
	multiboot	/boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-6C1815CB18159564' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  6C1815CB18159564
	else
	  search --no-floppy --fs-uuid --set=root 6C1815CB18159564
	fi
	parttool ${root} hidden-
	chainloader +1
}
menuentry 'Windows 7 (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-46441BE1441BD293' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2'  46441BE1441BD293
	else
	  search --no-floppy --fs-uuid --set=root 46441BE1441BD293
	fi
	parttool ${root} hidden-
	chainloader +1
}
menuentry 'Windows Recovery Environment (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-F60C05CF0C058C35' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  F60C05CF0C058C35
	else
	  search --no-floppy --fs-uuid --set=root F60C05CF0C058C35
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
### 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
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Feb 14 10:12 ata-Hitachi_HDS721010CLA332_JP2940J80K1XRV -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 14 10:12 ata-Hitachi_HDS721010CLA332_JP2940J80K1XRV-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 14 10:12 ata-Hitachi_HDS721010CLA332_JP2940J80K1XRV-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 14 10:12 ata-Hitachi_HDS721010CLA332_JP2940J80K1XRV-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 14 10:12 ata-Hitachi_HDS721010CLA332_JP2940J80K1XRV-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Feb 14 10:12 ata-Hitachi_HDS721010CLA332_JP2940J80K1XRV-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Feb 14 10:12 ata-Hitachi_HDS721010CLA332_JP2940J80K1XRV-part6 -> ../../sda6
lrwxrwxrwx 1 root root  9 Feb 14 10:12 ata-WDC_WD10EFRX-68PJCN0_WD-WCC4JD1HLNFN -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb 14 10:12 ata-WDC_WD10EFRX-68PJCN0_WD-WCC4JD1HLNFN-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Feb 14 10:12 ata-WDC_WD10EFRX-68PJCN0_WD-WCC4JD1HLNFN-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Feb 14 10:12 ata-hp_CDDVDW_TS-H653T_R7106GSB478337 -> ../../sr0
lrwxrwxrwx 1 root root  9 Feb 14 10:12 usb-Generic-_Compact_Flash_058F63626476-0:1 -> ../../sdd
lrwxrwxrwx 1 root root  9 Feb 14 10:12 usb-Generic-_MS_MS-Pro_058F63626476-0:3 -> ../../sdf
lrwxrwxrwx 1 root root  9 Feb 14 10:12 usb-Generic-_SD_MMC_058F63626476-0:0 -> ../../sdc
lrwxrwxrwx 1 root root  9 Feb 14 10:12 usb-Generic-_SM_xD-Picture_058F63626476-0:2 -> ../../sde
lrwxrwxrwx 1 root root  9 Feb 14 10:12 wwn-0x5000cca396c7c18a -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 14 10:12 wwn-0x5000cca396c7c18a-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 14 10:12 wwn-0x5000cca396c7c18a-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 14 10:12 wwn-0x5000cca396c7c18a-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 14 10:12 wwn-0x5000cca396c7c18a-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Feb 14 10:12 wwn-0x5000cca396c7c18a-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Feb 14 10:12 wwn-0x5000cca396c7c18a-part6 -> ../../sda6
lrwxrwxrwx 1 root root  9 Feb 14 10:12 wwn-0x50014ee2b5562138 -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb 14 10:12 wwn-0x50014ee2b5562138-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Feb 14 10:12 wwn-0x50014ee2b5562138-part2 -> ../../sdb2
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Feb 14 10:12 07c5f4d7-ccd7-463b-8c22-30a44835eae9 -> ../../sda5
lrwxrwxrwx 1 root root 10 Feb 14 10:12 1bed0fc9-8570-49e8-a31c-334878f0a6f4 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Feb 14 10:12 28911837-4b85-4af3-8a3a-47d3ef2f0254 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Feb 14 10:12 46441BE1441BD293 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 14 10:12 6C1815CB18159564 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 14 10:12 F60C05CF0C058C35 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 14 10:12 d88eb8d2-bf12-44bd-abc2-2d297da04816 -> ../../sda6
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.71
ii  grub-common            2.02+dfsg1-19
ii  grub-pc-bin            2.02+dfsg1-19
ii  grub2-common           2.02+dfsg1-19
ii  ucf                    3.0038+nmu1

grub-pc recommends no packages.

grub-pc suggests no packages.

-- debconf information:
  grub2/update_nvram: true
  grub-pc/install_devices_disks_changed: /dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2940J80K1XRV
  grub2/kfreebsd_cmdline:
  grub-pc/timeout: 5
  grub-pc/install_devices_empty: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/chainload_from_menu.lst: true
  grub-pc/partition_description:
  grub2/device_map_regenerated:
  grub-pc/kopt_extracted: false
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/mixed_legacy_and_grub2: true
  grub-pc/hidden_timeout: false
* grub2/linux_cmdline_default: quiet
* grub2/linux_cmdline:
  grub-pc/postrm_purge_boot_grub: false
* grub-pc/install_devices: /dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2940J80K1XRV
  grub-pc/disk_description:
  grub2/force_efi_extra_removable: false
  grub-pc/install_devices_failed: false



More information about the Pkg-grub-devel mailing list