To install Ubuntu on GPT drive and UEFI I need a "EFI boot partition". So here is my partitions I would like to create for my Linux sytem
EFI boot partition (/boot/efi)
swap
/ (root)
/home
... however it didn't go smoothly (I think I run my usb stick with compatiblity features and in that case it didn't boot on "UEFI" mode ...) and I am using boot-repair on ubuntu.
I need dual boot with windows which uses the EFI windows partition (FAT32): /dev/sda2.
- Should I mount my /boot/efi partition to this windows Fat32 partition or create a new one ?
Here is the boot info of my computer from boot repair.
http://paste.ubuntu.com/p/3wzFggFMh3/
This utility suggests:
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.
Gtk-Message: 15:14:21.079: GtkDialog mapped without a transient parent. This is discouraged.
(debug) reinstall grub2 place-in-MBR no-BIOS_boot (sda7)
Is this BIOS-Boot partition that I should create the partition /boot/efi above or the windows EFI partition ?
After the previous suggestion, this utility addresses:
Grub-efi would not be selected by default because: no-win-efi
but what does it mean "no-win-efi" ? I have a windows EFi partition, it's my sda2 (ok I think I messed things up because it seems I erased the windows file with federa "bootlader" (I played dangereously with grub-mkconfig and it may have erased the windows file)) so I am afraid that if I use boot-repair I will lose windows.
- If I really deleted the windows file on the windows EFi partition, may ubuntu help me to restore these files on this partition ?
/dev/sda2
. It should be mounted as/boot/efi
in Ubuntu. This is the answer to your Q1. I don't know that will solve your problem though. I don't know anything about Q2, Q3, and Q4. – user68186 Jun 05 '19 at 21:02