How to recover grub after installing Clear Linux OS?

without grub How can I install both os?
Do I have to change my UEFI settings every time I boot?

You need to add a systemd-boot config entry.

  1. mount your boot partition on CL with sudo systemctl start boot.mount
  2. create a file called ubuntu.conf with the following content
title Ubuntu
efi /EFI/ubuntu/shimx64.efi

  1. copy that file to /boot/loader/entries with sudo cp /path/to/ubuntu.conf /boot/loader/entries
  2. add timeout to boot menu, let’s say 10 seconds with sudo clr-boot-manager set-timeout 10
  3. update the boot entries with sudo clr-boot-manager update
  4. reboot.

The same is possible for fedora:

$ cat fedora.conf 
title Fedora
efi /EFI/fedora/shimx64.efi

I have a platform with Clear Linux, Fedora, and Ubuntu :wink:

5 Likes