PDF download Download Article
A step-by-step guide to dual-booting Ubuntu on your PC or Mac
PDF download Download Article

Ubuntu Linux is one of the most popular Linux distributions for a reason—it's easy to use and install. The Ubuntu Linux installer even makes it easy to install Ubuntu alongside your current operating system so you don't lose your data and programs. This wikiHow teaches you how to install Ubuntu Linux on your Windows PC or Mac without erasing your current operating system.

Things You Should Know

  • Create Ubuntu installation media on a writable DVD or a USB flash drive.
  • When you dual-boot Ubuntu, you can choose which operating system to start when you boot up your computer.
  • If you're installing Ubuntu on a PC, you may need to change the boot device order in the BIOS to boot from the Ubuntu DVD or flash drive.
Part 1
Part 1 of 7:

Getting Ready

PDF download Download Article
  1. Your computer must meet the following system requirements:[1]
    • 2 GHz dual-core processor
    • 4 gigabytes of RAM (system memory)
    • 25 gigabytes of hard drive space
    • A USB port or DVD drive.
  2. You will need to create a bootable disk or USB drive to install Linux on a PC or Mac. You can use a writeable DVD or a USB drive. If you are using a USB drive, make sure it has at least 12 gigabytes of hard drive space or higher.
    Advertisement
  3. Go to https://www.ubuntu.com/download/desktop. This is where you can download the ISO file needed to install Ubuntu.
  4. It's one of the green buttons to the right. There are many versions of Ubuntu available. The latest LTS release is 20.04.3. You will be routed to the download page where the download will start automatically.
    • If the download does not start automatically, click Download Now at the top of the page.
  5. Advertisement
Part 2
Part 2 of 7:

Creating a Bootable Flash Drive

PDF download Download Article
  1. Balena Etcher is a free program used to create bootable flash drives, which you will need to dual-boot Ubuntu Linux with Windows or macOS. Alternatively, you can use UNetbootin or Rufus on Windows. To install Balena Etcher:
    • Go to https://etcher.balena.io/ in a web browser.
    • Scroll down and click Download next to your operating system.
    • Open the Balena-etcher setup file in your Downloads folder or web browser.
    • Follow the instructions to complete the installation.
  2. Make sure you use a flash drive with at least 12 gigabytes of space. Once inserted, click the Balena Etcher icon in the Windows Start menu or your Mac's Applications folder.
    • This will overwrite everything on your flash drive. If there are any files you want to keep, be sure to back them up before continuing.
    • If you are using a writable DVD instead of a flash drive, insert the DVD into your DVD drive, right-click the Ubuntu ISO file, and click Burn disk image to burn the ISO file to a DVD.
  3. It's the blue button on the left side of Balena Etcher.
  4. Navigate to the location of the Ubuntu ISO file you downloaded. Click it to select it and click Open. By default, your downloaded file can be found in your Downloads folder.
    • Your USB drive should be listed in the middle. If it is not, click Change and select your USB drive.
  5. It's the blue button on the right. This will write the ISO file to your Flash drive as a bootable drive.
  6. Advertisement
Part 3
Part 3 of 7:

Partitioning Your Drive (Windows)

PDF download Download Article
  1. Before you install Ubuntu, you will want to partition your drive so that you have a location to install Ubuntu.
  2. This will open the Disk Management utility.
  3. This displays a window you can use to partition your drive.
  4. Enter the amount you'd like to allocate to Ubuntu in megabytes (1,000 megabytes equals 1 gigabyte) next to "Enter the amount of space you want to shrink in MB." Make sure you allocate at least 30 gigabytes (30,000 megabytes) for Ubuntu. This will create new unallocated space in the graph at the bottom of the window.
  5. This allows you to allocate the space.
  6. Use the drop-down menu next to "File System" to select "FAT32" or "NTFS."
  7. Enter a name for the drive (i.e., "Linux," "Ubuntu") next to "Volume Label." This allocates the new partition space.
  8. Advertisement
Part 4
Part 4 of 7:

Partitioning Your Drive (Mac)

