Results 1 to 3 of 3

Thread: Problem installing grub2-efi on recent tumbleweed snapshots

  1. #1
    Join Date
    Jun 2008
    Location
    Stoney Stanton - England
    Posts
    1,169

    Default 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.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,357
    Blog Entries
    15

    Default Re: Problem installing grub2-efi on recent tumbleweed snapshots

    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...(https://bugzilla.suse.com/show_bug.cgi?id=1080082)

    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!


  3. #3
    Join Date
    Jun 2008
    Location
    Stoney Stanton - England
    Posts
    1,169

    Default Re: Problem installing grub2-efi on recent tumbleweed snapshots

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •