Bug#803346: grub-pc: fails to install on mutliple devices

Christoph Anton Mitterer calestyo at scientia.net
Wed Oct 28 23:21:17 UTC 2015


Package: grub-pc
Version: 2.02~beta2-29
Severity: important

Hey.

On my system I have two HDDs, which basically run as a btrfs RAID1
from their respective 2nd partitions (partition table = GPT).
The first partition is the BIOS boot partition.

Now when I install grub manually to those devices, e.g. as with:
grub-install --no-floppy --recheck /dev/sda|b
everything works fine.

But when I select both of these devices in the debconf question, than
installation fails:
# dpkg-reconfigure grub-pc
device node not found
device node not found
device node not found
device node not found
Use of uninitialized value in string eq at
/usr/share/perl5/Debconf/Element/Multiselect.pm line 38, <GEN17> line
22.
Use of uninitialized value in string eq at
/usr/share/perl5/Debconf/Element/Multiselect.pm line 38, <GEN17> line
22.
Installing for i386-pc platform.
Installation finished. No error reported.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for /dev/disk/by-id/ata-
TOSHIBA_DT01ACA100_Z41YEHMFS,.  Check your device.map.
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.2.0-1-amd64
Found initrd image: /boot/initrd.img-4.2.0-1-amd64
Found memtest86+ image: /root/boot/memtest86+.bin
Found memtest86+ multiboot image: /root/boot/memtest86+_multiboot.bin
done


Apparently it tries twice, after the first failure, it gives me another
debconf prompt with failure message and whther to try again.


Strangely enough, when I dpkg-reconfigure the package again, it doesn't
offer me the question about the devices anymore and doesn't reinstall
grub.


Any ideas?

Chris.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda2 / btrfs rw,noatime,space_cache,subvolid=258,subvol=/root 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 btrfs
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-
efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2 --hint-
efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-909d-
88308e6b8d85
else
  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-909d-
88308e6b8d85
fi
    font="/root/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_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=1
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=1
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod part_gpt
insmod btrfs
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-
efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2 --hint-
efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-909d-
88308e6b8d85
else
  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-909d-
88308e6b8d85
fi
insmod png
if background_image /root/usr/share/images/desktop-base/lines-grub-
1920x1080.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-67e35b5c-3dfd-
4b00-909d-88308e6b8d85' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio;
fi
	insmod part_gpt
	insmod part_gpt
	insmod btrfs
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2
--hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	else
	  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	fi
	echo	'Loading Linux 4.2.0-1-amd64 ...'
	linux	/root/boot/vmlinuz-4.2.0-1-amd64
root=UUID=67e35b5c-3dfd-4b00-909d-88308e6b8d85 ro
rootflags=subvol=root  
	echo	'Loading initial ramdisk ...'
	initrd	/root/boot/initrd.img-4.2.0-1-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option
