官术网_书友最值得收藏!

Installing a Linux distribution side by side with a Windows OS

In most environments, you may come across a system that has an existing installation of another operating system such as Windows. Ideally, you would not remove the Windows installation completely as you may require some software that runs only on a Windows installation, or maybe it's the company policy to have a Windows installation on the system. In this case, you can install a Linux distribution alongside Windows without wiping the Windows partition. This is made possible because Linux has the ability to recognize a Windows partition type, such as NTFS. Linux would not in any way alter the Windows partition.

Let's boot up an existing Windows system and configure the system to start from a Ubuntu ISO image to see how we implement a dual boot installation:

  1. From here, the Ubuntu installation recognizes the Windows 10 operating system. Here, we will choose the last option, Something else:

  1. Next, we will create the /boot partition:

  1. After this, we will create the / partition:

From the preceding screenshot, we can see that we have just successfully created the / partition. You may have noticed the pattern with which we are creating the partitions. It's always a good idea to separate your system files from the user files.

  1. Next, we will create the /home partition:

  1. Finally, we will create the swap space and use the remaining free space:

  1. The last step is to select Install Now:

From the preceding screenshot, we will have to confirm that we would like to write the changes to the disk. We are going to select Continue.

We can always go back and make changes to the partition table by selecting Go Back.

Now we have to fill in the location settings, similar to doing a fresh installation. I will again choose Guyana.

Next, we have to create a user account as we did before. The necessary Linux files are going to be installed onto our dual boot system.

  1. After that, we will be prompted to reboot the system and will be greeted with our dual boot menu using GRUB2, as shown in the following screenshot:

In some cases, if we have Linux as the first OS and then install Windows, sometimes Windows will remove the Linux boot entry. The best way to remedy this is to run grub-install.
主站蜘蛛池模板: 防城港市| 英吉沙县| 武乡县| 日喀则市| 鹤壁市| 揭阳市| 新建县| 宣城市| 黑山县| 兴和县| 江油市| 阜南县| 仁化县| 吉木乃县| 湖南省| 榆树市| 长汀县| 蒲城县| 元朗区| 宁阳县| 和龙市| 昌都县| 武山县| 达拉特旗| 西华县| 扶风县| 阿坝| 烟台市| 桂阳县| 江门市| 中方县| 安国市| 宜丰县| 虞城县| 弋阳县| 淮南市| 布拖县| 茌平县| 张北县| 荥经县| 沙洋县|