I just installed Ubuntu and I used this guide: How do I install Ubuntu? (the first answer).
So fast forward to number 13 it's installed and I had this problem with UEFI already that my PC automatically boots into Windows. As far as I understand that part in number 13 fixes exactly this problem.
Well, I didn't enter those commands as soon as it was installed and re-booted Ubuntu (the only option was "Restart Now" :$). Now what do I do? I tried to write those commands in terminal but this is what I got:
Copy:
cp: cannot stat '/target/boot/efi/EFI/ubuntu': No such file or directory
ls: cannot access '{efi}/ubuntu/shim*.efi': No such file or directory
cp: cannot stat '/target/boot/efi/EFI/boot/shim.efi': No such file or directory
What am I doing wrong? Is it too late now to use those commands? Thanks for your help in advance!