PDF download Download Article
  1. Click the magnifying glass icon in the upper-right corner of your desktop, type Disk Utility, and click Disk Utility in the search results.
    • You'll need to partition your hard drive to install Ubuntu as a dual-boot on a Mac.
  2. It will most likely be labeled "Apple SSD" or something similar in the menu bar to the side. Click your main hard drive and then click Partition at the top of the page.
  3. It's below the pie chart on the left side.
  4. It's the grey button on the left side of the pop-up.
  5. Enter the space you want to allocate for Ubuntu next to "Size." Alternatively, you can click and drag the slider in the pie chart. Make sure you allocate at least 30 gigabytes of hard drive space for Ubuntu.
  6. Enter a recognizable name (i.e., "Linux," "Ubuntu") in the field next to "Name."
  7. Use the drop-down menu next to "Format" to select "MS-DOS (FAT)" format.
  8. It's in the lower-right corner.
  9. It's in the pop-up that sums up the changes you are about to make.
  10. It's in the pop-up that appears. Do not turn off, unplug, or restart your Mac until the partition is completed.[2]
  11. Advertisement
Part 5
Part 5 of 7:

Booting from Ubuntu Media (Windows)

PDF download Download Article
  1. If you are using a PC, you may need to change your computer's boot order so that your computer boots from a USB drive or DVD before you can install Ubuntu. To do so, you will need to boot into your computer's BIOS menu and change the boot order. You can boot into the BIOS from within Windows. Use the following steps to do so:
    • Click the Windows Start icon.
    • Click the Settings
    • Click System (Windows 11) or Update & Security (Windows 10).
    • Click Recovery
    • Click Restart Now.
    • Click Troubleshoot.
    • Click Advanced Options.
    • Click UEFI Firmware Settings.
    • Click Restart.
    • Once your PC reboots, it will boot into the BIOS menu.
  2. The BIOS menu is going to be different for each computer's make or model. Look for an option called "Boot Order" or something similar. Select this option.
  3. If your hard drive is before the USB drive or DVD drive, change the boot order so the computer boots from the USB drive or DVD drive first.
  4. Once you change your boot order, look for the option to save your change and exit the BIOS menu. Your computer will reboot. If a DVD or USB drive is inserted into your computer, your computer will attempt to boot from the DVD or USB drive before booting from the hard drive.
  5. If you haven't already done so, go ahead and insert the USB drive or DVD with the Ubuntu ISO file into your disk drive or a USB slot. Then, follow these steps to reboot:
    • Click the Windows Start menu.
    • Click the Power icon.
    • Click Restart.
  6. Once your computer finishes restarting and you're back at the desktop, you should see the installation window appear. This will usually happen within a few minutes.
  7. Advertisement
Part 6
Part 6 of 7:

Booting from Ubuntu Media (Mac)

PDF download Download Article
  1. This won't be necessary on every Mac. However, Macs with a T2 Security Chip have a startup security utility that prevents you from booting from an external hard drive. You will need to disable this to install Ubuntu from a disk. Use the following steps to do so:[3]
    • Restart your Mac.
    • Press and hold Command + R as soon as you see the Apple logo to enter Recovery Mode.
    • Log in to an administrative account.
    • Click Utilities.
    • Click Startup Security Utility.
    • Click the radio option next to "Allow booting from external or removable media."
  2. Use the following steps to do so:
    • Click the Apple icon in the upper-left corner.
    • Click Shut down.
  3. If you are using a USB drive, insert it in a free USB port. If you are using a DVD, insert the DVD into the DVD reader. Then, press the Power button to boot your Mac back up.
  4. If you are using a Mac with an Apple Silicon processor, continue holding the Power button. If you are using a Mac with an Intel processor, press and hold the Option key. This will display the boot options.
  5. It's the one that has an orange-colored drive. It will be labeled "EFI Drive". Use the arrow keys to highlight the bootable drive and press Enter.
  6. Advertisement
Part 7
Part 7 of 7:

Installing Ubuntu

