New installation on a laptop, help needed. previously had 15.1 on it. New install is 15.4. At 98% of the installation the Grub2 failed.
Installation error message:
Execution of comment “[[”/usr/sbin.shim-install’,‘–config.file=/boot.grub2/grub.cfg’]]’ failed.
Exit code:1
Error output: cp: error writing ‘/boot/efi/EFI/opensuse/MokManager.efi’: No space left on device
note: but the partition for EFI is 3.5g
boot error:
error: …/…/grub-core/fs/btrfs.c:309: not a Btrfs filesystem
error: …/…/grub-core/kern/fs.c:121:unknown filesystem.
Entering rescue mode. . .
grub rescue>
I then tried an update from the installation media to let grub2 reinstall. Still failed near the end with the same errors
You will need to look at what is taking so much space on the EFI partition. And clean some of it out.
At a pinch, you could try disabling the secure-boot support (and also disable secure-boot in the BIOS). The amount of space needed without secure-boot support is smaller.
In this case where the system is not showing windows, how do I apply what you are saying? What do I need to do to get windows back? I don’t see anything in the bios for fast boot. It was set to legacy to see opensuse
Sometimes even though the box is checked, Windows doesn’t get included until after something happens to cause grub2-mkconfig to be run subsequent to initial installation. You can do that with YaST by changing the timeout value from whatever it is now to anything else, then apply and reboot.
Note that you can , assuming it is intact , start Windows via BIOS/UEFI boot options. Note again that all OS’s on a machine must use the same boot methods (Legacy/MBR or EFI) and that Windows fast boot must be off if they are to work with each other.
This needs clarification. I have a Gigabyte UEFI PC with NVME, plus 2 HDDs comprising several RAID1 devices. The HDD pair was transferred from an older PC with neither NVME nor UEFI support. All dozen or so Linux installations on the GPT NVME are bootable from Grub2-efi on ESP without any special keystrokes or menus. All 4 Linux installations on HDDs are bootable from Grub Legacy without involving the NVME in any way, by using the BBS hotkey during POST. The TW installation on RAID can be booted either via ESP or Grub Legacy.
This was needed when your problem was lack of space. Now your problem is entirely different and unrelated to how much space is available (and as usual this topic has drifted away from what is indicated in the subject).
Show output of fdisk -l.
P.S. On these forums we very much prefer to have one topic - one problem. Your original problem was solved and if you have another question then start another topic with clear subject.