Dual-Boot Ubuntu Alongside Windows?
Setting up a dual-boot system allows you to experience the open-source flexibility of Ubuntu Linux while retaining your existing Windows environment. This guide provides a step-by-step walkthrough of the entire process, including preparing your Windows drive, creating a bootable USB installer, configuring your system’s BIOS/UEFI settings, and navigating the Ubuntu installation wizard. By following these steps, you will create a safe, selectable boot menu that lets you choose between Windows and Ubuntu every time you turn on your computer.
Step 1: Back Up Your Data and Prepare Windows
Before modifying your computer’s storage partitions, it is critical to back up your important files to an external drive or cloud storage. Once your data is safe, you need to shrink your existing Windows partition to make unallocated space for Ubuntu.
- Right-click the Windows Start button and select Disk Management.
- Locate your main drive (usually
C:). - Right-click the drive and choose Shrink Volume.
- Enter the amount of space to shrink in megabytes. It is recommended to allocate at least 25,000 MB (25 GB) for Ubuntu, though 50 GB or more is ideal for long-term use.
- Click Shrink and leave the newly created space as Unallocated.
Step 2: Download Ubuntu and Create a Bootable USB
Next, you need to download the official operating system image and flash it onto a USB flash drive (minimum 8 GB required).
- Visit the official Ubuntu website and download the latest LTS (Long Term Support) ISO file.
- Download a free USB flashing tool such as Rufus or BalenaEtcher.
- Plug in your USB drive, open the flashing tool, select your downloaded Ubuntu ISO, and click Start or Flash to create the bootable drive. Note that this process will erase all existing data on the USB drive.
Step 3: Adjust Firmware Settings (BIOS/UEFI)
Windows often uses features that can prevent another operating system from booting or installing properly. You must disable these features before proceeding.
- Disable Fast Startup: Open the Windows Control Panel, navigate to Power Options > Choose what the power buttons do, click Change settings that are currently unavailable, uncheck Turn on fast startup, and save changes.
- Enter BIOS/UEFI: Restart your computer and
repeatedly press the setup key (usually
F2,F12,Del, orEsc) before the Windows logo appears. - Disable Secure Boot: Locate the Security or Boot tab in your BIOS/UEFI menu and change Secure Boot to Disabled. Some modern systems allow Ubuntu with Secure Boot enabled, but disabling it prevents common installation errors.
- Change Boot Order: Set your USB flash drive as the primary boot device, then save your changes and exit.
Step 4: Install Ubuntu Alongside Windows
Your computer will now boot into the Ubuntu live environment from the USB drive.
- Select Try or Install Ubuntu from the boot menu.
- Once the desktop loads, click the Install Ubuntu icon.
- Choose your preferred language and keyboard layout, then connect to Wi-Fi to allow updates to download during installation.
- When prompted for the Installation type, carefully select the option that says Install Ubuntu alongside Windows. This automated option detects your unallocated space and configures the partitions safely without wiping Windows.
- Follow the remaining prompts to select your time zone and create your user account credentials.
- Click Install Now to begin the process.
Step 5: Complete Installation and Choose Your OS
When the installation finishes, a prompt will ask you to restart your
computer. Remove the USB flash drive from the port and press
Enter.
Every time your computer boots up from this point forward, you will be greeted by the GRUB bootloader screen. This menu allows you to use your arrow keys to select whether you want to boot into Ubuntu or Windows. If you do not touch any keys, the system will automatically boot into the default selection (usually Ubuntu) after a few seconds.