Bug#920053: grub-pc: Got a sudden prompt about needing to reinstall, but that fails

2019-02-26 Thread Colin Watson
Control: forcemerge 919029 -1

On Mon, Jan 21, 2019 at 11:18:17PM +0100, Manuel Bilderbeek wrote:
> This upgrade:
> [UPGRADE] grub-pc:amd64 2.02+dfsg1-9 -> 2.02+dfsg1-10
> [UPGRADE] grub-pc-bin:amd64 2.02+dfsg1-9 -> 2.02+dfsg1-10
> 
> during the upgrade I got a prompt that grub was not installed on my devices.
> It showed me my 2 disks and asked me to select on which to install. I didn't
> remember, so I selected all. But the installation failed:

This looks essentially the same as https://bugs.debian.org/919029, so
merging with that.  I believe the incorrect IDs were fixed in udev
240-3, and see the other GRUB bug report for the rest of it.

Thanks,

-- 
Colin Watson   [cjwat...@debian.org]



Bug#920053: grub-pc: Got a sudden prompt about needing to reinstall, but that fails

2019-01-21 Thread Manuel Bilderbeek
Package: grub-pc
Version: 2.02+dfsg1-10
Severity: normal

Dear Maintainer,

   * What led up to the situation?

This upgrade:
[UPGRADE] grub-pc:amd64 2.02+dfsg1-9 -> 2.02+dfsg1-10
[UPGRADE] grub-pc-bin:amd64 2.02+dfsg1-9 -> 2.02+dfsg1-10

during the upgrade I got a prompt that grub was not installed on my devices.
It showed me my 2 disks and asked me to select on which to install. I didn't
remember, so I selected all. But the installation failed:

Setting up grub-pc (2.02+dfsg1-10) ...
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-SAMSUNG_HD753LJS13UJDWQ404179__.  Check your device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-Crucial_CT500MX200SSD1@_15050EA0A08B.  Check your 
device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-Crucial_CT500MX200SSD1@_15050EA0A08B-part1.  Check your 
device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-SAMSUNG_HD753LJS13UJDWQ404179__.  Check your device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-Crucial_CT500MX200SSD1@_15050EA0A08B.  Check your 
device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-Crucial_CT500MX200SSD1@_15050EA0A08B-part1.  Check your 
device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-SAMSUNG_HD753LJS13UJDWQ404179__.  Check your device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-Crucial_CT500MX200SSD1@_15050EA0A08B.  Check your 
device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-Crucial_CT500MX200SSD1@_15050EA0A08B-part1.  Check your 
device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-SAMSUNG_HD753LJS13UJDWQ404179__.  Check your device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-Crucial_CT500MX200SSD1@_15050EA0A08B.  Check your 
device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-Crucial_CT500MX200SSD1@_15050EA0A08B-part1.  Check your 
device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-SAMSUNG_HD753LJS13UJDWQ404179__.  Check your device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-Crucial_CT500MX200SSD1@_15050EA0A08B.  Check your 
device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-Crucial_CT500MX200SSD1@_15050EA0A08B-part1.  Check your 
device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-SAMSUNG_HD753LJS13UJDWQ404179__.  Check your device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-Crucial_CT500MX200SSD1@_15050EA0A08B.  Check your 
device.map.
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for 
/dev/disk/by-id/ata-Crucial_CT500MX200SSD1@_15050EA0A08B-part1.  Check your 
device.map.


At this point I gave up and selected "YES, continue", ignoring the warning that 
my PC may not boot next time. Damn, that looked scary!
It continued as follows:

Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.19.0-1-amd64
Found initrd image: /boot/initrd.img-4.19.0-1-amd64
Found linux image: /boot/vmlinuz-4.18.0-3-amd64
Found initrd image: /boot/initrd.img-4.18.0-3-amd64
Found linux image: /boot/vmlinuz-4.18.0-2-amd64
Found initrd image: /boot/initrd.img-4.18.0-2-amd64
Found linux image: /boot/vmlinuz-4.18.0-1-amd64
Found initrd image: /boot/initrd.img-4.18.0-1-amd64
Found linux image: /boot/vmlinuz-4.17.0-3-amd64
Found initrd image: /boot/initrd.img-4.17.0-3-amd64
Found linux image: /boot/vmlinuz-4.17.0-1-amd64
Found initrd image: /boot/initrd.img-4.17.0-1-amd64
Found linux image: /boot/vmlinuz-4.16.0-2-amd64
Found initrd image: /boot/initrd.img-4.16.0-2-amd64
Found linux image: /boot/vmlinuz-4.16.0-1-amd64
Found initrd image: /boot/initrd.img-4.16.0-1-amd64
Found linux image: /boot/vmlinuz-4.15.0-3-amd64
Found initrd image: /boot/initrd.img-4.15.0-3-amd64
Found linux image: /boot/vmlinuz-4.15.0-2-amd64
Found initrd image: /boot/initrd.img-4.15.0-2-amd64
Found linux image: /boot/vmlinuz-4.14.0-3-amd64
Found initrd image: /boot/initrd.img-4.14.0-3-amd64
Found linux image: /boot/vmlinuz-4.14.0-2-amd64
Found