Installing an additional Linux distribution on a computer with a double-disk SSD, UEFI interface and pre-installed Ubuntu

Installing an additional Linux distribution on a computer with a double-disk SSD, UEFI interface and pre-installed Ubuntu

1 The choice of the computer

For this test I looked for a computer having the following features:

  1. Pre-installed open source operating system
  2. Simple installation of ad additional solid-state drive
  3. Cheap price!

I chose an Italian laptop branded Microtech with a little SSD M2 internal disk, (32 Gb), pre-installed OS GNU/Linux Ubuntu and slot for an additional disk under the chassis (€310,00).

20190603_223513_v1.jpg

Figure 1: The notebook used for this article

To install the additional operating system I, then, purchased a SSD M2 120 GB disk branded Western Digital, (€23,99).

The additional operating system chosen for this test is Manjaro.

2 Assembly and configuration of the additional disk

The first step is the installation of the additional SSD M2 disk in the slot under tha chassis.

20190603_223352_v1.jpg

Figure 2: Slot for the additional SSD

You can immediately see the new disk when you run the pre-installed operating system but you cannot use it for booting a new operating system: you have to prepare it for this purpose.

You can use GParted, an excellent open-source software, following these three steps:

  1. Create a little partizion (about 1mb), FAT32, at the beginning of the additional disk.
  2. Insert a flag the ESP check box
  3. Insert another flag in the BOOT check box

You can see the little partition in the following image:

gparted_v1.jpg

Figure 3: Additional disk partitioning

Now you can start the installation of the new operating system.

3 Installation of the operating system

First of all you need to download the ISO image of the operating system (https://manjaro.org), burn it into a DVD or USB support and start the computer by keeping the support inserted.

After that you have to allocate in the first little partition (the one named ESP created with GParted) the mounting point /boot/efi.

In the Figure n. 3 you can see the mount points sequence in /dev/sda1 and /dev/sda2.

In the partition sda1 there's the EFI mounting point.

In the partition sda2 there's the root mounting point.

The third partition is, for now, empty.

4 A further step, but only in some cases: changing the boot sequence

If the new operating system need to be the first in the boot menu (like Manjaro does) you need also to change the booting drives sequence.

For this purpose you must start the computer by pressing the F2 key, go to the BOOT tab, go down to the last row, press RET to open the Menu Boot EFI and move the voice Manjaro before the Ubuntu one.

You can see the following images.

20190603_210945_v1.jpg

Figure 4: General Boot Menu

20190603_211000_v1.jpg

Figure 5: EFI Boot Menu

And, now, here to you the boot menu with both operating systems in the menu:

20190603_223513_v1.jpg

Figure 6: The multiboot when you start the computer

5 Final adjustments: touchpad and resolution

5.1 The tapping enablement in the touchpad

If you need to activate the tapping in the touchpad you must follow these further steps:

  1. Go to the folder /usr/share/X11/xorg.conf.d
  2. Open in a text editor the file 40-libinput.conf
  3. Go to the section InputClass with the identificator libinput touchpad catchall
  4. Add the string ​Option "Tapping" "on"​ before the word EndSection, save and quit.

The following one is the entire block of code:

Section "InputClass"
 Identifier "libinput touchpad catchall"
 MatchIsTouchpad "on"
 MatchDevicePath "/dev/input/event*"
 Driver "libinput"
 Option "Tapping" "on"
EndSection

Restart the computer and you'll be able to tap on the touchpad.

5.2 Reduce the screen resolution

At the native screen resolution is 1920x1080 FHD the letters may be too small.

To reduce the resolution you can digit the following command: xrandr -s 1600x900.

If you want to maintain the reduced resolution you must follow these steps (assuming you are using Vim):

  1. Type in a terminal windows: sudo vim /etc/lightdm/lightdm.conf
  2. Uncomment and modify the line #display-setup-script= to display-setup-script=/etc/lightdm/Xsetup
  3. Create the configuration file sudo vim /etc/lightdm/Xsetup
  4. Insert in the file the string: xrandr -s 1600x900
  5. Make executable the file with: sudo chmod +x /etc/lightdm/Xsetup
  6. Restart the computer

Created: 2019-06-19 mer 22:16

Emacs 24.5.1 (Org mode 8.2.10)

Comments

Popular posts from this blog

Vim: Cut, Copy and Paste to and from the system clipboard

Vim: searching for text containing a slash or a question mark