Problem installing grub2-efi on recent tumbleweed snapshots

I have hit a problem with fresh installs using recent snapshots. I have tried with 13022018, 14022018 & 15022018 and had the same issue.

Standard install using unused disc space - with kde plasma selected and using ext4. The installs run through fine until they try to install grub. The installation of grub fails and the error message is:

execution of command “”/usr/sbin/shim-install", -config-file=/boot/grub2/grub.cfg"]}" failed
error output: mkdir: cannot create directory ‘/boot/efi/EFI/boot’: file exists

My system then re-boots in the normal way but fails as grub has not been installed. I have used a supergrub2 iso to start opensuse and manually created grub using the commands:

grub2-mkconfig -o /boot/grub2/grub.cfg

grub2-install /dev/sda

This works fine and the system then boots normally. Although if for example I use yast2 / bootloader and in bootloader options I try to change the ‘timeout in secounds’ to 9 (from 10) and save - the same error message is shown.

I have a standard HP I7-4770 p/c and the system is shared with Windows 10. Safe boot is switched off.

On Sun 18 Feb 2018 01:26:01 PM CST, dth2 wrote:

I have hit a problem with fresh installs using recent snapshots. I have
tried with 13022018, 14022018 & 15022018 and had the same issue.

Standard install using unused disc space - with kde plasma selected and
using ext4. The installs run through fine until they try to install
grub. The installation of grub fails and the error message is:

execution of command “”/usr/sbin/shim-install",
-config-file=/boot/grub2/grub.cfg"]}" failed
error output: mkdir: cannot create directory ‘/boot/efi/EFI/boot’: file
exists

My system then re-boots in the normal way but fails as grub has not been
installed. I have used a supergrub2 iso to start opensuse and manually
created grub using the commands:

grub2-mkconfig -o /boot/grub2/grub.cfg

grub2-install /dev/sda

This works fine and the system then boots normally. Although if for
example I use yast2 / bootloader and in bootloader options I try to
change the ‘timeout in secounds’ to 9 (from 10) and save - the same
error message is shown.

I have a standard HP I7-4770 p/c and the system is shared with Windows
10. Safe boot is switched off.

Hi
It’s a known bug with the vfat kernel module… I struck the issue on
SLE 15 Beta
testing…(1080082 – Installer unable to create EFI/boot or EFI/sled)

https://bugzilla.opensuse.org/show_bug.cgi?id=1080731


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.3|GNOME 3.20.2|4.4.114-42-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Many thanks Malcolm. Good to know it is not just me!

I tried again with a fresh install and took the tick out of the ‘enable secure boot support’ and grub installed fine. Although I don’t use secure boot I have always in the past left the tick in.