'gnulinux-advanced-67e35b5c-3dfd-4b00-909d-88308e6b8d85' {
	menuentry 'Debian GNU/Linux, with Linux 4.2.0-1-amd64' --class
debian --class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-4.2.0-1-amd64-advanced-67e35b5c-3dfd-4b00-909d-88308e6b8d85'
{
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod
lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod btrfs
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-
bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-
bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-
baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-909d-88308e6b8d85
		else
		  search --no-floppy --fs-uuid --set=root 67e35b5c-
3dfd-4b00-909d-88308e6b8d85
		fi
		echo	'Loading Linux 4.2.0-1-amd64 ...'
		linux	/root/boot/vmlinuz-4.2.0-1-amd64
root=UUID=67e35b5c-3dfd-4b00-909d-88308e6b8d85 ro
rootflags=subvol=root  
		echo	'Loading initial ramdisk ...'
		initrd	/root/boot/initrd.img-4.2.0-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.2.0-1-amd64
(sysvinit)' --class debian --class gnu-linux --class gnu --class os
$menuentry_id_option 'gnulinux-4.2.0-1-amd64-init-sysvinit-67e35b5c-
3dfd-4b00-909d-88308e6b8d85' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod
lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod btrfs
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-
bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-
bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-
baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-909d-88308e6b8d85
		else
		  search --no-floppy --fs-uuid --set=root 67e35b5c-
3dfd-4b00-909d-88308e6b8d85
		fi
		echo	'Loading Linux 4.2.0-1-amd64 ...'
		linux	/root/boot/vmlinuz-4.2.0-1-amd64
root=UUID=67e35b5c-3dfd-4b00-909d-88308e6b8d85 ro
rootflags=subvol=root   init=/lib/sysvinit/init
		echo	'Loading initial ramdisk ...'
		initrd	/root/boot/initrd.img-4.2.0-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.2.0-1-amd64 (recovery
mode)' --class debian --class gnu-linux --class gnu --class os
$menuentry_id_option 'gnulinux-4.2.0-1-amd64-recovery-67e35b5c-3dfd-
4b00-909d-88308e6b8d85' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod
lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod btrfs
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-
bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-
bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-
baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-909d-88308e6b8d85
		else
		  search --no-floppy --fs-uuid --set=root 67e35b5c-
3dfd-4b00-909d-88308e6b8d85
		fi
		echo	'Loading Linux 4.2.0-1-amd64 ...'
		linux	/root/boot/vmlinuz-4.2.0-1-amd64
root=UUID=67e35b5c-3dfd-4b00-909d-88308e6b8d85 ro single
rootflags=subvol=root 
		echo	'Loading initial ramdisk ...'
		initrd	/root/boot/initrd.img-4.2.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_gpt
	insmod part_gpt
	insmod btrfs
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2
--hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	else
	  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	fi
	linux16	/root/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_gpt
	insmod part_gpt
	insmod btrfs
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2
--hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	else
	  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	fi
	linux16	/root/boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod part_gpt
	insmod part_gpt
	insmod btrfs
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2
--hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	else
	  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	fi
	multiboot	/root/boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental
multiboot)" {
	insmod part_gpt
	insmod part_gpt
	insmod btrfs
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2
--hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	else
	  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	fi
	multiboot	/root/boot/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 : 
unused devices: <none>
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Oct 29 00:09 ata-TOSHIBA_DT01ACA100_X4CLV27FS 
-> ../../sda
lrwxrwxrwx 1 root root 10 Oct 29 00:09 ata-
TOSHIBA_DT01ACA100_X4CLV27FS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 29 00:09 ata-
TOSHIBA_DT01ACA100_X4CLV27FS-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Oct 28 20:49 ata-TOSHIBA_DT01ACA100_Z41YEHMFS 
-> ../../sdb
lrwxrwxrwx 1 root root 10 Oct 28 20:49 ata-
TOSHIBA_DT01ACA100_Z41YEHMFS-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Oct 28 20:49 ata-
TOSHIBA_DT01ACA100_Z41YEHMFS-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Oct 29 00:09 wwn-0x5000039ffbf2d710 ->
../../sda
lrwxrwxrwx 1 root root 10 Oct 29 00:09 wwn-0x5000039ffbf2d710-part1 ->
../../sda1
lrwxrwxrwx 1 root root 10 Oct 29 00:09 wwn-0x5000039ffbf2d710-part2 ->
../../sda2
lrwxrwxrwx 1 root root  9 Oct 28 20:49 wwn-0x5000039ffecd6174 ->
../../sdb
lrwxrwxrwx 1 root root 10 Oct 28 20:49 wwn-0x5000039ffecd6174-part1 ->
../../sdb1
lrwxrwxrwx 1 root root 10 Oct 28 20:49 wwn-0x5000039ffecd6174-part2 ->
../../sdb2
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Oct 29 00:09 67e35b5c-3dfd-4b00-909d-
88308e6b8d85 -> ../../sda2
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'oldstable-updates'), (1,
'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.57
ii  grub-common            2.02~beta2-29
ii  grub-pc-bin            2.02~beta2-29
ii  grub2-common           2.02~beta2-29
ii  ucf                    3.0030

grub-pc recommends no packages.

grub-pc suggests no packages.

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

From MAILER-DAEMON  Thu Oct 29 00:16:14 2015
Return-Path: <>
X-Original-To: calestyo at kronecker.scientia.net
Delivered-To: calestyo at kronecker.scientia.net
Received: by kronecker.scientia.net (Postfix)
	id A24A2293C5; Thu, 29 Oct 2015 00:16:14 +0100 (CET)
Date: Thu, 29 Oct 2015 00:16:14 +0100 (CET)
From: MAILER-DAEMON at kronecker.scientia.net (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: calestyo at kronecker.scientia.net
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
	boundary="85F7D293C2.1446074174/kronecker.scientia.net"
Message-Id: <20151028231614.A24A2293C5 at kronecker.scientia.net>

This is a MIME-encapsulated message.

--85F7D293C2.1446074174/kronecker.scientia.net
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii

This is the mail system at host kronecker.scientia.net.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<submit at bugs.debian.org>: bugs.debian.org

--85F7D293C2.1446074174/kronecker.scientia.net
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; kronecker.scientia.net
X-Postfix-Queue-ID: 85F7D293C2
X-Postfix-Sender: rfc822; calestyo at kronecker.scientia.net
Arrival-Date: Thu, 29 Oct 2015 00:16:14 +0100 (CET)

Final-Recipient: rfc822; submit at bugs.debian.org
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; bugs.debian.org

--85F7D293C2.1446074174/kronecker.scientia.net
Content-Description: Undelivered Message
Content-Type: message/rfc822

Return-Path: <calestyo at kronecker.scientia.net>
Received: by kronecker.scientia.net (Postfix, from userid 1000)
	id 85F7D293C2; Thu, 29 Oct 2015 00:16:14 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Christoph Anton Mitterer <calestyo at kronecker.scientia.net>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: grub-pc: fails to install on mutliple devices
Message-ID: <144607417446.27405.3420426680885548983.reportbug at kronecker
.scientia.net>
X-Mailer: reportbug 6.6.5
Date: Thu, 29 Oct 2015 00:16:14 +0100

Package: grub-pc
Version: 2.02~beta2-29
Severity: important

Hey.

On my system I have two HDDs, which basically run as a btrfs RAID1
from their respective 2nd partitions (partition table = GPT).
The first partition is the BIOS boot partition.

Now when I install grub manually to those devices, e.g. as with:
grub-install --no-floppy --recheck /dev/sda|b
everything works fine.

But when I select both of these devices in the debconf question, than
installation fails:
# dpkg-reconfigure grub-pc
device node not found
device node not found
device node not found
device node not found
Use of uninitialized value in string eq at
/usr/share/perl5/Debconf/Element/Multiselect.pm line 38, <GEN17> line
22.
Use of uninitialized value in string eq at
/usr/share/perl5/Debconf/Element/Multiselect.pm line 38, <GEN17> line
22.
Installing for i386-pc platform.
Installation finished. No error reported.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for /dev/disk/by-id/ata-
TOSHIBA_DT01ACA100_Z41YEHMFS,.  Check your device.map.
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.2.0-1-amd64
Found initrd image: /boot/initrd.img-4.2.0-1-amd64
Found memtest86+ image: /root/boot/memtest86+.bin
Found memtest86+ multiboot image: /root/boot/memtest86+_multiboot.bin
done


Apparently it tries twice, after the first failure, it gives me another
debconf prompt with failure message and whther to try again.


Strangely enough, when I dpkg-reconfigure the package again, it doesn't
offer me the question about the devices anymore and doesn't reinstall
grub.


Any ideas?

Chris.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda2 / btrfs rw,noatime,space_cache,subvolid=258,subvol=/root 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 btrfs
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-
efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2 --hint-
efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-909d-
88308e6b8d85
else
  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-909d-
88308e6b8d85
fi
    font="/root/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_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=1
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=1
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod part_gpt
insmod btrfs
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-
efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2 --hint-
efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-909d-
88308e6b8d85
else
  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-909d-
88308e6b8d85
fi
insmod png
if background_image /root/usr/share/images/desktop-base/lines-grub-
1920x1080.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-67e35b5c-3dfd-
4b00-909d-88308e6b8d85' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio;
fi
	insmod part_gpt
	insmod part_gpt
	insmod btrfs
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2
--hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	else
	  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	fi
	echo	'Loading Linux 4.2.0-1-amd64 ...'
	linux	/root/boot/vmlinuz-4.2.0-1-amd64
root=UUID=67e35b5c-3dfd-4b00-909d-88308e6b8d85 ro
rootflags=subvol=root  
	echo	'Loading initial ramdisk ...'
	initrd	/root/boot/initrd.img-4.2.0-1-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option
'gnulinux-advanced-67e35b5c-3dfd-4b00-909d-88308e6b8d85' {
	menuentry 'Debian GNU/Linux, with Linux 4.2.0-1-amd64' --class
debian --class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-4.2.0-1-amd64-advanced-67e35b5c-3dfd-4b00-909d-88308e6b8d85'
{
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod
lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod btrfs
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-
bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-
bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-
baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-909d-88308e6b8d85
		else
		  search --no-floppy --fs-uuid --set=root 67e35b5c-
3dfd-4b00-909d-88308e6b8d85
		fi
		echo	'Loading Linux 4.2.0-1-amd64 ...'
		linux	/root/boot/vmlinuz-4.2.0-1-amd64
root=UUID=67e35b5c-3dfd-4b00-909d-88308e6b8d85 ro
rootflags=subvol=root  
		echo	'Loading initial ramdisk ...'
		initrd	/root/boot/initrd.img-4.2.0-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.2.0-1-amd64
(sysvinit)' --class debian --class gnu-linux --class gnu --class os
$menuentry_id_option 'gnulinux-4.2.0-1-amd64-init-sysvinit-67e35b5c-
3dfd-4b00-909d-88308e6b8d85' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod
lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod btrfs
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-
bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-
bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-
baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-909d-88308e6b8d85
		else
		  search --no-floppy --fs-uuid --set=root 67e35b5c-
3dfd-4b00-909d-88308e6b8d85
		fi
		echo	'Loading Linux 4.2.0-1-amd64 ...'
		linux	/root/boot/vmlinuz-4.2.0-1-amd64
root=UUID=67e35b5c-3dfd-4b00-909d-88308e6b8d85 ro
rootflags=subvol=root   init=/lib/sysvinit/init
		echo	'Loading initial ramdisk ...'
		initrd	/root/boot/initrd.img-4.2.0-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.2.0-1-amd64 (recovery
mode)' --class debian --class gnu-linux --class gnu --class os
$menuentry_id_option 'gnulinux-4.2.0-1-amd64-recovery-67e35b5c-3dfd-
4b00-909d-88308e6b8d85' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod
lzopio; fi
		insmod part_gpt
		insmod part_gpt
		insmod btrfs
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-
bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-
bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-
baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-909d-88308e6b8d85
		else
		  search --no-floppy --fs-uuid --set=root 67e35b5c-
3dfd-4b00-909d-88308e6b8d85
		fi
		echo	'Loading Linux 4.2.0-1-amd64 ...'
		linux	/root/boot/vmlinuz-4.2.0-1-amd64
root=UUID=67e35b5c-3dfd-4b00-909d-88308e6b8d85 ro single
rootflags=subvol=root 
		echo	'Loading initial ramdisk ...'
		initrd	/root/boot/initrd.img-4.2.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_gpt
	insmod part_gpt
	insmod btrfs
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2
--hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	else
	  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	fi
	linux16	/root/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_gpt
	insmod part_gpt
	insmod btrfs
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2
--hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	else
	  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	fi
	linux16	/root/boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod part_gpt
	insmod part_gpt
	insmod btrfs
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2
--hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	else
	  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	fi
	multiboot	/root/boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental
multiboot)" {
	insmod part_gpt
	insmod part_gpt
	insmod btrfs
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  --hint-bios=hd1,gpt2
--hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	else
	  search --no-floppy --fs-uuid --set=root 67e35b5c-3dfd-4b00-
909d-88308e6b8d85
	fi
	multiboot	/root/boot/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 : 
unused devices: <none>
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Oct 29 00:09 ata-TOSHIBA_DT01ACA100_X4CLV27FS 
-> ../../sda
lrwxrwxrwx 1 root root 10 Oct 29 00:09 ata-
TOSHIBA_DT01ACA100_X4CLV27FS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 29 00:09 ata-
TOSHIBA_DT01ACA100_X4CLV27FS-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Oct 28 20:49 ata-TOSHIBA_DT01ACA100_Z41YEHMFS 
-> ../../sdb
lrwxrwxrwx 1 root root 10 Oct 28 20:49 ata-
TOSHIBA_DT01ACA100_Z41YEHMFS-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Oct 28 20:49 ata-
TOSHIBA_DT01ACA100_Z41YEHMFS-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Oct 29 00:09 wwn-0x5000039ffbf2d710 ->
../../sda
lrwxrwxrwx 1 root root 10 Oct 29 00:09 wwn-0x5000039ffbf2d710-part1 ->
../../sda1
lrwxrwxrwx 1 root root 10 Oct 29 00:09 wwn-0x5000039ffbf2d710-part2 ->
../../sda2
lrwxrwxrwx 1 root root  9 Oct 28 20:49 wwn-0x5000039ffecd6174 ->
../../sdb
lrwxrwxrwx 1 root root 10 Oct 28 20:49 wwn-0x5000039ffecd6174-part1 ->
../../sdb1
lrwxrwxrwx 1 root root 10 Oct 28 20:49 wwn-0x5000039ffecd6174-part2 ->
../../sdb2
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Oct 29 00:09 67e35b5c-3dfd-4b00-909d-
88308e6b8d85 -> ../../sda2
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'oldstable-updates'), (1,
'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.57
ii  grub-common            2.02~beta2-29
ii  grub-pc-bin            2.02~beta2-29
ii  grub2-common           2.02~beta2-29
ii  ucf                    3.0030

grub-pc recommends no packages.

grub-pc suggests no packages.

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

--85F7D293C2.1446074174/kronecker.scientia.net--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5313 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20151029/34d02604/attachment-0001.bin>


More information about the Pkg-grub-devel mailing list