How to install linux alongside windows

How to Install Linux Mint 20 Alongside Windows 10 or 8 in Dual-Boot UEFI Mode

Linux Mint 20 has been released in wild by the Linux Mint project development team as a new long term support edition which will receive support and security updates until 2025.

This tutorial will guide you on how you can install Linux Mint 20 in dual-boot with a variant Microsoft Operating System, such as Windows 8, 8.1 or 10, on machines with EFI firmware and a pre-installed version of Microsoft OS.

If you’re looking for a non-dual-boot installation on Laptop, Desktop, or Virtual Machine, you should read: Installation Guide of Linux Mint 20 Codename ‘Ulyana’.

Assuming that your laptop or desktop system comes pre-installed with Windows 10 or Windows 8.1 or 8 you should enter the UEFI menu and disable the following settings: Secure Boot and Fast Boot features.

If the computer has no pre-installed OS and you intend to use Linux and Windows in dual-boot, first install Microsoft Windows and then proceed with Linux Mint 20 installation.

Download Linux Mint 20

In case you own a UEFI computer stay away from the 32-bit version of Linux Mint because it will only boot and work with BIOS machines, while the 64-bit ISO image can boot with BIOS or UEFI computers.

Step 1: Shrink HDD Space for Dual-Boot

1. In case your computer comes pre-installed with Microsoft Windows on a single partition, logon to Windows system with a user who has administrator privileges, press [Win+r] keys to open run prompt and type the following command in order to open Disk Management tool.

Open Windows Disk Management

2. Right-click on C: partition and select Shrink Volume in order to resize the partition. Use a value best-suited for you, depending on your HDD size, on the amount of space to shrink MB field (minimum 20000 MB recommended) and hit Shrink button to start the process of resizing the partition.

Shrink Windows Partition

3. When the process finishes a new unallocated space will appear on the hard drive.

Unallocated Partition for Linux Mint Install

Close Disk Management utility, place Linux Mint DVD or USB bootable image in the appropriate drive, and reboot the computer in order to start with Linux Mint 20 installation.

In case you’re booting Linux Mint for installation from a USB dive in UEFI mode make sure you’ve created the bootable USB stick using a utility such as Rufus, which is UEFI compatible, otherwise your USB bootable drive won’t boot.

Step 2: Installation of Linux Mint 20

4. After reboot, press the special function key and instruct the machine firmware (UEFI) to boot-up from the appropriate DVD or USB drive (the special function keys usually are F12 , F10 or F2 depending on the motherboard manufacturer).

Once the media boot-up a new screen should appear on your monitor. Choose Start Linux Mint 20 Cinnamon and hit Enter to continue.

Select Start Linux Mint Cinnamon Install

5. Wait until the system loads into RAM in order to run in live-mode and open the installer by double-clicking on Install Linux Mint icon.

Select Install Linux Mint

6. Choose the language you wish to perform the installation and click on the Continue button to proceed further.

Select Installation Language

7. Next, you should select your keyboard layout and click on the Continue button.

Читайте также:  Ноутбук не видит съемный жесткий диск windows

Select Keyboard Layout

8. On the next screen hit on the Continue button to proceed further. Third-party software (multimedia codes) can be automatically downloaded and installed on this step by checking the check-box.

The recommendation would be to leave the box unchecked for the moment and manually install proprietary software later after the installation process completes.

Install Multimedia Codecs

9. At the next screen, you can choose the Installation Type. If Windows Boot manager is automatically detected you can choose to Install Linux Mint alongside Windows Boot Manager. This option ensures that the HDD will be automatically partitioned by the installer without any data loss.

The second option, Erase disk and install Linux Mint, should be avoided for dual-boot because is potentially dangerous and will wipe out your disk.

For a more flexible partition layout, you should go with Something else option and hit on the Continue button to proceed further.

Select Linux Mint Installation Type

10. Now let’s create the partition layout for Linux Mint 20. I would recommend that you create three partitions, one for / (root) , one for /home accounts data and one partition for swap .

