Step-by-Step: How install Window after Linux (Ubuntu)?

Follow the step written  by

My computer is Lenovo Yoga Pro 3 and I encounter a big problem that my USB won’t show up in BIOS mode. I repost the step written by here as I found solution to make it work with my computer. You can see my solution in Red below.

How to get Window 10 for free:

Note : I use “Refus” to create a bootable USB instead of the original auther which use UNetbootin.



  1. You’ll need to download some tools.
  2. Making a Live USB and Partitioning.-Run UNetbootin (or Rufus)

    -You have two options on the main screen. We want to choose Disk Image, not distribution. Make sure it says .iso, then click the “…” button and find your Ubuntu .iso file we downloaded earlier and select it. Now make sure you’re selecting USB on the main screen and the appropriate drive letter for your USB. You can ignore making extra space, as we won’t be needing it for this. Then install that .iso file. It should only take a couple minutes.

    -Restart your PC as prompted. On restart you need to get into your Boot Menu. On my laptop this means hitting the F12 key during boot. Yours might be different. Once you’re in your bios screen select your boot device (You should see your USB). It’ll open Ubuntu and ask if you want to install or run from the USB in a trial version. Run the trial version.

    -Open Gparted from the desktop. You should see “blocks” of memory here. You want to Resize a partition (this makes room for a new one). So right click on the partition and select resize/move. You now see a min and max size. Don’t set it directly to your minimum size, leave room for expansion. At least a few GB if possible. The numbers are in MB. You can google the conversion if you need to. Now click resize/move.

    -You are now back on the GParted main screen and a new partition labeled “Unallocated” has appeared. Right click on this partition and select NEW. Create it as a PRIMARY PARTITION with a files extension of NTFS. You can set the size as well, by default it’ll use all the free space which is fine. You can add a label, but I find it easier to let the system name it. Now click add. You are back to the main screen. Click the Green checkmark to run both the resize operation and the NTFS formatting operation. If you are working on sizes with 100’s of GB this is going to take a long time (took me 1.5 hours).

  3. Installing Windows 10-Restart your PC, install the Windows 10 .iso to a USB using Rufus (same steps as in #2)
    ** Window 10 is run on UEFI and you need to select “GPT Partition Scheme for UEFI” to make it work. Don’t use defult setting**

    -Restart your PC, hammer on your Boot key (mine is F12) to enter your Bios. Select the USB from the boot list.
    ** Mine can’t find the Bootable USB. I need to change the Boot mode to UEFI and then restart again. ** This is because it is a Window 10.

    -Windows will walk you through installing itself. It will directly ask you to pick a partition. Select the new one you made in Step 2. When it’s done it will have altered your Boot settings and it will look like Ubuntu is missing (it’s not, don’t panic).

  4. Repairing Grub-Use UNetBootin to make a live USB for the grub boot repair .iso (see previous steps for instructions)

    -Restart your PC and hammer on your boot key (mine is F12) to enter the Bios. Select your USB from the boot list.

    -You are now in a desktop designed simply to repair GRUB for you. You the “recommended settings” button that pops up on the desktop. You’ll be prompted to connect to the internet during the repair process. They store your file in a URL for you to access later, nothing crazy. Once you’re done you should be good to go, Grub should load automatically allowing you to select your OS when you restart the computer. But if you are unlucky like me an restarting just throws you into Windows go to step 5..

  5. Changing your UEFI boot order. This should not be necessary for most people. My UEFI and BIOS just hated me. There are three methods to fixing this: Using Ubuntu, Using Windows, and Using your Bios. Ubuntu and Windows failed for me, using the BIOS directly worked.-Ubuntu Method. (Copied mostly from Cleaning up and changing the EFI boot order permanently using eifbootmgr) Open a terminal and type:
    sudo efibootmgr -v

You’ll see your boot order now (here’s my broken order, yours will vary):

BootOrder: 0005,0000,2001
Boot0000* Ubuntu    +Lots of other info
Boot0002* UEFI Onboard LAN IPv4   +Lots of other info   
Boot0003* UEFI Onboard LAN IPv6   +Lots of other info
Boot0005* Windows Boot Manager  +Lots of other info
Boot2001* EFI USB Device    

The line BootOrder: 0005, 0000, 2001 is our problem. It means we’re loading windows and not Ubuntu (which holds Grub) first. We need to change this. Copy this line and change the numbers as needed for your own system:

sudo efibootmgr -o 0000,0005,2001

This will change the order to Ubuntu, then Windows, then a USB. This is specific to MY system. You need to use your own numbers, but in that exact same format. You can add more commas and numbers, but don’t use any spaces and all numbers are 4 digits. Restart your PC and see if you load directly into GRUB for Ubuntu. Mine didn’t stick, so I then tried the windows method below.

Windows Method. If you boot into the Windows 10 OS, you can try configuring the UEFI Boot order manually. Unfortunately my system didn’t detect my files properly. Here is how to do it though:

These are the instructions I followed and they do a good job. I had to go to the next step though.

BIOS Method. This method sucks because every BIOS interface is different. Restart your PC. Hammer on your BIOS key (mine is F12) to enter the boot menu. Find some sort of menu that talks about boot order. Mine was hidden in an “advanced” tab. You should see your list and Windows will be at the top. Using +/- you can change the order, place Ubuntu at the TOP. My system only uses -, but it still works. SAVE AND EXIT that screen. Exit out of your bios. You should now see the Grub Menu (since Ubuntu is the default UEFI Boot now). Select the OS you want. And then restart your PC one more time. If Grub pops up, then you’re done and good to go. Hope this helped.

Again, thanks to the community for all the support articles and friendly advice. If you wish to configure your Grub Menu please go to:

it has a lot of fun options to tinker with, especially your timeout for loading into a default OS.