Dual Boot Ubuntu & Windows
This guide will show you how to install Windows & Ubuntu on the same hard drive.
Make sure to backup any important files before proceeding with this guide.
1. Create bootable Windows USB
Please refer to Microsoft's guide on Creating Windows 10 Installation Media.
2. Boot into Windows
Upon powering on the machine, repeatedly press the delete key, like so:
This will take you into the BIOS, which will look something like this:
Now we'll need to select our Windows installation media from the Boot Menu.
Access the Boot Menu by pressing F8
Then select the disk where you placed the Windows Installer. In my case, I put the Windows installer on a Kingston-branded USB drive.
Keep agreeing to EULAs and pressing "Next" until you get to this screen:
It will then ask you what type of installation you want. We'll choose Custom here.
3. Partitioning the Disk
Having backed-up important files, delete any existing partitions.
Then create a new partition on your prefered OS disk.
I'll be making mine half of the size of the disk:
Then confirm your changes:
Windows will then split the partition you creating into 4 more partitions.
You can now proceed to install Windows:
Once your windows installation is complete, power off your machine.
Create and boot into a bootable Ubuntu USB.
The moment after you select your bootable USB from the BIOS, repeatedly press the Esc key.
That will take you into the Grub command prompt:
Type normal, then press Enter.
That will take you to the Grub Menu.
Hover over the Install Ubuntu option and press E.
Then add nouveau.modeset=0 to the line that starts with linux, like so:
Then press F10 to boot into Ubuntu.
Proceed with Ubuntu's installation prompts until it asks you about the installation type. We'll select Install Ubuntu alongside Windows Boot Manager
Once the Ubuntu installation completes, you will be given the following options upon rebooting the machine:
5. Install Lambda Stack
Boot into the Ubuntu installation and refer to our guide on how to Install Lambda Stack.