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

Installing Linux side by side with another version of Linux

In some environments, you may be required to adapt to different Linux distributions. Instead of gutting your current Linux distribution, you can install another distribution without losing your current Linux distribution.

Let's use our existing Ubuntu system and install CentOS 7 alongside to demonstrate how we would dual boot:

  1. First, we set our system to boot from the CentOS 7 ISO image:

  1. From here, we select the first option and press Enter. This will launch the setup for CentOS 7:

We then choose our language and select Continue.

  1. On the INSTALLATION SUMMARY page, the key important sections are SOFTWARE SELECTION and SYSTEM:

  1. By default, CentOS 7 will do a Minimal Install. We want to do a full installation so select SOFTWARE SELECTION:

From the preceding screenshot, by default, the Minimal Install is selected. I've selected GNOME Desktop under Base Environment, and I've chosen the checked add-ons. Once I have finished making my selections, I will click Done.

You can choose to add some or all the add-ons for a particular base environment.
  1. The next section of importance, particularly in a dual boot environment, is under the SYSTEM section: INSTALLATION DESTINATION.
  2. Here is where we are going to partition the hard disk:

  1. By default, the system will choose to partition the hard disk automatically. If we leave this option and allow the system to create the partitioning for us, then the system is going to create partitions based on the recommended size for each partition that it creates. For the purpose of this demo, we will select I will configure partitioning. This will illustrate the various steps involved in creating partitions within the CentOS 7 environment. Next, we will select Done. This will bring up the following partitioning screen:

From the preceding screenshot, we can see that the CentOS 7 installation has detected the Ubuntu installation. 

For this CentOS 7 installation, we mount /boot to the /boot mount point for CentOS 7.

Be careful when removing partitions as this can have some adverse effects on the operational status of your system. In other words, you may accidentally remove some critical configuration files that were stored on a partition, or, even worse, your system may be unable to boot. 
  1. Next, we create the / partition for CentOS 7:

  1. Then we create the /home partition:

  1. Finally, we create our swap space, using up the remaining free space:

  1. Once we're finished, we then select Done:

  1. Now, we must confirm our changes by selecting Accept Changes:

  1. When we select Begin Installation, the actual installation will begin. We will have to create a user account:

  1. Then we need to see a root password:

  1. We should set a difficult password that no one can guess:

  1. Now, we are going to allow the CentOS 7 to perform the installation—give it some time. Finally, we are prompted to reboot, so we will select Reboot.

 

  1. Finally, we are then greeted with our dual boot menu, displaying both CentOS 7 and Ubuntu, as shown in the following screenshot:

As you can see, we now have the options to choose which Linux distribution to load.

主站蜘蛛池模板: 深水埗区| 中山市| 齐齐哈尔市| 延长县| 资源县| 东宁县| 卫辉市| 聂荣县| 句容市| 资兴市| 都兰县| 天祝| 江阴市| 忻城县| 房产| 五莲县| 石阡县| 姜堰市| 濮阳县| 海南省| 称多县| 大化| 福清市| 吉水县| 宣城市| 常熟市| 安西县| 镇巴县| 云梦县| 工布江达县| 隆子县| 通城县| 凤阳县| 祁连县| 德州市| 游戏| 湘潭市| 新绛县| 黄平县| 阳泉市| 松滋市|