First, create the swap partition. Select the free space and hit on the + icon below. On this partition use the following settings and hit OK to create the partition:

Select Free Space Create Swap Partition

11. Using the same steps as above create the /(root) partition with the below settings:

Create Root Partition

12. Finally, create the home slice with the below settings (use all the available free space to create home partition).

Home partition is the place where all documents for user accounts will be stored by default, except the root account. In case of system failure, you can reinstall the operating system for scratch without touching or losing the settings and documents of all users.

Create Home Partition

13. After finishing creating the partition layout, select the Windows Boot Manager as the device for installing the Grub boot loader and hit on Install Now button in order to commit changes to disk and proceed with the installation.

Next, a new pop-up window will ask you if you agree with committing changes to disk. Hit on Continue to accept changes and the installer will now start to write changes to disk.

Install Linux Mint Accept Write Changes to Disk

14. On the next screen choose your nearest physical location from the map and hit Continue.

Select Country Location

15. Enter a username and a password for the first account with root privileges, choose your system hostname by filling the computer’s name field with a descriptive value and hit Continue to finalize the installation process.

Create New User

16. The installation process will take a while and when it reaches the final step it will ask you to hit on the Restart Now button to complete the installation.

Linux Mint Installation Process

17. After reboot, the system will first boot-up in Grub, with Linux Mint as the first boot option which will be automatically started after 10 seconds. From here you can further instruct the computer to boot in Windows or Linux.

Select Linux Mint Cinnamon

On computers, with newer UEFI firmware the Grub boot loader won’t be displayed by default and the machine will automatically boot-up in Windows.

In order to boot into Linux, you must press the special function boot key after the restart and from there to further select what OS you wish to start.

In order to change the default boot order enter UEFI settings, select your default OS and save the changes. Review the vendor’s manual in order to detect the special function keys used for boot or for entering UEFI settings.

18. After the system finishes loading, log in to Linux Mint 20 by using the credentials created during the installation process. Fire-up a Terminal window and start the update process from the command line by running the following commands:

Читайте также:  Установка windows 10 долго висит логотип

Update Linux Mint

That’s it! You have successfully installed the latest version of Linux Mint 20 on your device. You will find the Linux Mint platform to be very robust, fast, flexible, enjoyable, easy to use, with a ton of software required for a normal user already installed and very stable.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

We are thankful for your never ending support.

Источник

How to Install Ubuntu 20.04 Alongside With Windows

This tutorial describes the installation process of the latest release of Ubuntu Desktop 20.04, codename Focal Fossa, on a dedicated machine or a virtual machine alongside a pre-installed Windows 10 Operating System. The installation process can be done via the Ubuntu Desktop DVD ISO image or via a bootable Ubuntu USB drive.

The Ubuntu OS will be installed on a UEFI motherboard with Legacy Mode or CSM (Compatibility Support Module) option disabled.

Requirements

  1. Download Ubuntu Desktop 20.04 ISO image for x86_64bit architecture.
  2. A direct or a proxy internet connection.
  3. Rufus utility in order to create an Ubuntu Desktop bootable USB drive compatible with UEFI motherboards.

Create Free Space on Windows for Ubuntu Install

On a pre-installed machine with a single Windows 10 partition, you need to create some free space in Windows partition in order to install Ubuntu 20.04.

First login to the system using an account with administrator privileges, open a Command Prompt window with admin rights and execute diskmgmt.msc command to open Disk Management utility.

Select the Windows partition, usually C: volume, right-click on this partition and select Shrink Volume option in order to reduce the partition size.

Windows Disk Management Utility

Wait for the system to collect partition size data, add the desired amount of space you want to shrink, and hit in the Shrink button.

Shrink Windows Partition

After the shrink process completes, a new unallocated space will be present in your drive. We’ll use this free space to install Ubuntu alongside Windows 10.

New Windows Partition for Ubuntu Install

Install Ubuntu 20.04 Alongside with Windows

