Chapter 1.3 Installation¶
This is a guide through the installation process of Lubuntu.
Starting the installer¶
At the start of the boot process, a GRUB splash screen will be shown. To install select
. If you have a problematic graphics card, select (for example, some NVIDIA cards will need this.) To test your RAM, select .The next screen will present a choice between Try Lubuntu, which will give you a live session to run Lubuntu as you see fit, or run the installer directly with Install Lubuntu. Above this there is a field to select which language you want to install in the Select Your Language drop down. To get this screen in your language, select one then press the Confirm button. If you need more advanced network settings to install Lubuntu than just connecting to Wi-Fi use the Try Lubuntu choice. If choose Install Lubuntu the installer will start right away and install in your language. At the bottom of your screen if you are connected to the internet automatically like with an ethernet cable it will say Connected at the bottom. If you are not connected to the internet at the bottom it will say Not Connected.
Once you have booted into the live session, feel free to explore Lubuntu and make sure all your hardware works. Once you are ready to install Lubuntu, double click the icon in the top-left corner of the desktop Install Lubuntu 24.10 or .
You will be taken to the Lubuntu installer Welcome screen. You can change the installer language in the Language drop down box. After selecting the language the Next button will move you on to the next task. To cancel an installation press the Cancel button. On the left side of the installer is a sidebar that shows what installation step you are on.
Selecting Your Location¶
The next screen will show you a map of the world where you can choose your location. Your location will be used to set your time zone and download server. To see what region you have chosen use the Region drop down menu. The Zone field should have a major city with the same time as you. If you want to get to the your time zone manually faster you can type in the name of a big city in the same time zone. Towards the bottom you can to change your system language by pressing the upper Change button. To change the how numbers and dates appear on your system press the lower Change button. To switch certain keys on your keyboard use the Switch Keyboard drop down. To move to the next step once again press the Next button. To move back to selecting your language to change your language press the Back button.
Selecting Keyboard Layout¶
Next select your keyboard layout, you can check your keyboard matches the keyboard shown picture shown. The Keyboard Model menu lets you choose different variants, the left column lets you change language, and the right column gets different variants. At the bottom you can type to make sure your layout is correct. To test your keyboard is working type in Type here to test your keyboard field. When you have selected your keyboard layout press the Next button to move on. To view a preview of what this keyboard layout looks like look at the top of the window.
Customize¶
Next will bring a choice of what applications to install, additional third party drivers, or to install updates with the installation. To choose to install all applications and the list of the third party applications choose Full Installation. To choose the normal applications included in Lubuntu select the Normal Installation button. To choose a minimal installation of just the desktop environment select the Minimal Installation button. To install updates while installing check the Download and install updates following installation checkbox. To install third party and maybe proprietary drivers check the Install third-party software for graphics, WiFi hardware, and additional media formats checkbox.
Pick which particular additional applications you wish to install there are checkboxes for each program under Install additional third party packages. To install Element for encrypted Matrix chat check the Element checkbox. To install the Thunderbird email and calendering client check the Thunderbird checkbox. To install virt-manager to manage running virtual machines on Lubuntu check the Virtual Machine Manager checkbox. To make digital art check the checkbox for Krita.
To go to the next part of installation press the Next button. To go to selecting your keyboard again press the Back button.
Setting Up Partitions¶
If all you want is Lubuntu on your machine, you can select the Erase disk button. This will format the disk and delete all data on the disk, which is why having your data backed up before this point is extremely important. If you choose to do this you can continue on to user setup. To change the storage device to install Lubuntu on use the Select Storage device drop down menu. To see whether you are installing in uefi or bios mode is shown in the top left corner of this window. To choose to use a swap file under Erase disk keep or to not use swap choose . To choose which filesystem to use the drop down on the right to choose which filesystem you want to use. If you want to encrypt your drive press the Encrypt system checkbox and then you will need to enter the encryption passphrase twice to make sure you have it typed in correctly. It is strongly advised to write down this passphrase and keep it somewhere safe.
Warning
Erasing your entire disk or partition may cause you to lose data so please backup beforehand.
Note
If you had a previous Linux install with a swap partition you will need to unmount the swap. To do this run
sudo swapoff -a; sudo swapon /dev/zram0
which will unmount them and any swap partitions while still leaving zram enabled. This will not work if you have data partition mounted open PCManFM-Qt and press the upward pointed arrow on each partition in the Places sidebar to unmount all data partitions.
To move back to Selecting your keyboard layout press the Back button. To advance to the setting up users press the Next button.
User Setup¶
The user setup section creates a user profile, consisting of typing your name into the What is your name? field. Next type your username in the What name do you want to use to log in?. Put what you want your hostname of your computer to be in the what is the name of this computer? field. The last thing you need to enter is your password in the Choose a password to keep your account safe. Enter your password twice to make sure you have not mistyped it. If a name can actually be used as a username or hostname a green checkmark will appear to the right of it if you cannot a red x will appear. Pressing the Next button will give you a summary screen, showing you the settings before the install begins. Once you have checked the summary click the Install button to begin the installation.
The summary screen shows what settings will be installed and you can double check everything is how you want it. After pressing the Install button a dialog will pop up to confirm installation. To actually install press the Install now button. To not start installing and go back press the Go back button.
The Install¶
The Lubuntu installer provides some useful information while the installer is running. On the bottom of the window is a progress bar. On the right end of the progress bar is the percentage of the installation complete. To see command line output of the install press the Magnifying glass button. Once Lubuntu is installed you have a checkbox Reboot now after your Lubuntu is installed and is now finished. There is a slideshow while you install and to move to the next slide left click and to move to the previous slide right click.
Rebooting into the finished install¶
After the install is finished you will need to reboot your system into your new install. If you want to continue using the live system but end the installer uncheck the Reboot now checkbox. To close the installer press the Done button. After this your computer will reboot and you should remove your install media.
Install Alongside¶
To choose to shrink your current partition to install Lubuntu alongside a currently existing install so you can boot into both of them select Install alongside. The Current bar graph shows how much space is currently taken up by a partition. The After section shows how much space will be used by both installs. To change how much space each partition will end up using slide the center back and forth to distribute space between both installs. If you want to encrypt your install check the Encrypt system checkbox.
Replace a Partition¶
To replace a partition select Replace a partition on the Partitions tab. To select which filesystem to install Lubuntu on choose on the drop down under Replace a partition. To select which drive to install on choose in the Select storage device menu. To encrypt your Lubuntu install check the Encrypt system checkbox. To look at your current layout of partitions you have look at the Current bar graph. To see what each partition is listed below the graph. To select which partition to replace left click on the partition on the Current graph. To see the what partitions will be used after the install read the After field. To see the size and filesystem of all partitions view the After bar graph. To see where Lubuntu will boot from is also on the bottom. To continue installing press Next.
Manual Partitioning¶
Warning
Trying to use nonlinux filesystems such as NTFS or FAT as your root filesystem will result in a broken system.
If you wish to manual set up partitions, as an advanced option you will have to choose which file-system you want. A file-system controls how your files are accessed at lower levels on the disk. If you are booting your computer in UEFI mode a more modern firmware compared to BIOS you will need to create an EFI system partition (see efi system partition Wikipedia for more detail). To create this partition you will need a FAT32 file-system with the ESP flag to be mounted at /boot/efi/ under the mount point. You will also need a root (/) file-system, several file-systems included for Lubuntu are Ext4, XFS, and Btrfs. Lubuntu 22.04 has bug with installing BTRFS and This guide on Lubuntu discourse
Warning
Creating a new partition table will erase all data on the drive and deleting a partition will delete all data on the partition.
If you have a new hard disk or solid state drive press the New Partition table button but this will delete the whole disc if you have any data on it. After pressing this button you will get a dialog saying what kind of partition table to use. The Master Boot Record button will create an old partition table but will only allow 4 primary partitions and partitions up to 2 Terabytes. The GUID Partition Table button works for large discs but may not be recognized by legacy operating systems. To get back to your main partitioning window press the OK button.
To change what disk you are partitioning use the Storage device drop down menu.
You can create partition by clicking the Create button which will bring up a dialog. The file system field is a drop down menu, select which file-system you want. You also need to select where you want to mount the partition in the Mount Point drop down menu. To change how big to make the partition change the Size field. To change the size or type of a partition after initially creating it press the Edit button. To delete a partition press the Delete button. You will need at least one root (/) partition and if you are booting an EFI system you will also need a /boot/efi mounted partition. Another common option is to have all your data on its own partition, which can even be on its own separate physical disk this can be mounted at /home. If you want to encrypt your your filesystem check the Encrypt checkbox. Then two fields will appear to get write type your encryption passphrase twice to confirm it. To add a label for this partition enter it into the FS Label field.
Lubuntu’s bootloader grub does not support creating an encrypted / partition without a separate unencrypted /boot partition. If you create a separate /home partition will be where you save all your user documents photos and videos so make sure if you create one it has enough space for your personal files. All partitions created do not be on the same drive so you can for example put /home on its own drive to give you lots of space and then put / where all of your system and programs will be launched from. A good example of a sensible way to use manual partitioning is if you have a solid state disk and a hard drive in a computer, put the / partition on the solid state drive for faster program launches and /home on the hard drive for more space for your files.
To go back on all your changes to the previous state press the Revert All Changes button in the top right. To change what device your computer will boot off of you will need to use the Install boot loader on drop down menu to select which disc to boot off of.
In the center of the manual partitioning window shows you what name of the partition is. What type of filesystem is displayed in the File System column. To see where your partition is mounted are shown in the Mount Point column. The size of the system is shown in the Size Column.
The top of the manual partitioning window shows a visual bar showing size of your partitions on top. Below it shows each partition on your drive with the color it is in the bar graph and the size of the partition.
OEM Installs¶
To install Lubuntu in an OEM mode for distributing to someone else on the grub boot splash select Yes button. Then the installer will say have a welcome screen that will say it is in OEM mode will show up. To change what language to use for installation use the drop down bar under OEM installation mode. To move to the next step of installation press the Next button.
or from the panel menu . Then you will be asked if you are sure you want to install in OEM mode and to actually install in OEM mode press theTo set a name for what to call this preinstalled system you are installing to ship to someone enter that in the Batch field. To move to the next part press Next To go back to welcome press the Back button. Then the Location, Keyboard, Customize, and Partitions sections are the same as a normal installation. Then for the OEM install you will not be able to make a username as the end user you ship to will use that. To choose a hostname enter in the What is the name of this computer? field. Then you will enter a password twice with Choose a Password to keep your account safe field. To have your OEM install log in automatically check the Log in automatically without asking for the password checkbox. To move to the next part of installation press the Next button.
Then a summary screen shows what settings are for your users. To actually begin installing press the Install button and then to confirm that this is what you want press the Install Now button.
Oem User Setup¶
To setup your user setup for an OEM preinstalled system Yes to confirm this. Then you will need to reboot to run the user setup.
. Then you will be asked if you want to finish OEM setup and then a wizard will be run next boot. Then pressThe first section of user setup will ask you what language to continue in at the very bottom. To go to the next part of Lubuntu setup press the Next button.
Next you will need to select your time zone in the Region and Zone fields with a world map above them to tell you what time it is set to. To set what language the system will boot into press the Change button next to The system language will be set to field. To change how date and number formatting press the Change button next to The numbers and dates locale will be set to field. To go to the next part of Lubuntu setup press the Next button.
The next part of setup will have be selecting your keyboard layout. To change the what kind of keyboard model you are using change the Keyboard model field. The left column sets the language of your keyboard while the right column selects a layout for that keyboard. In the bottom left hand corner you type to make sure what you think you are typing matches what is being input. To set a key to change keyboard layout select one from the Switch keyboard field. To move on to setup your users press the Next button.
Next is to set up your users for your computer. To then enter your name in the What is your name field. To enter your username in the login field. Enter your hostname in What is the name of your computer. Then type your password twice to make sure you didn’t mistype in in the fields under Choose a password to keep your account safe field. To login automatically check the Log in automatically without asking for the password checkbox.
Next step to finalize creating users and keyboard and language settings press the Set Up button. At this point you will be asked to confirm because you cannot undo after this step. To continue with all your settings press the Set Up Now. Then the users will set up with a slideshow and you will then reboot and then can login to reboot and use Lubuntu is ready to use.