Bug#734116: debian-installer: don't overwrite debian UEFI entry without asking
Control: severity -1 normal
On Fri, Jan 03, 2014 at 11:38:28PM +0100, Andreas Cadhalpun wrote:
>Package: debian-installer
>Severity: serious
>Justification: causes data loss (in a way)
Sorry, not convinced.
>I recently installed Debian in a second partition (for testing
>purposes) on an UEFI system. The installer didn't ask, whether or not
>to install grub/an UEFI entry, instead it happily overwrote the
>existing debian UEFI entry for the other partition. :( To repair
>this, I had to boot with the help of the super-grub2-disk, load the
>grub.cfg from the other partition and run grub-install.
>
>It would be great, if the installer just created a debian2 (or
>similar) entry, when a debian entry is already found, but it should
>at least ask before overwriting anything.
I think a better way to do this would be to add an extra grub menu
entry for the other installation; the namespace for UEFI is not
designed to work with multiple entries like this AFAICS.
>Maybe it didn't prompt any question, because lilo could not be
>installed anyway, as the following message occured multiple times
>during install:
>lilo-installer: LILO not usable on EFI PCs without BIOS
>compatibility; use grub-efi
That's just a leftover debug message from the lilo-installer udeb -
it's just indicative of d-i checking several times which bootloader to
use. You can safely ignore that.
>Maybe it never checks for an existing UEFI installation?
No, it doesn't check for an existing *Debian* UEFI installation. The
setup will try to automatically re-use an existing EFI System
Partition if it finds one, and add Debian's boot files there. Did you
explicitly set up a separate ESP on another disk, or similar?
--
Steve McIntyre, Cambridge, UK. steve@einval.com
Getting a SCSI chain working is perfectly simple if you remember that there
must be exactly three terminations: one on one end of the cable, one on the
far end, and the goat, terminated over the SCSI chain with a silver-handled
knife whilst burning *black* candles. --- Anthony DeBoer
Reply to: