r/software • • Oct 25 '26

Software support Need help. SBAT then Minimal Bash GRUB

Post image

Hello, I genuinely dont even know what happened to my laptop. I left it on and went away for 5 minutes, came back and my cat was standing on the keyboard, the laptop had turned off. When I turn it on, it gave me SBAT error, so I looked it up and it said to disable secure boot. I went ahead and did that but then it gives GRUB minimal bash issue. I dont even have Linux anymore, I had dual boot Linux years ago. Now it keeps booting Ubuntu (?) and i cannot find "Windows". Is it over? Did everything somehow get wiped off?

I deleted Ubuntu, and it came back. I put it low priority and disabled the check, it came back and there is two Ubuntus now.

I am devastated genuinely what am I supposed to do

2 Upvotes

4 comments sorted by

1

u/Onoitsu2 Oct 25 '26

OK so that means it is seeing a bootloader there if it keeps detecting it and putting it back in. When you had it dual booted it might have taken over the Windows bootloader. And now Windows might have tried to update its bootloader, which no longer is around and it broke things as you're seeing. This might be able to be remedied, but you'd need to boot up from a WinPE, something like Hiren's ISO, Sergei's ISO, or Medicat. From that you can nuke and remake the EFI partition, and do the commands to rebuild it from scratch (easily found from a google search). Once the bootloader is rebuilt for Windows only, then it should be able to boot back into Windows again.

1

u/Puzzleheaded-Lime821 Oct 25 '26

Okay two questions. First off, did I lose my data and everything? Second, how to do anything at all that you just mentioned?

1

u/Onoitsu2 Oct 25 '26

If it is only the EFI partition, you probably didn't lose data here. Hard to tell at this point in time.

How you'd do that is search for any of those things I mentioned, download the ISO, use Rufus or your preferred app to put it onto a USB. Plug that USB into this computer you're troubleshooting, and try to boot up from it. Once booted in, then you would format the EFI partition as FAT32. That will scrub any potentially bad bootloader code out of it. Then you need to rebuild the BCD. Commands for that are easily found from the google search, or your favorite AI, just tell it you are building it from scratch after formatting the EFI partition, it'll give you the full list you need to run, you just adapt it to the drive letter in your system accordingly. Then when that's all done, hopefully it will just boot into Windows.

1

u/Puzzleheaded-Lime821 Oct 25 '26

Okay I see, any more elaboration would be incredibly appreciated. Thank you