Bug#647267: debian-installer: grub-install tries to install on the wrong drive
Just to confirm that this bug still exists: I've just done an ordinary
(non-expert) installation toa Thinkpad T420 with the wheezy netinst iso
written to a USB drive with unetbootin, and grub was told to install to
/dev/sda (the USB drive) rather than /dev/sdb (the installation target),
which failed.
I had selected guided partitioning with encrypted LVM.
Doing the update-grub; grub-install /dev/sdb dance on the emergency
console left me with a working system. Perhaps that could be added to
the error screen the installer presents in case of a grub-install failure?
Interestingly, I had to do the installation a second time with firmware
files on a *second* USB device, and on that occasion the correct drive
was picked for grub.
--
Alex
Reply to: