After using lubuntu on my laptop for quite a while, I decided to upgrade my desktop as well. I have windows 7 on /dev/sda and I installed debian on /dev/sdc. When I installed debian, I looked for window's efi partition (/dev/sda1) , and I installed grub there. Everything was fine.
A few days later, I decided to go from debian to kubuntu. Following the installer from a live usb, I chose 'use whole disk' and I overwrote /dev/sdc with kubuntu. At this point, booting from /dev/sda would go to grub-rescue, and from /dev/sdc would skip grub altogether, as it only had one entry.
The way I went from debian to kubuntu was probably not the best way. I repaired windows boot using a windows USB, and I enabled grub on /dev/sdc.
Now that both systems were fine, I tried update grub to detect windows but to no avail. I tried the grub-config program too and I looked through some questions here but nothing worked with me.
I am aware of my limitations and that I got to this point simply because of bad decisions. I can boot into windows but it's not convenient, I have to manually select its disk on the boot menu. I'd like to have it in grub too. Any suggestions?
I ran boot-repair from a live usb and here's the output
"GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again. Alternatively, you can retry after activating the [Separate /boot/efi partition:] option."
I'm not really sure what to do with this information. I'm not comfortable messing with the advanced settings either. What do you think? Here's the output too http://paste.ubuntu.com/p/vbZPzdP5ry/
– Luís Alves Feb 19 '19 at 21:57