PDF download Download Article
  1. 1
    Select Try or Install Ubuntu. It's the first option in the menu. Use the arrow keys to highlight this option and press Enter.
  2. 2
    Select a language, then click Continue. Click the language you want to use for Ubuntu, then click Continue in the bottom-right corner.
  3. 3
    Click Install Ubuntu. It's on the right side of the window.
    • If you want to try Ubuntu before installing it, you can click Try Ubuntu. This will allow you to sample Ubuntu without installing it. When you are ready to install Ubuntu. Click the option to install Ubuntu on the desktop.
  4. 4
    Check both boxes on the "Preparing to install Ubuntu" page. Check the "Download updates while installing Ubuntu" box and the "Install third-party software for graphics..." box.[4]
  5. 5
    Select the option to install Ubuntu alongside your operating system and click Next. It's the second option in the menu.
    • If using a Mac, select "Manual Partitioning" and click Next.
  6. 6
    Select the drive you want to install Ubuntu on and click Install Now. Use the drop-down menu at the top to select the drive you want to install Ubuntu on. Then click Install Now in the lower-right corner. Be careful which drive you choose. Check the amount of space the drive has and the drive label to make sure you select the right drive.
    • You can also use the slider to partition the drive even further. Since you already partitioned the drive, you can install Ubuntu on the entire partition.
  7. 7
    Click Install. This page displays the changes that will be made to your hard drive. If you are ready to install Ubuntu, click Install.
  8. 8
    Select your time zone and click Next. If you are connected to the internet, this information will be detected automatically. If it is not detected automatically, enter the name of your city in the box at the top.
  9. 9
    Enter your user information and click Next. Fill out the following fields and click Next:
    • Your name — Your first and last name.
    • Your computer's name — The name that you want your computer to use. Make sure that this isn't too complicated.
    • Pick a username — Type in a username you'd like to use for your Ubuntu profile.
    • Choose a password — Enter a password. This is what you'll use to sign into your computer.
    • Confirm your password — Re-enter the password.
    • Require my password to log in — Toggle this switch on if you want to require your password to log in to Ubuntu.
  10. 10
    Select light or dark mode and click Next. Click the light or dark mode box to select whichever appearance you prefer. Then click Next.
  11. 11
    Wait for the installation to finish. It may take a few minutes for the installation to finish.
  12. 12
    Click Restart Now when prompted. Doing so will bring up a screen on which you can select your preferred operating system (e.g., Ubuntu or Windows).[5]
    • Be sure to remove your USB or DVD drive so your computer does not attempt to boot from the disk again.
  13. 13
    Select Ubuntu and press Enter. This will boot your computer into Ubuntu Linux rather than opening Windows or macOS again. You now have Linux installed on your Windows computer.
  14. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Can I use Ubuntu if I'm not tech savvy?
    Community Answer
    Community Answer
    Yes. Ubuntu is intended to be used by anyone.
  • Question
    Will I still be able to view .pdf files with Ubuntu?
    Joseph Coscia
    Joseph Coscia
    Community Answer
    Yes. Ubuntu comes with a PDF reader called Evince.
  • Question
    Is it possible to burn on a pen drive?
    Community Answer
    Community Answer
    Yes! Try UNetbootin or Rufus to create a live USB.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Show More Tips
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Install Software in Debian LinuxInstall Software in Debian Linux
Install TrueType Fonts on UbuntuInstall TrueType Fonts on Ubuntu
Change the Timezone in LinuxChange the Timezone in Linux
Install Windows Programs in UbuntuEasily Run Windows Applications on Ubuntu Linux with Wine
Install Windows from UbuntuInstalling Windows 10 or 11 on Ubuntu: A Step-by-Step Guide
Install Gnome on Ubuntu Install GNOME Desktop on Ubuntu: Full, Minimal, & Vanilla
Format a USB Flash Drive in UbuntuFormat a USB Flash Drive in Ubuntu
Uninstall Ubuntu SoftwareUninstall Ubuntu Software
Become Root in Ubuntu Get Root Access in Ubuntu Linux
Open a Terminal Window in UbuntuSimple Ways to Open a Terminal in Ubuntu
Change Keyboard Layout in UbuntuChange Keyboard Layout in Ubuntu
Install Software in UbuntuUbuntu Software Installation: The Complete Beginner's Guide
Install Ubuntu on VirtualBoxInstall Ubuntu on VirtualBox
Format a Hard Drive Using UbuntuFormat a Hard Drive Using Ubuntu
Advertisement

About This Article

Travis Boylls
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Travis Boylls. Travis Boylls is a Technology Writer and Editor for wikiHow. Travis has experience writing technology-related articles, providing software customer service, and in graphic design. He specializes in Windows, macOS, Android, iOS, and Linux platforms. He studied graphic design at Pikes Peak Community College. This article has been viewed 1,345,301 times.
How helpful is this?
Co-authors: 68
Updated: July 7, 2024
Views: 1,345,301
Categories: Ubuntu
Article SummaryX

To install Ubuntu Linux on a Windows computer, you'll need to create an installation key by downloading the Ubuntu installation file and burning it to a USB drive, after which point you can reboot your computer into the BIOS and select the USB drive to boot from it. You'll then follow the Ubuntu installation instructions. To add Ubuntu to a Mac, you'll use the Ubuntu installation file and your Mac's Bootcamp utility.

Did this summary help you?

Thanks to all authors for creating a page that has been read 1,345,301 times.

Reader Success Stories

  • John Eley

    John Eley

    Apr 5, 2016

    "The article gave me the information I need to install Ubuntu 15.1 alongside Windows. I have already run it from a..." more
Share your story

Is this article up to date?

Advertisement