Removes multi-boot tutorial; deferred until further technical review. (#526)
Signed-off-by: Michael Vincerra <michael.vincerra@intel.com>
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 110 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 204 KiB |
|
Before Width: | Height: | Size: 250 KiB |
|
Before Width: | Height: | Size: 152 KiB |
|
Before Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 104 KiB |
|
Before Width: | Height: | Size: 111 KiB |
|
Before Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 197 KiB |
|
Before Width: | Height: | Size: 173 KiB |
|
Before Width: | Height: | Size: 173 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 117 KiB |
|
Before Width: | Height: | Size: 142 KiB |
|
Before Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 159 KiB |
|
Before Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 128 KiB |
@@ -1,140 +0,0 @@
|
||||
.. _multi-boot-mint:
|
||||
|
||||
Install Linux Mint\* 18.1 *Serena* MATE
|
||||
#######################################
|
||||
|
||||
This guide describes Linux Mint-specific details of the :ref:`multi-boot`
|
||||
tutorial.
|
||||
|
||||
#. Start the Mint installer and follow the prompts.
|
||||
|
||||
#. At the :guilabel:`Installation type` screen, choose
|
||||
:guilabel:`Something else`. See Figure 1.
|
||||
|
||||
.. figure:: figures/multi-boot-mint-1.png
|
||||
|
||||
Figure 1: Mint: Installation type.
|
||||
|
||||
#. Create a new root partition.
|
||||
|
||||
#. Under the :guilabel:`Device` column, select :guilabel:`free space`. See
|
||||
Figure 2.
|
||||
|
||||
.. figure:: figures/multi-boot-mint-2.png
|
||||
|
||||
Figure 2: Mint: Add partition.
|
||||
|
||||
#. Click the :guilabel:`+` button.
|
||||
|
||||
#. In the :guilabel:`Size` field, enter a value for the new partition
|
||||
size. For this example, we used *40000 MB*, as shown in Figure 3.
|
||||
|
||||
.. figure:: figures/multi-boot-mint-3.png
|
||||
|
||||
Figure 3: Mint: Configure new partition settings.
|
||||
|
||||
#. Set :guilabel:`Use as` to :guilabel:`Ext4 journaling file system`.
|
||||
|
||||
#. Set the :guilabel:`Mount point` to :guilabel:`/`.
|
||||
|
||||
#. Click :guilabel:`OK`.
|
||||
|
||||
#. Share the swap partition created by |CL|.
|
||||
|
||||
#. Under the :guilabel:`Device` column, select :file:`/dev/sda2`.
|
||||
|
||||
#. Click :guilabel:`Change`.
|
||||
|
||||
#. Confirm :guilabel:`Use as` is set to :guilabel:`Swap area`. See Figure 4.
|
||||
|
||||
.. figure:: figures/multi-boot-mint-4.png
|
||||
|
||||
Figure 4: Mint: Set swap partition.
|
||||
|
||||
#. Follow the remaining prompts to complete the Mint installation.
|
||||
|
||||
#. At this point, you cannot boot |CL| because `Grub`
|
||||
is the default boot loader. Follow these steps to make the |CL|
|
||||
Systemd-Boot the default boot loader and add Mint as a boot option.
|
||||
|
||||
#. Boot into Mint.
|
||||
|
||||
#. Log in.
|
||||
|
||||
#. Locate the Mint :file:`grub.cfg` file in the :file:`/boot/grub/`
|
||||
directory and look for the :guilabel:`menuentry` section. In Figure 5, the
|
||||
highlighted lines identify the kernel, the :file:`initrd` files, the root
|
||||
partition UUID, and the additional parameters used. Use this information
|
||||
to create a new Systemd-Boot entry for Mint.
|
||||
|
||||
.. figure:: figures/multi-boot-mint-5.png
|
||||
|
||||
Figure 5: Mint: grub.cfg file.
|
||||
|
||||
#. Copy the kernel and :file:`initrd` file to the EFI partition.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo cp /boot/vmlinuz-4.4.0-53-generic /boot/efi
|
||||
|
||||
sudo cp /boot/initrd.img-4.4.0-53-generic /boot/efi
|
||||
|
||||
#. Create a boot entry for Mint. At a minimum, the file must contain
|
||||
these settings:
|
||||
|
||||
+---------+------------------------------------+
|
||||
| Setting | Description |
|
||||
+=========+====================================+
|
||||
| title | Text to show in the boot menu |
|
||||
+---------+------------------------------------+
|
||||
| linux | Linux kernel image |
|
||||
+---------+------------------------------------+
|
||||
| initrd | initramfs image |
|
||||
+---------+------------------------------------+
|
||||
| options | Options to pass to the EFI program |
|
||||
| | or kernel boot parameters |
|
||||
+---------+------------------------------------+
|
||||
|
||||
See the `systemd boot loader documentation`_ for additional
|
||||
details.
|
||||
|
||||
The *options* parameters must specify the root partition UUID and
|
||||
any additional parameters that Mint requires.
|
||||
|
||||
.. note:: The root partition UUID used below is unique to this example.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudoedit /boot/efi/loader/entries/mint.conf
|
||||
|
||||
Add the following lines to the :file:`mint.conf` file:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
title Mint 18.1 Serena MATE
|
||||
|
||||
linux /vmlinuz-4.4.0-53-generic
|
||||
|
||||
initrd /initrd.img-4.4.0-53-generic
|
||||
|
||||
options root=UUID=af4901e1-6238-470a-8c14-bc0f0f7715ec ro
|
||||
|
||||
#. Re-install Systemd-Boot to make it the default boot loader.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo bootctl install --path /boot/efi
|
||||
|
||||
.. note::
|
||||
If an older version of Mint does not have the `bootctl` command,
|
||||
skip this step and see :ref:`multi-boot-restore-bl` to restore
|
||||
Systemd-Boot.
|
||||
|
||||
#. Reboot.
|
||||
|
||||
If you want to install other :abbr:`OSes (operating systems)`, refer to
|
||||
:ref:`multi-boot` for details.
|
||||
|
||||
|
||||
.. _systemd boot loader documentation:
|
||||
https://wiki.archlinux.org/index.php/Systemd-boot
|
||||
@@ -1,58 +0,0 @@
|
||||
.. _multi-boot-restore-bl:
|
||||
|
||||
Restore the |CL-ATTR| boot loader
|
||||
###################################
|
||||
|
||||
This guide is part of the :ref:`multi-boot` tutorial. If you install a new
|
||||
:abbr:`OS (operating system)` or upgrade an existing OS, the default boot
|
||||
loader may change from |CL| Systemd-Boot. This guide describes how to restore
|
||||
Systemd-Boot.
|
||||
|
||||
#. Boot the |CL| installer from a USB thumb drive. See :ref:`bootable-usb`.
|
||||
|
||||
#. At the introduction screen, press :kbd:`Control+Alt+F2` to bring up the
|
||||
|CL| console. See Figure 1.
|
||||
|
||||
.. figure:: figures/multi-boot-restore-bl-1.png
|
||||
|
||||
Figure 1: |CL|: Console.
|
||||
|
||||
#. Log in as *root*.
|
||||
|
||||
.. note::
|
||||
When you log in for the first time as *root* through the console, you must
|
||||
set a new password.
|
||||
|
||||
#. Find the location of the |CL| EFI partition. In this example, it is
|
||||
:file:`/dev/sda3`. See Figure 2.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
fdisk -l
|
||||
|
||||
.. figure:: figures/multi-boot-restore-bl-2.png
|
||||
|
||||
Figure 2: |CL|: fdisk -l command.
|
||||
|
||||
#. Mount the EFI partition.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
mount /dev/sda3 /mnt
|
||||
|
||||
#. Re-install Systemd-Boot to make it the default boot loader.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
bootctl install --path /mnt
|
||||
|
||||
#. Unmount the EFI partition.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
umount /mnt
|
||||
|
||||
#. Reboot.
|
||||
|
||||
If you want to install other :abbr:`OSes (operating systems)`, refer to
|
||||
:ref:`multi-boot` for details.
|
||||
@@ -1,165 +0,0 @@
|
||||
.. _multi-boot-rhel:
|
||||
|
||||
Install Red Hat\* Enterprise Linux 7.4 Beta
|
||||
###########################################
|
||||
|
||||
This guide describes Red Hat-specific details of the :ref:`multi-boot`
|
||||
tutorial.
|
||||
|
||||
#. Start the Red Hat installer and follow the prompts.
|
||||
|
||||
#. At the :guilabel:`INSTALLATION SUMMARY` screen, choose
|
||||
:guilabel:`INSTALLATION DESTINATION`. See Figure 1.
|
||||
|
||||
.. figure:: figures/multi-boot-rhel-1.png
|
||||
|
||||
Figure 1: Red Hat: Installation summary.
|
||||
|
||||
#. In the :guilabel:`Device Selection` section, select a drive on which to
|
||||
install the OS. See Figure 2.
|
||||
|
||||
.. figure:: figures/multi-boot-rhel-2.png
|
||||
|
||||
Figure 2: Red Hat: Installation destination.
|
||||
|
||||
#. Under the :guilabel:`Other Storage Options` section, choose
|
||||
:guilabel:`I will configure partitioning`. See Figure 2.
|
||||
|
||||
#. Click :guilabel:`Done`.
|
||||
|
||||
#. Under the :menuselection:`New Red Hat Enterprise Linux 7.4 Installation
|
||||
--> New mount points will use the following partitioning scheme` section,
|
||||
select :menuselection:`Standard Partition` from the drop down list. See
|
||||
Figure 3.
|
||||
|
||||
.. figure:: figures/multi-boot-rhel-3.png
|
||||
|
||||
Figure 3: Red Hat: New partition scheme.
|
||||
|
||||
#. Create a new root partition.
|
||||
|
||||
#. Click the :menuselection:`+` button on the lower left corner.
|
||||
|
||||
#. Enter `/` and the new partition size. For this example, we specified 45
|
||||
GB. See Figure 4.
|
||||
|
||||
.. figure:: figures/multi-boot-rhel-4.png
|
||||
|
||||
Figure 4: Red Hat: Create new root partition.
|
||||
|
||||
#. Click :guilabel:`Add mount point`.
|
||||
|
||||
#. Share the swap partition that was created by |CL|. See Figure 5.
|
||||
|
||||
#. Expand :guilabel:`Unknown`.
|
||||
|
||||
#. Select :guilabel:`swap / sda2`.
|
||||
|
||||
#. Select :guilabel:`Reformat`.
|
||||
|
||||
#. Click :guilabel:`Update Settings`.
|
||||
|
||||
.. figure:: figures/multi-boot-rhel-5.png
|
||||
|
||||
Figure 5: Red Hat: Configure swap partition.
|
||||
|
||||
#. Share the EFI partition that was created by |CL|. See Figure 6.
|
||||
|
||||
#. Expand :guilabel:`Unknown.`
|
||||
|
||||
#. Select :guilabel:`EFI System Partition / sda3`.
|
||||
|
||||
#. Under :guilabel:`Mount Point`, enter `/boot/efi`.
|
||||
|
||||
#. Click :guilabel:`Update Settings`.
|
||||
|
||||
.. figure:: figures/multi-boot-rhel-6.png
|
||||
|
||||
Figure 6: Red Hat: Configure EFI partition.
|
||||
|
||||
#. Click :guilabel:`Done`.
|
||||
|
||||
#. Follow the remaining prompts to complete the Red Hat installation.
|
||||
|
||||
#. At this point, you cannot boot |CL| because `Grub` is the default boot
|
||||
loader. Follow these steps to make the |CL| Systemd-Boot the default boot
|
||||
loader and add Red Hat as a boot option:
|
||||
|
||||
#. Boot into Red Hat.
|
||||
|
||||
#. Log in.
|
||||
|
||||
#. Locate the Red Hat :file:`grub.cfg` file in the
|
||||
:file:`/boot/efi/EFI/redhat/` directory and look for the primary Red
|
||||
Hat :guilabel:`menuentry` section. In Figure 7, the highlighted lines
|
||||
identify the kernel and `initrd` filenames, root partition UUID, and
|
||||
additional parameters used. Use this information to create a
|
||||
new Systemd-Boot entry for Red Hat.
|
||||
|
||||
.. figure:: figures/multi-boot-rhel-7.png
|
||||
|
||||
Figure 7: Red Hat: grub.cfg file.
|
||||
|
||||
#. Copy the kernel and :file:`initrd` file to the EFI partition.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo cp /boot/vmlinuz-3.10.0-663.el7.x86_64 /boot/efi
|
||||
|
||||
sudo cp /boot/initramfs-3.10.0-663.el7.x86_64.img /boot/efi
|
||||
|
||||
#. Create a boot entry for Red Hat. At a minimum, the file must contain
|
||||
these settings:
|
||||
|
||||
+---------+---------------------------------------------------+
|
||||
| Setting | Description |
|
||||
+=========+===================================================+
|
||||
| title | Text to show in the boot menu |
|
||||
+---------+---------------------------------------------------+
|
||||
| linux | Linux kernel image |
|
||||
+---------+---------------------------------------------------+
|
||||
| initrd | initramfs image |
|
||||
+---------+---------------------------------------------------+
|
||||
| options | Options to pass to the EFI program or kernel boot |
|
||||
| | parameters |
|
||||
+---------+---------------------------------------------------+
|
||||
|
||||
See the `systemd boot loader documentation`_ for additional
|
||||
details.
|
||||
|
||||
The *options* parameters must specify the root partition UUID and any
|
||||
additional parameters that Red Hat requires.
|
||||
|
||||
.. note:: The root partition UUID used below is unique to this example.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudoedit /boot/efi/loader/entries/redhat.conf
|
||||
|
||||
Add the following lines to the :file:`redhat.conf` file:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
title Red Hat Enterprise Linux 7.4 Beta
|
||||
|
||||
linux /vmlinuz-3.10.0-663.el7.x86_64
|
||||
|
||||
initrd /initramfs-3.10.0-663.el7.x86_64.img
|
||||
|
||||
options root=UUID=30655c74-6cc1-4c55-8fcc-ac8bddcea4db ro
|
||||
crashkernel=auto rhgb LANG=en_US.UTF-8
|
||||
|
||||
#. Re-install Systemd-Boot to make it the default boot loader.
|
||||
|
||||
.. note::
|
||||
This version of Red Hat does not support `bootctl install`. Perform
|
||||
the steps in :ref:`multi-boot-restore-bl` instead.
|
||||
|
||||
#. Reboot.
|
||||
|
||||
If you want to install other :abbr:`OSes (operating systems)`, refer to
|
||||
:ref:`multi-boot` for details.
|
||||
|
||||
|
||||
.. _systemd boot loader documentation:
|
||||
https://wiki.archlinux.org/index.php/Systemd-boot
|
||||
@@ -1,124 +0,0 @@
|
||||
.. _multi-boot-sles:
|
||||
|
||||
Install SUSE\* Linux Enterprise Server 12 SP2
|
||||
#############################################
|
||||
|
||||
This guide describes SUSE-specific details of the :ref:`multi-boot`
|
||||
tutorial.
|
||||
|
||||
#. Start the SUSE installer and follow the prompts.
|
||||
|
||||
#. At the :guilabel:`Suggested Partitioning` screen, choose
|
||||
:guilabel:`Expert Partitioner`. See Figure 1.
|
||||
|
||||
.. figure:: figures/multi-boot-sles-1.png
|
||||
|
||||
Figure 1: SUSE: Suggested partitioning.
|
||||
|
||||
**Optional:** Under :guilabel:`Available Storage on Linux` section,
|
||||
right-click the SUSE :file:`/home` partition and delete it. In this example, it is :file:`/dev/sda8`. See Figure 2.
|
||||
|
||||
.. figure:: figures/multi-boot-sles-2.png
|
||||
|
||||
Figure 2: SUSE: Delete /home partition.
|
||||
|
||||
#. Under :guilabel:`Available Storage on Linux` section, right-click the SUSE
|
||||
root partition and resize it. In this example, :file:`/dev/sda7` is
|
||||
resized to 45 GB. See Figure 3.
|
||||
|
||||
.. figure:: figures/multi-boot-sles-3.png
|
||||
|
||||
Figure 3: SUSE: Resize root partition.
|
||||
|
||||
#. Click :guilabel:`Accept`.
|
||||
|
||||
#. Follow the remaining prompts to complete the SUSE installation.
|
||||
|
||||
#. At this point, you cannot boot |CL| because `Grub`
|
||||
is the default boot loader. Follow these steps to make the |CL|
|
||||
Systemd-Boot the default boot loader and add SUSE as a boot option:
|
||||
|
||||
#. Boot into SUSE.
|
||||
|
||||
#. Log in.
|
||||
|
||||
#. Locate the SUSE :file:`grub.cfg` file in the :file:`/boot/grub2/` directory
|
||||
and look for the primary SUSE :guilabel:`menuentry` section. In Figure 4, the
|
||||
highlighted lines identify the kernel, the :file:`initrd` filenames, the
|
||||
root partition UUID, and the additional parameters used. Use this information
|
||||
to create a new Systemd-Boot entry for SUSE.
|
||||
|
||||
.. figure:: figures/multi-boot-sles-4.png
|
||||
|
||||
Figure 4: SUSE: grub.cfg file.
|
||||
|
||||
#. Copy the kernel and the :file:`initrd` file to the EFI partition.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo cp /boot/vmlinuz-4.4.21-69-default /boot/efi
|
||||
|
||||
sudo cp /boot/initrd-4.4.21-69-default /boot/efi
|
||||
|
||||
#. Create a boot entry for SUSE. At a minimum, the file must contain
|
||||
these settings:
|
||||
|
||||
+---------+---------------------------------------+
|
||||
| Setting | Description |
|
||||
+=========+=======================================+
|
||||
| title | Text to show in the boot menu |
|
||||
+---------+---------------------------------------+
|
||||
| linux | Linux kernel image |
|
||||
+---------+---------------------------------------+
|
||||
| initrd | initramfs image |
|
||||
+---------+---------------------------------------+
|
||||
| options | Options to pass to the EFI program or |
|
||||
| | kernel boot parameters |
|
||||
+---------+---------------------------------------+
|
||||
|
||||
See the `systemd boot loader documentation`_ for additional
|
||||
details.
|
||||
|
||||
The *options* parameter must specify the root partition UUID and
|
||||
any additional parameters SUSE requires.
|
||||
|
||||
.. note:: The root partition UUID used below is unique to this example.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudoedit /boot/efi/loader/entries/suse.conf
|
||||
|
||||
Add the following lines to the :file:`suse.conf` file:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
title SUSE Linux Enterprise 12 SP2
|
||||
|
||||
linux /vmlinuz-4.4.21-69-default
|
||||
|
||||
initrd /initrd-4.4.21-69-default
|
||||
|
||||
options root=UUID=b9e25e98-a644-4ac3-b955-ae32800ee350 ro
|
||||
resume=/dev/disk/by-uuid/6a50c032-1c1e-4b4a-b799-ca365bb10dc7
|
||||
splash=silent showopts crashkernel=109M,high
|
||||
crashkernel=72M,low
|
||||
|
||||
#. Re-install Systemd-Boot to make it the default boot loader.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo bootctl install --path /boot/efi
|
||||
|
||||
.. note::
|
||||
If an older version of SUSE does not have the `bootctl` command,
|
||||
skip this step and see :ref:`multi-boot-restore-bl` to restore
|
||||
Systemd-Boot.
|
||||
|
||||
#. Reboot.
|
||||
|
||||
If you want to install other :abbr:`OSes (operating systems)`, refer to
|
||||
:ref:`multi-boot` for details.
|
||||
|
||||
|
||||
.. _systemd boot loader documentation:
|
||||
https://wiki.archlinux.org/index.php/Systemd-boot
|
||||
@@ -1,142 +0,0 @@
|
||||
.. _multi-boot-ubuntu:
|
||||
|
||||
Install Ubuntu\* 16.04 LTS Desktop
|
||||
##################################
|
||||
|
||||
This guide describes Ubuntu-specific details of the :ref:`multi-boot`
|
||||
tutorial.
|
||||
|
||||
#. Start the Ubuntu installer and follow the prompts.
|
||||
|
||||
#. At the :guilabel:`Installation type` screen, choose
|
||||
:guilabel:`Something else`. See Figure 1.
|
||||
|
||||
.. figure:: figures/multi-boot-ubuntu-1.png
|
||||
|
||||
Figure 1: Ubuntu: Installation type.
|
||||
|
||||
#. Create a new root partition.
|
||||
|
||||
#. Under the :guilabel:`Device` column, select :guilabel:`free space`. See
|
||||
Figure 2.
|
||||
|
||||
.. figure:: figures/multi-boot-ubuntu-2.png
|
||||
|
||||
Figure 2: Ubuntu: Add partition.
|
||||
|
||||
#. Click the :guilabel:`+` button on the lower left corner.
|
||||
|
||||
#. Enter the new partition size. For this example, we used *40000 MB*, as
|
||||
shown in Figure 3.
|
||||
|
||||
.. figure:: figures/multi-boot-ubuntu-3.png
|
||||
|
||||
Figure 3: Ubuntu: Configure new root partition.
|
||||
|
||||
#. Set :guilabel:`Use as` to :guilabel:`Ext4 journaling file system`.
|
||||
|
||||
#. Set the :guilabel:`Mount point` to `/`.
|
||||
|
||||
#. Click :guilabel:`OK`.
|
||||
|
||||
#. Under the :guilabel:`Format?` column, select the new partition to be
|
||||
formatted, in this example :file:`/dev/sda8`.
|
||||
|
||||
#. Share the swap partition that was created by |CL|.
|
||||
|
||||
#. Under the :guilabel:`Device` column, select :file:`/dev/sda2`.
|
||||
|
||||
#. Click :guilabel:`Change`.
|
||||
|
||||
#. Confirm :guilabel:`Use as` is set to :guilabel:`swap area`. See Figure 4.
|
||||
|
||||
.. figure:: figures/multi-boot-ubuntu-4.png
|
||||
|
||||
Figure 4: Ubuntu: Set swap partition.
|
||||
|
||||
#. Follow the remaining prompts to complete the Ubuntu installation.
|
||||
|
||||
#. At this point, you cannot boot |CL| because `Grub`
|
||||
is the default boot loader. Follow these steps to make the |CL|
|
||||
Systemd-Boot the default boot loader and add Ubuntu as a boot option:
|
||||
|
||||
#. Boot into Ubuntu.
|
||||
|
||||
#. Log in.
|
||||
|
||||
#. Locate the Ubuntu :file:`grub.cfg` file in the :file:`/boot/grub/`
|
||||
directory and look for the :guilabel:`menuentry` section. In Figure 5, the
|
||||
highlighted lines identify the kernel, the :file:`initrd` files, the
|
||||
root partition UUID, and the additional parameters used. Use this
|
||||
information to create a new Systemd-Boot entry for Ubuntu.
|
||||
|
||||
.. figure:: figures/multi-boot-ubuntu-5.png
|
||||
|
||||
Figure 5: Ubuntu: grub.cfg file.
|
||||
|
||||
#. Copy the kernel and the :file:`initrd` file to the EFI partition.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo cp /boot/vmlinuz-4.8.0-36-generic.efi.signed /boot/efi
|
||||
|
||||
sudo cp /boot/initrd.img-4.8.0-36-generic /boot/efi
|
||||
|
||||
#. Create a boot entry for Ubuntu. At a minimum, the file must contain
|
||||
these settings:
|
||||
|
||||
+---------+------------------------------------+
|
||||
| Setting | Description |
|
||||
+=========+====================================+
|
||||
| title | Text to show in the boot menu |
|
||||
+---------+------------------------------------+
|
||||
| linux | Linux kernel image |
|
||||
+---------+------------------------------------+
|
||||
| initrd | initramfs image |
|
||||
+---------+------------------------------------+
|
||||
| options | Options to pass to the EFI program |
|
||||
| | or kernel boot parameters |
|
||||
+---------+------------------------------------+
|
||||
|
||||
See the `systemd boot loader documentation`_ for additional
|
||||
details.
|
||||
|
||||
The *options* parameters must specify the root partition UUID and
|
||||
any additional parameters that Ubuntu requires.
|
||||
|
||||
.. note:: The root partition UUID used below is unique to this example.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudoedit /boot/efi/loader/entries/ubuntu.conf
|
||||
|
||||
Add the following lines to the :file:`ubuntu.conf` file:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
title Ubuntu 16.04 LTS Desktop
|
||||
|
||||
linux /vmlinuz-4.8.0-36-generic.efi.signed
|
||||
|
||||
initrd /initrd.img-4.8.0-36-generic
|
||||
|
||||
options root=UUID=17f0aa66-3467-4f99-b92c-8b2cea1045aa ro
|
||||
|
||||
#. Re-install Systemd-Boot to make it the default boot loader.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo bootctl install --path /boot/efi
|
||||
|
||||
.. note::
|
||||
If an older version of Ubuntu does not have the `bootctl` command,
|
||||
skip this step and see :ref:`multi-boot-restore-bl` to restore
|
||||
Systemd-Boot.
|
||||
|
||||
#. Reboot.
|
||||
|
||||
If you want to install other :abbr:`OSes (operating systems)`, refer to
|
||||
:ref:`multi-boot` for details.
|
||||
|
||||
.. _systemd boot loader documentation:
|
||||
https://wiki.archlinux.org/index.php/Systemd-boot
|
||||
@@ -1,46 +0,0 @@
|
||||
.. _multi-boot-win:
|
||||
|
||||
Install Windows\* Server 2016
|
||||
#############################
|
||||
|
||||
This guide describes Windows-specific details of the :ref:`multi-boot`
|
||||
tutorial.
|
||||
|
||||
#. Start the Windows installer and follow the prompts.
|
||||
|
||||
#. At the :guilabel:`Type of installation` screen, choose
|
||||
:guilabel:`Custom: Install Windows only (advanced)`. See Figure 1.
|
||||
|
||||
.. figure:: figures/multi-boot-win-1.png
|
||||
|
||||
Figure 1: Windows: Choose installation type.
|
||||
|
||||
#. Select :guilabel:`Unallocated Space` and create a new partition of the
|
||||
desired size. In this example, we specified 50000 MB. See Figure 2.
|
||||
|
||||
.. figure:: figures/multi-boot-win-2.png
|
||||
|
||||
Figure 2: Windows: Create new partition.
|
||||
|
||||
.. note::
|
||||
Windows creates its own 100 MB EFI partition if none exists.
|
||||
In this example, Windows sees the EFI partition created during the
|
||||
|CL| installation and does not create one.
|
||||
|
||||
#. Select the newly created partition and follow the remaining prompts
|
||||
to complete the Windows installation. See Figure 3.
|
||||
|
||||
.. figure:: figures/multi-boot-win-3.png
|
||||
|
||||
Figure 3: Windows: Install on newly created partition.
|
||||
|
||||
#. Finish the Windows out-of-box-experience process.
|
||||
|
||||
#. At this point, you cannot boot |CL| because Windows is the
|
||||
default boot loader. See :ref:`multi-boot-restore-bl` to restore
|
||||
Systemd-Boot and add Windows to its boot menu.
|
||||
|
||||
|
||||
If you want to install other :abbr:`OSes (operating systems)`, refer to
|
||||
:ref:`multi-boot` for details.
|
||||
|
||||
@@ -1,266 +0,0 @@
|
||||
.. _multi-boot:
|
||||
|
||||
Multi-boot |CL-ATTR| with other operating systems
|
||||
#################################################
|
||||
|
||||
|CL-ATTR| uses the Systemd-Boot boot loader, which does not support multi-
|
||||
booting without manual manipulation. This tutorial shows how to configure the
|
||||
|CL| boot loader to work with other :abbr:`OSes (operating systems)`.
|
||||
|
||||
Process overview
|
||||
****************
|
||||
|
||||
The process to install other operating systems for a multi-booting computer is
|
||||
described below. Install |CL| first, then install other operating systems in
|
||||
any order.
|
||||
|
||||
#. Install |CL| first with a EFI partition large enough to store the kernels
|
||||
of other operating systems and their initrds, in the case of Linux
|
||||
distributions.
|
||||
|
||||
#. Install the next operating system without creating its own EFI
|
||||
partition.
|
||||
|
||||
#. Boot into the newly installed operating system.
|
||||
|
||||
#. For Linux distributions, copy its kernel and `initrd` to the |CL| EFI
|
||||
partition. This step is not needed for Windows\*.
|
||||
|
||||
#. Add an entry for the newly installed operating system in the
|
||||
Systemd-Boot menu.
|
||||
|
||||
#. Make Systemd-Boot the default boot loader.
|
||||
|
||||
#. Repeat the previous steps to install each additional operating system.
|
||||
|
||||
If you update any installed operating systems, be aware that:
|
||||
|
||||
* The default boot loader may change from |CL| Systemd-Boot. Perform the
|
||||
steps in :ref:`multi-boot-restore-bl`.
|
||||
|
||||
* Linux kernels or `initrd` images may change. Keep their corresponding Systemd-Boot
|
||||
:file:`/boot/efi/loader/entries/*.conf` files up-to-date.
|
||||
|
||||
This process is not guaranteed to work with all Linux distributions and all
|
||||
their versions. The next section lists the OSes that we tested.
|
||||
|
||||
|
||||
Tested operating systems
|
||||
************************
|
||||
|
||||
The following operating systems were tested on an Intel® NUC6i7KYK with 32GB
|
||||
RAM and a 360GB SSD. Table 1 lists the information specific to the
|
||||
installation of the tested operating systems.
|
||||
|
||||
.. csv-table:: Table 1: OS specific installation information
|
||||
:header: # , OS, Version, Partition Size [#]_, Swap Size [#]_, EFI Partition Size [#]_, Download Link
|
||||
|
||||
1,Clear Linux,16140,50 GB,8 GB,1 GB,https://cdn.download.clearlinux.org/releases/16140/clear/
|
||||
2,Windows,Server 2016,50 GB,N/A,Shared with #1,https://www.microsoft.com/en-us/cloud-platform/windows-server
|
||||
3,Red Hat\*,Server 7.4 Beta,45 GB,Shared with #1,Shared with #1,https://access.redhat.com/downloads/
|
||||
4,SUSE\*,Server 12 SP2,45 GB,Shared with #1,Shared with #1,https://www.suse.com/download-linux/
|
||||
5,Ubuntu\*,16.04.02 LTS Desktop,40 GB,Shared with #1,Shared with #1,https://www.ubuntu.com/download/desktop
|
||||
6,Linux Mint\*,18.1 *Serena* MATE,40 GB,Shared with #1,Shared with #1,https://linuxmint.com/edition.php?id=228
|
||||
|
||||
Table notes:
|
||||
|
||||
.. [#] Configure the partition size as desired.
|
||||
|
||||
|
||||
.. [#] To save disk space, share a single swap partition between
|
||||
multiple Linux installations. Swap size was determined using these
|
||||
`recommended swap partition sizes`_.
|
||||
|
||||
|
||||
.. [#] The EFI partition holds the kernel and boot information for |CL| and
|
||||
other operating systems. The partition size is dependent on the number
|
||||
of operating systems to be installed. In general, allocate about 100 MB
|
||||
per operating system. For this tutorial, we used 1 GB.
|
||||
|
||||
|
||||
|
||||
.. _multi-boot-detail-proc:
|
||||
|
||||
Detailed procedures
|
||||
*******************
|
||||
|
||||
* :ref:`multi-boot-cl` (below)
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
multi-boot-win
|
||||
multi-boot-rhel
|
||||
multi-boot-sles
|
||||
multi-boot-ubuntu
|
||||
multi-boot-mint
|
||||
multi-boot-restore-bl
|
||||
|
||||
|
||||
.. _multi-boot-cl:
|
||||
|
||||
Install |CL|
|
||||
************
|
||||
|
||||
Navigation tips for text-based installation interfaces:
|
||||
|
||||
* Use the :kbd:`Up Arrow` and :kbd:`Down Arrow` keys to move between
|
||||
the options on the screen.
|
||||
|
||||
* Use the :kbd:`Space` to select or highlight an option.
|
||||
|
||||
* Press :kbd:`Enter` to activate the selected option and to move ahead.
|
||||
|
||||
Installation details
|
||||
====================
|
||||
|
||||
#. Create a bootable USB drive of the |CL| installer using one of the methods
|
||||
below.
|
||||
|
||||
* :ref:`bootable-usb-linux`
|
||||
* :ref:`bootable-usb-mac`
|
||||
* :ref:`bootable-usb-windows`
|
||||
|
||||
#. Start the |CL| installer and follow the prompts.
|
||||
|
||||
#. On the :guilabel:`Choose Installation Type` screen, choose
|
||||
:guilabel:`Manual (Advanced)`, as shown in Figure 1.
|
||||
|
||||
.. figure:: figures/multi-boot-01.png
|
||||
|
||||
Figure 1: |CL| installer: Choose installation type screen.
|
||||
|
||||
#. On the :guilabel:`Choose partitioning method` screen, choose
|
||||
:guilabel:`Manually configure mounts and partitions`, as shown in
|
||||
Figure 2.
|
||||
|
||||
.. figure:: figures/multi-boot-02.png
|
||||
|
||||
Figure 2: |CL|: Choose partitioning method.
|
||||
|
||||
#. Select the drive, in this case :file:`/dev/sda`, and press :kbd:`Enter` to
|
||||
go into the `cgdisk` partitioning tool. See Figure 3.
|
||||
|
||||
.. figure:: figures/multi-boot-03.png
|
||||
|
||||
Figure 3: |CL|: Choose drive to partition.
|
||||
|
||||
#. Create a new root partition.
|
||||
|
||||
#. Select :guilabel:`New`, as shown in Figure 4.
|
||||
|
||||
.. _multi-boot-04:
|
||||
|
||||
.. figure:: figures/multi-boot-04.png
|
||||
|
||||
Figure 4: |CL|: Create new partition.
|
||||
|
||||
#. Accept the default first sector.
|
||||
|
||||
#. Specify the desired size of the partition. For this example, we
|
||||
specified *50 GB*. See Figure 5.
|
||||
|
||||
.. figure:: figures/multi-boot-05.png
|
||||
|
||||
Figure 5: |CL|: New partition size.
|
||||
|
||||
#. Set the partition type to :guilabel:`8300 (Linux filesystem)`, as shown
|
||||
in Figure 6.
|
||||
|
||||
.. figure:: figures/multi-boot-06.png
|
||||
|
||||
Figure 6: |CL|: Set partition type.
|
||||
|
||||
#. Name the partition :file:`CL-root`. This name makes it easier to
|
||||
identify later. See Figure 7.
|
||||
|
||||
.. figure:: figures/multi-boot-07.png
|
||||
|
||||
Figure 7: |CL|: Name partition.
|
||||
|
||||
#. Create a new swap partition as shown in Figure 8.
|
||||
|
||||
.. figure:: figures/multi-boot-08.png
|
||||
|
||||
Figure 8: |CL|: Create swap partition.
|
||||
|
||||
#. Select the *free space* partition located at the bottom of the column.
|
||||
|
||||
#. Select :guilabel:`New`. See :ref:`Figure 4<multi-boot-04>`.
|
||||
|
||||
#. Accept the default first sector.
|
||||
|
||||
#. Specify the desired size of the swap partition. For this example, we
|
||||
used 8 GB. See the `recommended swap partition sizes`_ for guidance.
|
||||
|
||||
#. Set the partition type to :guilabel:`8200 (Linux swap)`.
|
||||
|
||||
#. Name the partition :file:`CL-swap`.
|
||||
|
||||
#. Create a new EFI partition as shown in Figure 9.
|
||||
|
||||
.. figure:: figures/multi-boot-09.png
|
||||
|
||||
Figure 9: |CL|: Create EFI partition.
|
||||
|
||||
#. In the :guilabel:`Partition Type` column, select :guilabel:`free space`
|
||||
located at the bottom of the column.
|
||||
|
||||
#. Select :guilabel:`New`. See :ref:`Figure 4<multi-boot-04>`.
|
||||
|
||||
#. Accept the default first sector.
|
||||
|
||||
#. Specify the desired size of the partition. For this example, we used
|
||||
1024 MB. This partition will hold |CL|, the kernels of the other
|
||||
operating systems, and their boot information. Its size depends on the
|
||||
number of installed operating systems. In general, allocate about 100 MB
|
||||
per operating system. For this example, we used 1024 MB.
|
||||
|
||||
#. Set the partition type to :guilabel:`ef00 (EFI partition)`.
|
||||
|
||||
#. Name the partition :file:`CL-EFI`.
|
||||
|
||||
#. Select :guilabel:`Write` to apply the new partition table.
|
||||
|
||||
#. Select :guilabel:`Quit` to exit the `cgdisk` tool.
|
||||
|
||||
#. On the :guilabel:`Set mount points` screen, specify the mount points and
|
||||
format settings as shown in Figure 10.
|
||||
|
||||
.. figure:: figures/multi-boot-10.png
|
||||
|
||||
Figure 10: |CL|: Set mount points.
|
||||
|
||||
#. On the :guilabel:`User configuration` screen, select
|
||||
:guilabel:`Create an administrative user`, as shown in Figure 11.
|
||||
|
||||
.. figure:: figures/multi-boot-11.png
|
||||
|
||||
Figure 11: |CL|: User configuration.
|
||||
|
||||
#. Select :guilabel:`Add user to sudoers?`, as shown in Figure 12.
|
||||
|
||||
.. figure:: figures/multi-boot-12.png
|
||||
|
||||
Figure 12: |CL|: Add user as sudoer.
|
||||
|
||||
#. Follow the remaining prompts to complete the installation and finish
|
||||
the out-of-box-experience for |CL|.
|
||||
|
||||
#. Log in.
|
||||
|
||||
#. Add a Systemd-Boot timeout period or Systemd-Boot will not present the
|
||||
boot menu of available OSes to choose from and will always boot |CL|.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo clr-boot-manager set-timeout 20
|
||||
|
||||
sudo clr-boot-manager update
|
||||
|
||||
#. Reboot.
|
||||
|
||||
If you want to install other OSes, refer to :ref:`multi-boot-detail-proc`.
|
||||
|
||||
.. _recommended swap partition sizes:
|
||||
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/ch-swapspace.html
|
||||
@@ -14,7 +14,6 @@ Explore our tutorials to discover what you can do with |CL|!
|
||||
machine-learning/machine-learning
|
||||
docker/docker
|
||||
azure
|
||||
multi-boot/multi-boot
|
||||
hadoop
|
||||
fmv
|
||||
aws-web/aws-web
|
||||
|
||||