Disclaimer
Completely untested, so if it breaks your system, then you get to keep all the pieces. However, in theory, it should work.
Depending on which Manjaro installation you wish to use as your primary distribution, that one must be the one whose boot loader we have to install last. I am going to assume that it is your Cinnamon installation that you would like to use as your main distribution. So here’s what to do…
First, boot up from the install medium in live mode ─ it doesn’t matter which live medium, so long as it is Manjaro.
Now, open up a terminal window and issue the command…
su -
It will ask you for the root password of the install medium. Next, issue the following command…
manjaro-chroot -a
You will now get a menu from which you must choose which Manjaro installation you want to chroot
into. Choose the OpenBox partition.
Now, in the chroot
environment, issue the following command…
mount | grep efi
If you do not get any output from that command, issue the following command, whereby you substitute /dev/sda1
with the correct device name for EFI system partition …
mount /dev/sda1 /boot/efi
This is where I’m going out on a limb, but in theory, this should work. Issue the following commands…
grub-install --recheck --no-rs-codes --install-modules="part_gpt part_msdos" --efi-directory="/boot/efi" --target="x86_64-efi"
update-grub
mv /boot/efi/EFI/manjaro /boot/efi/EFI/openbox
exit
Now, you’ve exited the chroot
environment for the OpenBox installation, so now we’re going to do the same for the Cinnamon installation.
Again, issue the command…
manjaro-chroot -a
This time, pick the partition with the Cinnamon installation from the menu.
And now we repeat the process…
mount | grep efi
If it’s not mounted, issue…
mount /dev/sda1 /boot/efi
Don’t forget to substitute /dev/sda1
for the correct device name of your EFI system partition.
grub-install --recheck --no-rs-codes --install-modules="part_gpt part_msdos" --efi-directory="/boot/efi" --target="x86_64-efi"
update-grub
exit
Now you can safely exit the root shell and then the regular shell, either by issuing the following command twice…
exit
… or by hitting Ctrl+D twice.
And now it should be safe to reboot the system. Your UEFI boot menu should now show three entries again…
- Windows
- OpenBox
- Manjaro (which will boot your Cinnamon installation).
If you missed it at the top of this post, then click the little arrow next to the disclaimer below.
Disclaimer
Completely untested, so if it breaks your system, then you get to keep all the pieces. However, in theory, it should work.