Saturday, September 23, 2017

Install Ubuntu with Windows UEFI dual boot

I tried to install Ubuntu with my existed Windows 7 today, and have the Ubuntu / Windows dual OS boot up. The most guides on web are out of date, special for currently most PC use UEFI as default boot configuration, there are a lot of mistakes. So I take a as-is notes for today: 2017-09-24

To install Ubuntu without wipe existed Windows with UEFI:
1. Prepare ubuntu install USB stick and empty disk space in Windows.  You can search on web about this step, a lot of guides.
2. Boot up with the ubuntu install USB stick. IMPORTANT:  DO NOT select "install ubuntu" in boot menu!! Select "Try ubuntu" to boot into live ubuntu (it runs on your USB stick, does not install any things) firstly, then select "Install Ubuntu" --- These two "Install Ubuntu" are different because you need boot up into ubuntu for detecting UEFI mode.
3. Select "Install ubuntu" -> "Something else", create the first partition , for 300MB size, of your empty space as a "EFI partiton"!!! You MUST have this partition.
4. Then create /boot after that EFI partition. And create /, /home, /swap as your wish.
5. Select "Install boot at" option to the EFI partition you just created!!!
6. Then continue the install process as normal.

The key point is to boot into ubuntu then do the installation, and the EFI partition. Another thing must aware is, DO NOT use "hybird display card" option in BIOS, otherwise ubuntu will show an empty desktop because pci issue.
 

No comments:

Post a Comment

Enable HP Zbook Thunderbolt 3 Dock on Ubuntu

As mention in previously post, I installed Ubuntu on my HP ZBook. After two days used all things work just fine, but the Thunderbolt 3 Dock ...