Install Ubuntu on Celeron (Apollo Lake) N3450 (UEFI Windows 10) Computer

Update, May 7, 2018:
Ubuntu 18.04 supports EFI boot for Intel Apollo Lake N3450.

=======OLD POST============
Yesterday (Nov. 11, 2017), I bought Intel N3450 Mimipc stick with Windows 10 pre-installed. I had tried installing Linux (Ubuntu, Arch, Mint) for many many times. Every time, I got blank screen with a cursor until I read Joost van der Wulp‘s post on "How to install Kubuntu on a Chuwi Hi13" http://chuwi-hi13-install-ubuntu.blogspot.com/2017/04/

Now, my minipc stick is running Linux Mint 18.2 Sonya 64-bit. What I did:

1. use Rufus (in Windows 10) to create a bootable usb
Download and install rufus on your windows computer:
https://rufus.akeo.ie/

Insert your first USB-stick, and copy the files to it, using Rufus.
use GPT partition scheme for UEFI

Now we are going to make a bootable USB-stick with ubuntu.
Download Ubuntu for gnome live ISO (or Linux Mint)

Insert your USB-stick, and burn the ubuntu iso to it, using Rufus.

2. Modify the USB
Open your USB-stick with windows file browser.
Go to: Efi/Boot.
There you see 2 files:

BootX64.efi and:
GrubX64.efi

Delete them and replace them with the Refind version prepared by Joost:
https://drive.google.com/drive/folders/0B3FtVY6JAiGAV2d0Z1hzMDBQQ0U?usp=...

In the directory Boot, you find the two needed files:
bootx64.efi
refind.conf

Notice: an added a menu entry at the bottom of refind.conf.
The options copied from boot/grub/grub.cfg:
menuentry "Try Ubuntu GNOME" {
loader /casper/vmlinuz.efi
options "file=/cdrom/preseed/ubuntu-gnome.seed boot=casper quiet splash ---"
initrd /casper/initrd.lz
}

(If you are not using Ubuntu Gnome, you need to change "ubuntu-gnome.seed")
Then: copy the second dir from the shared google-drive:
refind
to the root of your usb-stick. We will need it later.

Oke, your life stick is ready.

3. to install ubuntu.
insert the second USB-stick, and boot (continuously hit DEL).
you have to visit the UEFI-BOOT and change the boot order.

Finally you should be able to startup refind on your USB-stick,

Choose: Try Ubuntu GNOME
Now you get a fully working ubuntu from live ISO.

Choose install, after choosing language you can login to your WIFI-network, and check extra repositories. Note that WIFI is wqorking out-of-the-box!

Finally, you get a menu with several choices of installation.

a. partition for UEFI (vfat, "/boot/efi")
Microsoft has created a hidden system partition for UEFI (around 100 mg). Just keep this partition.
b. partition for windows 10
keep Windows 10 partition, even you do not need Windows 10, but we need this to install Ubuntu.

c. make a partrition EXT4, mountpoit "/"
d. make a new parition EXT4, mountpoint "/home"

now go on with installation.

4. Add refind to the UEFI windows bootloader.
After install, do not restart. (if you restart it, you need to log in the USB again to load the Ubuntu)

a bit complex way in 4 steps:

step 1: mount the GPT-boot-partition
look at the name and mountpoint of the GPT boot-partition.
Something like:
/dev/mcmlbk1p1

now you know the name, open terminal and type:
sudo mount /dev/mcmlbk1p1 /mnt

Now your GPT-boot-partition is mounted under /mnt

step 2: copy the refind-files to the GPT-boot-partition.

Go to /mnt/EFI/boot
In this dir, you copy the complete content of the dir: "refind" you copied earlier to the root of you USB-stick.
you must have:
drivers_x64
icons
tools_x64
bootx64.efi
refind.conf-sample (it is not necessary to change it)

If you want, you can delete the grub bootloader. Delete directory: "Ubuntu". It removes a not-working ubuntu-button in you refind bootscreen

Step 3:

restart and boot into windows .
download and install the app: EasyUEFI.

start it, choose the left button.
Choose add entry
"/boot/efi/EFI/Boot/bootx64.efi"

If you have deleted your windows 10, you can run "efibootmgr" in linux to create an EFI boot entry:
root #efibootmgr -c -d /dev/sda -p 2 -L "Refind" -l "\boot\efi\EFI\Boot\bootx64.efi"

--create (-c) to create a new entry;
--part (-p) followed by the partition number on which the EFI System Partition is hosted;
--disk (-d) followed by the disk on which the EFI System Partition is hosted;
--label (-L) followed by the label to use as the boot entry;
--loader (-l) followed by the path of the EFI image to boot
The path of the EFI image to boot must use \ (backslash) instead of / (forward slash) as path separator.

(Read here: https://wiki.gentoo.org/wiki/Efibootmgr)

Step 4:

Now restart into the UEFI-bootloader (continuously hit DEL).
goto boot, at bottom of page you see: BBS priorities.
You see normally tree entries now:
windows
ubuntu grub
refind
change it so refind is first.
reboot.
and you get a nice graphical refind loginscreen.

Cant make it happen for a chuwi hi13

I did everything but then im stuck in refind bootloader that displays this error when i click on try Ubuntu :
Error : Not found while loading vmlinuz.efi

I copied and replaced both files from BOOT directory in the stick, and copied refind directory to root of the stick.

Just download Ubuntu 18.04

There is no need refind in Ubuntu 18.04.

Error : Not found while loading vmlinuz.efi fix

apparently to fix that error you need to go to the folder /casper in the usb stick and add a ".efi" to the vmlinuz file there, it will change its format to efi and the live usb stick will be functional with refind

It worked up to the boot with the USB stick

The app EasyUEFI (trial version) does not work on my windows 10. How can I overcame
this problem, if I want to keep both systems (at the moment I am not able to boot the installed linux).

WOW!

Hey man, i had the same problem with a T-Bao 15.6 chinese Notebook, the same configuration as well. And your article save-me, it works very well here and was the only way i found out to make this Notebook works with Ubuntu 17.10. Its very (very) good, and now, finally Working. Thank you toooooo much.

I'm A Bit Lost.....

I followed the instructions and successfully got ubuntu, ubuntu gnome and xubuntu to all boot but I can't run the installer or any other applications from within ubuntu as it just fails to open or gives "Input Output Errors"

point 4 step 2

Could you better explain this passage....please???

Thanks, that helped a lot....

....to install Xubuntu 16.04 on my bargain laptop from China (Ezbook 3 Pro)!

Normally all the images didn't boot, but replacing the ".efi" file and adjusting the refind.conf to "xubuntu.seed" did the trick.
Very happy with that rather simple solution - luckily it was the first search result on google for "grub n3450" :-)

I didn't even need to replace grub, so I was done after your stepe 2.3.
(Since grub worked out of the box with Manjaro on the same machine, I suspected that it wasnÄt purely grub-related)

JESUS!!!

f#$K MY LIFE, I found installing Manjaro via live-usb (after configuring the BIOS to actually boot from USB by disabling secure boot), updating the whole OS (which updates GRUB2 automatically), THEN going back into the BIOS and enabling the secure boot so I could select the boot64.efi file as being a trusted file to recognize on start-up was the ONLY F-ING WAY to get any version of linux on my Acer Spin 1. BRUTAL! Took me 2 months to figure this out. And the worst part is I wanted Ubuntu on it.