On the next step, place Ubuntu Desktop DVD ISO image or the bootable USB stick into the appropriate motherboard drive and, reboot the machine and hit the appropriate bootable key ((usually F12 , F10 or F2 ) in order to boot the Ubuntu installer DVD or USB bootable image.

On the first installation, screen select Install Ubuntu and hit Enter key to start the installation process.

Install Ubuntu 20.04 Desktop

On the next screen, select the keyboard layout for your system and hit on the Continue button.

Choose Keyboard Layout

In the next installation screen, choose Normal installation and hit on the Continue button. In this screen, you also have the option to perform a Minimal installation of Ubuntu Desktop, which includes only some basic system utilities and a web browser.

You can also turn off Secure Boot option, if this option is enabled in motherboard UEFI settings in order to install third-party software for graphic card, Wi-Fi or additional media formats. Be aware that turning off Secure Boot option requires a password.

Select Ubuntu Installation Type

Next, In the Installation type menu, choose Something else option in order to manually partition the hard disk and hit on the Continue button.

Читайте также:  Изменить заставку рабочего стола windows 10 без активации

Ubuntu Manual Partition

In the hard disk partition table menu, select the hard drive free space and hit on + button in order to create the Ubuntu partition.

Choose Free Space Partition

In the partition pop-up window, add the size of the partition in MB, choose the partition type as Primary, and the partition location at the beginning of this space.

Next, format this partition with ext4 filesystem and use / as a partition mount point. The /(root) partition summary is described below:

  • Size = minimum 20000 MB recommended
  • Type for the new partition = Primary
  • Location for the new partition = Beginning of this space
  • Use as = EXT4 journaling file system
  • Mount point = /

Create Root Ubuntu Partition

After completing this step, hit on the OK button to return to disk utility. Other partitions, such as /home or Swap are optional in Ubuntu Desktop and should be created only for special purposes.

However, if you still want to add a home partition, select free space, hit on + button and use the below scheme to create the partition.

  • Size = size allocated as per your requirements, depending on the size of remaining disk free space
  • Type for the new partition = Primary
  • Location for the new partition = Beginning
  • Use as = EXT4 journaling file system
  • Mount point = /home

In this guide, we’ll install Ubuntu alongside Windows 10 with only the /(root) partition set. After you’ve created the required root partition on the disk, select Windows boot Manager as a device for the boot loader installation and hit on Install Now button.

Partition Table Summary

In the pop-up window, hit on the Continue button in order to commit the changes that will be written to disk and start the installation.

Confirm Partition Changes

On the next screen, select your location from the provided map and hit on the Continue button.

Choose Your Country Location

Next, insert your name, the name of your desktop, a username with a strong password, and choose the option with ‘Require my password to log in’. When you finish, hit on the Continue button and wait for the installation process to complete.

Create Ubuntu User

During the installation process, a series of screens that describe Ubuntu Desktop and the installation progress bar will be displayed on your screen. You cannot interfere with the installation process in this final stage.

Ubuntu Installation Progress

After the installation completes, eject the installation medium and hit on Restart now button in order to reboot the machine.

Ubuntu Installation Finishes

After reboot, the system should boot into the GNU GRUB menu. In case the GRUB menu is not displayed, restart the machine, go to motherboard UEFI settings and change boot order or Boot Options -> BBS priority.

The settings to enable the GRUB menu highly depend on your machine motherboard UEFI settings. You should consult motherboard documentation in order to identify the settings that need to be changed in order to display the GRUB menu.

Ubuntu Boot Grub Menu

Finally, log in to Ubuntu 20.04 Desktop with the credentials configured while installing the system and follow the initial Ubuntu welcome screen in order to start using Ubuntu Desktop.

Ubuntu Login Screen Ubuntu 20.04 Desktop

Congratulations! You have successfully installed Ubuntu 20.04 Focal Fossa alongside Windows 10 on your machine.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

We are thankful for your never ending support.

Источник

Оцените статью