How to Install Ubuntu Linux: Dual Boot with Windows or macOS

Download Article
A step-by-step guide to dual-booting Ubuntu on your PC or Mac
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 How.com.vn 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

Download Article
  1. How.com.vn English: Step 1 Make sure that your computer can run Linux.
    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. How.com.vn English: Step 2 Get a USB flash drive or a writable DVD.
    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. How.com.vn English: Step 3 Go to https://www.ubuntu.com/download/desktop....
    Go to https://www.ubuntu.com/download/desktop. This is where you can download the ISO file needed to install Ubuntu.
  4. How.com.vn English: Step 4 Scroll down and click Download [version number].
    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

Download Article
  1. How.com.vn English: Step 1 Download Balena Etcher.
    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. How.com.vn English: Step 2 Insert your flash drive and open Balena Etcher.
    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. How.com.vn English: Step 3 Click File from Flash.
    It's the blue button on the left side of Balena Etcher.
  4. How.com.vn English: Step 4 Select the Ubuntu ISO file.
    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. How.com.vn English: Step 5 Click Flash.
    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)

Download Article
  1. How.com.vn English: Step 1 Right-click the Windows Start menu.
    Before you install Ubuntu, you will want to partition your drive so that you have a location to install Ubuntu.
  2. How.com.vn English: Step 2 Click Disk Management.
    This will open the Disk Management utility.
  3. How.com.vn English: Step 3 Right-click the drive you want to partition for and click Shrink Volume.
    This displays a window you can use to partition your drive.
  4. How.com.vn English: Step 4 Enter the space you want to allocate and click Shrink.
    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. How.com.vn English: Step 5 Right-click the unallocated space and click New Simple Volume.
    This allows you to allocate the space.
  6. Step 6 Select "FAT32" or "NTFS" as the file system.
    Use the drop-down menu next to "File System" to select "FAT32" or "NTFS."
  7. How.com.vn English: Step 7 Enter a name for the drive and click Next.
    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)

Download Article
  1. How.com.vn English: Step 1 Open Disk Utility.
    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. How.com.vn English: Step 2 Select your primary hard drive and click Partition.
    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. How.com.vn English: Step 3 Click the + button.
    It's below the pie chart on the left side.
  4. How.com.vn English: Step 4 Click Add Partition.
    It's the grey button on the left side of the pop-up.
  5. How.com.vn English: Step 5 Enter how much space you want to partition for Ubuntu.
    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. How.com.vn English: Step 6 Enter a name for the new partition.
    Enter a recognizable name (i.e., "Linux," "Ubuntu") in the field next to "Name."
  7. Step 7 Select "MS-DOS (FAT)" as the format.
    Use the drop-down menu next to "Format" to select "MS-DOS (FAT)" format.
  8. How.com.vn English: Step 8 Click Apply.
    It's in the lower-right corner.
  9. How.com.vn English: Step 9 Click Partition.
    It's in the pop-up that sums up the changes you are about to make.
  10. How.com.vn English: Step 10 Click Continue.
    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)

Download Article
  1. How.com.vn English: Step 1 Boot into your BIOS or UEFI.
    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. How.com.vn English: Step 2 Look for the option to change the boot order.
    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. How.com.vn English: Step 3 Place the USB drive and/or DVD drive first in the boot order.
    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. How.com.vn English: Step 4 Save and exit the BIOS.
    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. How.com.vn English: Step 5 Insert the Ubuntu USB drive or DVD and reboot.
    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. How.com.vn English: Step 6 Wait for the Linux installation window to appear.
    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)

Download Article
  1. How.com.vn English: Step 1 Allow booting from external media (if needed).
    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. How.com.vn English: Step 2 Power your Mac off.
    Use the following steps to do so:
    • Click the Apple icon in the upper-left corner.
    • Click Shut down.
  3. How.com.vn English: Step 3 Insert your Ubuntu USB drive or DVD and power on your Mac.
    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. How.com.vn English: Step 4 Immediately press the button to display the boot options.
    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. How.com.vn English: Step 5 Select the bootable drive.
    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

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?
    How.com.vn English: 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?
    How.com.vn English: 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?
    How.com.vn English: 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

      Tips

      Show More Tips
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn English: Travis Boylls
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Travis Boylls. Travis Boylls is a Technology Writer and Editor for How.com.vn. 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,334,545 times.
      How helpful is this?
      Co-authors: 67
      Updated: November 12, 2023
      Views: 1,334,545
      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,334,545 times.

      Reader Success Stories

      • How.com.vn English: 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?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement