Dual booting windows and manjaro gnome, had a windows update forced on me yesterday that’s nuked my grub and i can only boot into grub rescue.
1st time it’s ever happened to me and i know there’s a grub restore on the wiki , just after any advice/help before i do anything as i don’t want to make anything worse. Not the best with cli
The Microsoft screw-up has been reported here. I believe there’s a link to instructions on how to sort it out (I don’t dual boot, so haven’t had to worry myself).
That particular screw up from Microsoft from last week should not have affected manjaro, since it does not support secure boot by default and it should be turned off. And it was a secure boot screw up in this case.
But what affects are quartely updates, upgrades…windows decides to check and repair itself and since it is the only existing os in the world… it sets itself as default. This could be avoided using a second ESP partition for manjaro. Now i have to reinstall grub only on bios updates.
This could also be avoided simply by having Manjaro and Windows on separate disks – a second $ESP, yes, but on a second disk.
When Windows has a disk all to itself (complete with the Microsoft bootloader) Windows Update has no reason to touch the $ESP of any other OS (on another disk). It’s isolated.
When multibooting on the same disk (a scenario that’s prone to error from the onset) installing rEFInd to the UEFI fallback location ($ESP/EFI/BOOT) – assuming the role of default bootloader for each OS – is another way to avoid such issues. Even then (on only one disk), one should still keep an eye on it.
That is my current setup. 1 disk, 2 ESP. One for winboze, one for everything else. Manjaro in its directory, efi shell in the default location. Has not failed me so far. If i update the uefi, the manjaro variable is deleted but i can boot to “disk” which drops me into shell, i run grubx64.efi from there boot manjaro and reinstall grub without the need of usb and chroot.
This way is a bit convoluted, but i want it like this. One can just reinstall manjaro grub in the default location on the second ESP with --removable (after --recheck). And that should be rock solid if manjaro is the only other os beside windows.
A problem (as I see it) is that most who wish to multiboot on one disk, do so on a system that was never designed to have more than one OS (a laptop). The BIOS of many of these (especially older) machines are just too basic or too troublesome to have much success with.
(My) rule of thumb: Never buy a laptop (that comes with Windows Installed) if one wants to install Linux on it.
If it was easy you wouldn’t have as much fun!
I would still prefer a single $ESP if multibooting on one disk. The only possible concern (for me) might be the partition size – but if Windows is installed first, the Windows $ESP can be resized during Windows Setup, so, I guess that solves that.
Only have one ssd slot so no choice but definitely open to anything that stops windows touching grub but my partitioning skills and cli are extremely limited.
I was hoping i could just chroot into my system and reinstall grub without having to worry about partitions or anything
Well thats a true problem, when we talking about a Laptop instead a PC.
But just in case, the Laptop isn’t Mobile all the time and had enough USB Slot’s… i use a external USB 3.0 SDD from Samsung T5 (500GB) on my PC (where i have installed Manjaro) and it works even better as a Internal SSD.
I firstly just bought it to experiment with Linux (4 year’s) ago… and i had to plan to install Linux on a better internal SSD, but everything works so perfect with this external SSD, i have no plan’s to change it.
It’s possible to install two disks to a laptop; sometimes at the expense of a dvd player, but still possible. There are many Youtube videos on the topic; enjoy:
Thanks, I’m back booted into manjaro but I boot straight into manjaro now so do edit the grub again and uncomment
GRUB_DISABLE_OS_PROBER=false
to see windows
Your Manjaro Installer appears to be booting as legacy – this will always cause unexpected complication.
Please note that the Manjaro Installer (whether it’s a DVD/ISO/USB) must boot in UEFI mode, both during installation and when booting to effect repairs.
I see you mention it’s a USB – that USB must be created in UEFI mode. With Ventoy, or even Rufus (and similar) it’s just a question of paying attention to the settings used during creation. For example, the partitioning scheme used absolutely must be GPT (GUID Partition Table), and not MSDOS.