Categories: Computer

How to install Ubuntu Desktop OS on a PC, alongside Windows (7, 8 or 10)

Do you like Ubuntu, but there is no additional computer besides Windows PC, I will tell you how you can dual boot or install Ubuntu Linux on your PC alongside Windows 7, 8 or 10. As we install Windows with a USB flash drive and ISO, its way is almost the same.

If you want to experience how Ubuntu will work on your PC, just select the option ‘Try Ubuntu’ or ‘Try Ubuntu without installing’ in the Startup screen. It will run live version of Ubuntu OS directly on your PC without touching and installing any file on your Windows computer.

Part 1 of 3: Prepare a Ubuntu / Linux Bootable USB Drive

Rufus is the best tool for creating bootable USB drives for Windows or Linux. Although there are many tools that specifically make Linux bootable USB drives.

  1. Download the latest LTS version of Ubuntu Desktop from the official website. The ISO file download size will be around 1.5 GB.
  2. Connect your USB flash drive with PC and run Rufus.
  3. Under the Format Options, click on the CD / DVD icon and select Ubuntu ISO image.
  4. Click the ‘Start’ button and accept all warnings, your Ubuntu bootable USB will be ready in a few minutes.

Part 2 of 3: Create a disk partition for Ubuntu

For Ubuntu, you will need some unallocated space which you can take from Windows Drive (C). I recommend 20 gigabytes for Ubuntu which is 20480 MB. If your computer does not have a lot of space in the hard disk, please see the minimum system requirements for Ubuntu.

  1. Open Run (Windows key + R) on Windows, type ‘diskmgmt.msc’ and press Enter.
  2. Right-click on Windows partition and select the ‘Shrink Volume…’ option.
  3. Choose how many MBs to assign for Ubuntu operating system and click the ‘Shrink’ button.

Part 3 of 3: Install Ubuntu OS alongside Windows

The process of setting up Ubuntu alongside Windows 7, 8 or 10 is almost the same. I’m just using 3 PCs with Windows 10, 8 and 7, to know if there is something different about dual-boot installation.

Please! Before proceeding with Ubuntu installation, backup your computer completely or any important data.

Follow the steps given below:

  1. Connect the Ubuntu Bootable USB Flash Drive on your Computer.
  2. Restart your computer and press the boot device options key, such as F9 or F12 or F8 or F10 or Esc key or may be different, select your USB drive and press Enter
  3. In the startup screen, to launch the live version of the operating system, select ‘Try Ubuntu without installing‘ or ‘Try Ubuntu‘.
  4. Experience Ubuntu without installation on your PC.
  5. On the Ubuntu Desktop screen, click on the “Install Ubuntu…” icon and start the installer.
  6. Choose your language and press continue.
  7. Check ‘Install third-party software for graphics…’ and go forward (this is optional).
  8. On the Installation Type step, select ‘Install Ubuntu Alongside Windows Boot Manager‘ or ‘Install Ubuntu Alongside Windows 7, 8 or 10‘. (If you want to create a manual partition or not get the option of alongside installation, then select ‘Something else’ and follow the manual partition steps.)
  9. Choose your location and keyboard layout.
  10. Make a new default / root / admin user on the last step and press Continue.
  11. Wait till Ubuntu is installed.
  12. Press the ‘Restart Now’ button to restart your computer.

Your PC will now be restarted, and the bootloader menu will be displayed in which you can choose which operating system to boot.

Steps for manual partitioning

In this process, we have to make three divisions from available free space (or unallocated space). Divisions are used for swap area, root ‘/’ and /home partitions.

  1. Choose free space and press the ‘+’ button.
  2. At least choose the size of your PC’s RAM, such as 2048 MB for 2 GB RAM. Use this partition as ‘swap area‘. (Partition type is ‘primary’ and the location of the partition is ‘beginning of this place’. These are default values for all the partitions created below.)
  3. Again, click the ‘+’ button and select at least 10-20% of the total free space size. I use 4 GB (4096 MB). The mount point will be ‘/’ root and use as ‘Ext4 journaling file system’.
  4. Lastly, then click on the ‘+’ button and select all the left free space. Use this partition as ‘Ext4 journaling file system’ with mount point ‘/ home‘.

Troubleshoot problems

There is no option for ‘Install Ubuntu Alongside…’

If Ubuntu does not detect Windows then it will not show up the ‘Alongside’ installation option. To fix this problem, make sure that the shrink partition in Part 2 of 3 is in the form of unallocated space.

Try disabling UEFI boot from the BIOS settings, or select the non-UEFI USB device in the boot device options.

Go for manual partition if anything helps you.

OS selection menu is not showing while booting?

If your computer directly boots into Windows or Ubuntu without showing any OS selection menu, then the boot loader of the Ubuntu should need to be fixed.

If you have access to Ubuntu, then just use the Boot-Repair tool and resolve all boot problems. If you do not have access to Ubuntu, then run the live version of Ubuntu from the USB drive and then use the boot-repair tool.

Robey Thomas

This is a Stuff profile. Credit of Stories goes to all team of Vintaytime, Thank you.

Recent Posts

The Ultimate Guide to Honda Talon Windshields: Enhancing Your Off-Road Experience

The Honda Talon is a high-performance UTV designed for adventure, speed, and navigating tough terrains.…

2 months ago

The Benefits and Uses of a Portable Refrigerator: A Comprehensive Guide for Travelers and Adventurers

For those who spend a lot of time traveling, camping, or engaging in outdoor activities,…

2 months ago

How to Maximize Your ROI with a New York SEO Agency?

Every business is striving to capture the attention of its target audience and achieve a…

3 months ago

Mastering MS Access Repair: Troubleshooting Methods for DBAs

Microsoft Access database is a data management system that is used to manage and analyze…

4 months ago

Selecting the Best Battery for Inverter: Factors to Consider

Electricity is both a necessity and a luxury, and having a reliable inverter is a…

4 months ago

5 Innovative Uses of GenAI Labs for Streamlining Business Processes

Streamlining operations is crucial for businesses seeking efficiency and competitiveness in today's fast-paced market. Organizations…

4 months ago