Open In App

How to Switch from Windows to Linux without Losing Data?

Improve
Improve
Like Article
Like
Save
Share
Report

Linux is the most widely used in the world due to being open source and secure due to having a large community. There are almost 3 billion people around the world who use Linux operating system one way or another. Linux is widely used by most programmers because of its installed applications out of the box. Many people think of using Linux but they are afraid of losing the data. In this article, we will learn the procedure to install Linux without losing data. If you have only one partition then create another partition and transfer your files to that partition. So, before switching to Linux you must know about your disk partition if it is MBR or GPT. After identifying your disk partition type let’s start digging into the process.

Switching to Linux from Windows without losing data

Follow the following steps to switch to Linux from Windows without losing data:

Step 1: Create a bootable USB:

Firstly, Download the iso file of your preferred Linux distro. There are lots of Linux distros are available, If you are a beginner I’ll recommend you to use Ubuntu or POP Os because they are beginner-friendly. Download their iso file from their website, they are free. Download any software that helps in making bootable USB like Rufus. Open Rufus and select the iso file you downloaded and choose your Pendrive along with your disk partition and click on start.

Step 2: Boot from USB:

Insert your Pendrive and press the Manufacture’s key (which varies for every manufacturer) to boot through USB.

Step 3: Start the installer:

After booting into USB you will get an interface with Try or Install (Most of the Debian-based os provide an option of try). Try option will let you check if your all drivers work perfectly with this os or not. After checking, you can proceed by clicking the install icon. After clicking on the install icon you will get an option of several user settings one by one like location and keyboard. Select your preferences and click on next. 

Step 4: Make Partitions:

We can make a partition in two ways for MBR and for GPT.

1. For MBR: After clicking on next you will get several options as shown below-

Step 1: Click on the Custom(Manual Partitioning) and then click on next.

Click-on-the-Custom(Manual-Partitioning)

 

Step 2: After that, you will get a screen with all the available partitions on your computer.

 Available-partitions

 

Step 3: Select the disk in which you have installed the Windows and click on delete. You will see free space in the list.

Select-the-disk-in-which-you-have-installed

 

Step 4: Select the option of free space and click on create. After clicking on create, select the double size of your ram and in file system select the option of linuxswap, and in flags select swap and click on ok.

Select-the-option-of-free-space-and-click-on-create

 

Step 5: After that, you will again see some free space. Select that free space and click on create and select all size and in file system select btrfs and in mount point, select / and in flags select root and click on ok.

Select-free-space

 

Step 6: After that, you are good to go. Click on next.

2. For GPT: After clicking on next you will get several options as shown below-

Step 1: Click on the Custom(Manual Partitioning) and then click on next.

Click-on-Manual-Partitioning

 

Step 2: Select the partition with file system FAT32 and click on edit and select mount point as /boot/efi and flags as boot and click on ok.

Select-the-partition-with-file-system-FAT32

 

Step 3: Now select the partition in which Windows is installed and click on delete. Now, that space will get free.

Step 4: Select the option of free space and click on create. After clicking on create, select the double size of your ram and in file system select the option of linuxswap, and in flags select swap and click on ok.              

Select-the-option-of-free-space-and-click-on-create

 

Step 5: After that, you will again see some free space. Select that free space and click on create and select all size and in file system select btrfs and in mount point, select / and in flags select root and click on ok.

Select-all-size-and-in-file-system

 

Step 6: After that, you are good to go, click on next.

Step 5: Install Linux. After clicking on next you will get some options of asking for your name and password you are willing to set. Set your name and password and click on next. After that click on install. It will take a few minutes and get installed. After completion click on the restart and unplug your USB. 

 Install-Linux

 

Step 6: After Installation. Congratulations, You have successfully installed Linux operating system on your computer. Now you can use the following command to update your system.

sudo apt update && sudo apt upgrade

Installation-process-done-successfully

 

So this is how you can switch to linux from windows without losing data.


Last Updated : 25 Apr, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads