EFI PARTITION
Select the unpartitioned space → Create
a. Size → input 512
b. Filesystem → select FAT32
c. Mountpoint → select /boot/efi
d. Flags → check boot → OK
SWAP PARTITION
Select the unpartitioned space → Create
a. Size → input 2048
b. Filesystem → select linuxswap → OK
ROOT PARTITION
Select the unpartitioned space → Create
a. Size → input 20480 (min. recommended size)
b. Filesystem → select ext4
c. Mountpoint → select / (root) → OK
Now, at system startup, grub does not feature Ubuntu 20.04.
Previously, when I had Manjaro Xfce in dual-boot with Windows, when I installed Ubuntu 20.04, in grub, although Manjaro appeared, it gave dependency error e and does not start.
So I installed Manjaro Gnome on the Ubuntu partition, following the tutorial above and the problem remained.
After I instaled Ubuntu 20.04 and now Manjaro Gnome.
Now my question is -
If I install Manjaro Gnome again and, on the boot partition, change to ext2 and /boot and boot flag, I will be able to have all 3 systems?
(When I installed Ubuntu 20.04, on the boot partition I was only able to select ext2 /boot and boot flag. There was no /efi /boot option and the installer complained about the fat32 option and had to change to ext2).
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.6-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.6-x86_64.img
Found initrd fallback image: /boot/initramfs-5.6-x86_64-fallback.img
Found Ubuntu 20.04 LTS (20.04) on /dev/sda12
Found Windows Boot Manager on /dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
This is an odd one! I don't really know why it isn't added to the menu while it is being captured by Manjaro's Grub.
To just make sure that your Ubuntu is bootable at all, boot up your Manjaro live usb and choose "detect efi bootloaders" on the boot screen. Search for an entry that should look like
I got this entries -
(hd2, gt2)/efi/ubuntu/grubx64.efi
(hd2, gt2)/efi/ubuntu/shimx64.efi
(hd2, gt2)/efi/ubuntu/mmx64,efi
The first two returned an error - no such device.
In particular, shimx64.efi returned - no such device - 063c338e-e59e-4a52-994c-6c21e7f557e4
If I am not mistaken, Ubuntu's installer -Ubiquity- picks the first EFI system partition on the disk as the place for installation of its bootloader. That one is the same as the Windows', that is /dev/sda2.
If you can consider a reinstallation of your Ubuntu, I would suggest one of the following alternatives:
Install Ubuntu without bootloader:
Boot up your Ubuntu live usb
Mount /dev/sda2 in the file manager and remove the folder "ubuntu"
Open a terminal and launch the installer with the command line: ubiquity -b
Install on /dev/sda12 (where your current Ubuntu is)
When done, boot up your Manjaro and update grub
Install Ubuntu with the bootloader on it's own EFI sysytem partition.
Boot up your Ubuntu live usb
Mount /dev/sda2 in the file manager and remove the folder "ubuntu"
Launch Gparted and remove the flags esp and boot from /dev/sda2
Still in Gparted delete /dev/sda12 (where your current Ubuntu is)
In the unallocated space create:
512 MB Fat32 partition flagged as boot,esp
The rest of the space, an EXT4 formatted partition
Launch the installer, choose manual mode and use these new partitions for the installation of Ubuntu. Use /boot/efi as mountpoint for the Fat32 partition, always with the flags esp and boot. And / for the EXT4 partition
When done boot up Manjaro, launch Gparted and put back the flags esp and boot on /dev/sda2 and update grub
I prefer the first method, which seems simpler. I am afraid of losing the Windows partition, as I need it for work.
Previously, when I had Manjaro Xfce in dual-boot with Windows, when I installed Ubuntu 20.04, in grub, although Manjaro appeared, it gave dependency error e and does not start.
Alright, try the first method first. I hope ubiquity -b still works. It was quite a while ago that I used it to install Ubuntu. Anyway try it.
You won't be loosing your Windows as long as you are careful with Gparted and don't delete/format /dev/sda2. Just removing the flags is a temporary measure to "fool" Ubiqity to install the bootloader to another EFI system partition.
At any rate, do as you feel comfortable and take caution anyway when picking what partiton to instal on.