An encounter with Lubuntu
Finding Lubuntu
Searching with the keyword "lubuntu" might be misleading, so to be safe just search for "ubuntu" and go to their official website. Ubuntu (an ancient African word meaning "humanity to others") is currently published by Canonical, so their name is shown on the top of the official website. After clicking the download menu, links to the official website of several Ubuntu flavors are shown.
Downloading? Installation?
After navigating to the download page of Lubuntu's official website, generally there are two versions available which are LTS (long-term support) and regular/interim/"non-LTS". The LTS version has approximately three years of Lubuntu Team support and then two years of Ubuntu Community support. Currently, the latest LTS version is code name Focal Fossa which support will end in 2025. One might want to refer to Lubuntu Manual page for a more comprehensive guide and explanation, but listed below are the main focuses which I think are quite important:
- Verify downloaded ISO to assure that the downloaded image is authentic and not corrupted.
- Create bootable USB flash drive of the downloaded ISO. The guide in Lubuntu Manual (which hyperlinks to Ubuntu Tutorials website) is clear and straightforward, simply substitute the corresponding ISO with the downloaded Lubuntu image.
- Boot to the USB flash drive. This may involve changing some UEFI Firmware Settings which may vary depending on hardware manufacturer.
- Begin installation. Starting the process is pretty straightforward.
- preferably starting with EFI System Partition. Double click on the "Free Space", set the size to 100MB, file system to fat32, mount point to /boot/efi, and select boot flag.
- The rule of thumb for swap partition is twice the RAM capacity, in this case 8GB (8*1024MB = 8192MB) with linuxswap file system and swap flag.
- For the root partition, (this might be overkill) the size is chosen to be 200GB (200*1024MB = 204800MB), mount point /, and select root flag.
- Finally home partition with mount point /home.
For Windows 10 users with 7-Zip installed, simply right click on the downloaded ISO, hover on "CRC SHA" and click "SHA-256". I downloaded and verified Lubuntu 20.04.1 LTS (Focal Fossa) in the following example.
The old laptop (mentioned on the previous blog) has two options in the Boot Option Menu which are for UEFI and Legacy mode.
In this example, UEFI Mode is selected.
Things usually went smoothly up until the "Partitions" screen.
After selecting "Manual partitioning", hard drive partitions could be modified. Don't worry, changes are not directly applied to the hard drive before clicking "Next". If, say, Windows 10 is previously installed on the system (which means that the partition table is (most likely) already in GPT), there might be a FAT32 partition with 100MB (1B = 1 byte = 8 bits) in size. This partition is most likely to be the EFI System Partition (ESP). It is among the four (arguably) most essential partitions necessary to install Lubuntu in UEFI mode, which are ESP, root (/), linuxswap file system (swap), and home (/home) partition. To install Lubuntu along with Windows 10, the ESP is usually already there, so the last three partitions are the ones remaining. For this example, to change partition table from MBR to GPT, "New Partition Table" is selected.
Create the partitions:
If Windows 10 is previously installed on the system and ESP is already there:
Simply double click on the ESP, set the mount point to /boot/efi, and select boot flag. Create the remaining necessary partitions as explained previously.
If Windows 7 is previously installed on the system and the bootable USB flash drive is booted in Legacy mode to install Lubuntu alongside Windows 7:
Well, this might be not a popular case but the process is similar. The only difference is there are no ESP, so the boot loader installation location has to be set after creating the necessary partitions.
After the partitions are configured, the remaining installation steps should be going smoothly.
What now?
Lubuntu is finally installed! In the subsequent blog, I shall discuss about familiarizing with Lubuntu interface and preparing Lubuntu for learning Python.