A step-by-step guide to dual-booting Ubuntu on your PC or Mac

This wikiHow teaches you how to install Ubuntu Linux on your Windows or Mac computer without erasing your current operating system.

Things You Should Know

  • You can create Ubuntu installation media on a writable DVD or a USB flash drive.
  • When you install Ubuntu alongside your current operating system, you can choose which operating system to use at boot time.
  • If you're installing Ubuntu on a PC, you may need to change the boot device order in the BIOS to successfully boot from the installation media.
Part 1
Part 1 of 3:

Getting Ready

  1. 1
    Make sure that your computer can run Linux. Your computer must meet the following system requirements:[1]
    • 2 GHz dual core processor
    • 2 gigabytes of RAM (system memory)
    • 25 gigabytes of hard drive space
    • A DVD drive or USB port on your computer, you'll first need to create an installer by placing the Ubuntu ISO file on a disc or flash drive.
    • If you use a DVD, a standard 4.5GB disc will be plenty.
    • If you choose to use a flash drive, make sure it is at least 2GB.
  2. 2
    Download the Ubuntu Linux ISO file. To do so:
    • Go to https://www.ubuntu.com/download/desktop
    • Scroll down and click Download to the right of your preferred version, the latest LTS release is 20.04.1.
    • Scroll down and click the Not now, take me to the download link.
    • Wait for the download to start or click the download now link.
    Advertisement
  3. 3
    Burn the ISO file onto a DVD. You can also use a flash drive, but you'll need to format it for either FAT32 (Windows) or MS-DOS (FAT) (Mac) and then use UNetBootin or Rufus (recommended) to make the flash drive recognizable by your computer's operating system.
  4. 4
    Partition your computer's hard drive. Creating a partition sections off a determined part of your hard drive, allowing that part to function as a separate hard drive. This is what you'll install Linux onto, so your partition will need to be at least five gigabytes in size.
    • The Ubuntu support page recommends at least 25 gigabytes of free space.
  5. 5
    Make sure that your installer is inserted. Your DVD or flash drive should be inserted into or attached to your computer. Once you're certain that the installer is connected and you've performed the rest of the steps in this section, you can proceed to installing Ubuntu Linux on your Windows or Mac computer.
  6. Advertisement
Part 2
Part 2 of 3:

Installing on Windows

  1. 1
  2. 2
  3. 3
    Click Restart. It's in the Power pop-up menu. Doing so will restart your computer (hold "Shift" key when clicking to disable safe boot).
  4. 4
    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.
    • Depending on your security settings, you may need to log into your computer before the desktop appears.
    • If you're using a USB flash drive and the Linux installation window doesn't appear, restart your computer and open the BIOS, then find the "Boot Order" section, select the USB drive option (usually Removable Devices) with the arrow keys, and press the + button to move the USB flash drive to the top.
  5. 5
    Select a language, then click Continue. Click the language that you want to use for Ubuntu, then click Continue in the bottom-right corner.
  6. 6
    Click Install Ubuntu. It's on the right side of the window.
  7. 7
    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.[2]
  8. 8
    Click Continue. It's in the bottom-right corner of the window.
  9. 9
    Check the "Erase disk and install Ubuntu" box. This option is at the top of the window.
  10. 10
    Click Install Now. It's in the bottom-right corner.
  11. 11
    Click Continue when prompted. Doing so will begin the Ubuntu installation process.
  12. 12
    Select a region, then click Continue. Click a time zone block on the world map to select a region.
  13. 13
    Select a keyboard layout, then click Continue. To do this, click a language on the left side of the window, then click a version of the language (e.g., US) on the right side.
  14. 14
    Enter your user information. Fill out the following fields:
    • 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 that 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.
  15. 15
    Select a login option. Check either "Log in automatically" or "Require my password to log in" in the middle of the page.
  16. 16
    Click Continue.
  17. 17
    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).
  18. 18
    Select Ubuntu and press Enter. This will boot your computer into Ubuntu Linux rather than opening Windows again. You now have Linux installed on your Windows computer.
  19. Advertisement
Part 3
Part 3 of 3:

Installing on Mac

  1. 1
  2. 2
    Click Restart…. It's near the bottom of the drop-down menu.
  3. 3
    Click Restart Now when prompted. Doing so will prompt your Mac to begin restarting.
  4. 4
    Immediately hold down the Option key. Do this right after clicking Restart Now. You'll need to continue doing this until instructed otherwise.
  5. 5
    Release the Option key when the boot manager window appears. Once you see a window with different hard drive options appear, you can release the Option key.
  6. 6
    Select your flash drive's name and press Return. Use the arrow keys to select it. Doing so will start your computer from the flash drive.
  7. 7
    Wait for the Linux installer window to appear. If you're booting from a DVD, this may take a few minutes.
  8. 8
    Select Install Ubuntu and press Return. This will open the Ubuntu installer program.
  9. 9
    Select a language, then click Continue. Click the language that you want to use for Ubuntu, then click Continue in the bottom-right corner.
  10. 10
    Click Install Ubuntu. It's on the right side of the window.
  11. 11
    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.[3]
  12. 12
    Click Continue. It's in the bottom-right corner of the window.
  13. 13
    Check the "Install Ubuntu alongside Mac" box. You'll find this at the top of the window.
  14. 14
    Click Install Now. It's in the bottom-right corner.
  15. 15
    Click Continue when prompted. Doing so will begin the Ubuntu installation process.
  16. 16
    Select a region, then click Continue. Click a time zone block on the world map to select a region.
  17. 17
    Select a keyboard layout, then click Continue. To do this, click a language on the left side of the window, then click a version of the language (e.g., US) on the right side.
  18. 18
    Enter your user information. Fill out the following fields:
    • 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 that 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.
  19. 19
    Select a login option. Check either "Log in automatically" or "Require my password to log in" in the middle of the page.
  20. 20
    Click Continue.
  21. 21
    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).
  22. 22
    Select Ubuntu and press Enter. Only do this if prompted. Your computer will boot into Ubuntu rather than MacOS, signifying that you have successfully installed Ubuntu Linux on your Mac.
  23. Advertisement

Community Q&A

  • 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.
Advertisement

Warnings

  • Even though Linux has a reputation for being incredibly safe, make sure to apply security updates and patches when they become available.
    ⧼thumbs_response⧽
  • If you ever find someone telling you to enter a command along the lines of sudo rm -rf / —no-preserve-root, this is a trick and will brick your Linux installation.
    ⧼thumbs_response⧽
Advertisement

About This Article

Jack Lloyd
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 1,301,881 times.
How helpful is this?
Co-authors: 66
Updated: February 2, 2023
Views: 1,301,881
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?
Advertisement