I have a theoretical question about multi-booting in UEFI mode. I have Manjaro 20.2.1 installed alongside Ubuntu 20.04. Because Manjaro was installed later. Grub menu is configured by Manjaro. I want to give the control back to Ubuntu. I understand UEFI partition.
I tried to look in the internet. I found some commands:
I know partially about them only. The first one to update /etc/default/grub into actual grub. The second one to install a grub (for managing boot)
I also found some files and folder:
- /boot/EFI (UEFI partition)
- /boot/grub (corresponding os partition)
- /etc/default/grub (cfg file to change grub option)
What I want to know?
What are the contribution of the commands and files/folders. What they actually do?
How to change the OS that would controls grub? (in my case from manjaro to ubuntu)
Thanks in advance ! :)