Can Boot USB, but Can’t Boot EMMC

When I try to install Ubuntu or Windows 10 on my Samsung Chromebook 4 (BLUEBIRD) it boot there installers just fine with usb. But when I try to install the os it goes normal, but when I try to boot into said installed os, it says “ Ubuntu please make sure this is a 64 bit UEFI os” Help would be greatly appreciated.