Bug#647267: debian-installer: grub-install tries to install on the wrong drive

2013-03-04 Thread Alex Young
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


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#647267: debian-installer: grub-install tries to install on the wrong drive

2011-11-01 Thread Gabriel Kerneis
Package: debian-installer
Severity: important
Tags: d-i

Dear Maintainer,

I used the debian-installer yesterday: daily build for testing, netinst
image, hybrid ISO image written directly to a usb key, expert mode.

The installer correctly detected that Debian was the only OS installed
(on a fresh SSD) but then failed to write the boot sector.  The reason is
that it tried to write to /dev/sda, which was the USB key containing the
netinstall image.  It should instead have tried to write to /dev/sdb, which
was the SSD.

Removing the usb key and retrying solved the issue.  This is annoying
nonetheless.  IMHO, the installer should:
- try to install on the device which holds the /boot partition,
- or at least, allow to select which drive to install grub on.

Best regards,
-- 
Gabriel Kerneis



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org