On Fri, Apr 25, 2014 at 3:51 PM, Julian Andres Klode <j...@debian.org> wrote: > I received the following bug report in Debian about > gummiboot. > > On Sun, Apr 20, 2014 at 10:04:23AM +0200, Philipp Kern wrote: >> Package: gummiboot >> Version: 44-1 >> Severity: important >> >> gummiboot fails to install if there is a preexisting EFI boot loader in >> the fallback location (e.g. after a successful installation of Windows): >> >> pkern@simplex ~ % sudo gummiboot install --path=/boot/efi >> Created /boot/efi/EFI/gummiboot. >> Copied /usr/lib/gummiboot/gummibootx64.efi to >> /boot/efi/EFI/gummiboot/gummibootx64.efi. >> Failed to rename /boot/efi/EFI/Boot/BOOTX64.EFI~ to >> /boot/efi/EFI/Boot/BOOTX64.EFI: File exists > > As we can see here, it tries to do an atomic replace of the boot loader, > but this fails because /boot/efi (we need to use /boot/efi in Debian instead > of /boot, because our kernel images are installed in /boot) is FAT32 and > that does not seem to allow replacements.
It works just fine here on a FAT partition. I have no idea why it would go wrong. # blkid /dev/sda1 /dev/sda1: LABEL="EFI" UUID="9B5C-C8BD" TYPE="vfat" PARTLABEL="ESP" PARTUUID="06a08fe0-82e8-4171-b00e-5afc13668ab4" # strace -e rename gummiboot install --path=/boot rename("/boot/EFI/gummiboot/gummibootx64.efi~", "/boot/EFI/gummiboot/gummibootx64.efi") = 0 Copied /usr/lib/gummiboot/gummibootx64.efi to /boot/EFI/gummiboot/gummibootx64.efi. rename("/boot/EFI/Boot/BOOTX64.EFI~", "/boot/EFI/Boot/BOOTX64.EFI") = 0 Copied /usr/lib/gummiboot/gummibootx64.efi to /boot/EFI/Boot/BOOTX64.EFI. Created EFI boot entry "Linux Boot Manager". Kay -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org