I was trying to install ubuntu in an external disk, when i make the partitions, it says 'failed to format ext4'.
I tried with an older ubuntu version, and another distro and same error.
I disabled the secureboot.
The partitions i made are:
-efi 300 MB.
-/ 50 GB.
-Swap 8 GB.
I tried to make the same thing in another notebook 32 bits, and i could install linux and windows, so the problem is in 64 bits notebook. The disk is a notebook disk that i reused, with and SATA to USB 3.0 adapter. it has 320 GB, in gparted says 289 GB, and in the installation says 320 GB.
In the 32 bits notebook installation i made /boot partition instead efi. Does anyone knows what is the problem?