openSUSE Leap 15.0 - General installation procedure
Introduction
This guide shows how to install openSUSE in UEFI mode. It will be assumed that a bootable USB installer with the "Network Image" is used for the installation. When some of the instructions here do not work, check the openSUSE documentation.
Pre-installation
Partition scheme
The following partition scheme will be used for installing openSUSE in UEFI mode:
Mount point | Type | Comments |
---|---|---|
/boot/EFI | EFI partition | |
/ | ext4 | root partition |
/home | ext4 | home partition |
swap | swap | in a non solid-state drive |
Installation
General installation procedure
Power on the computer and boot from the USB installer.
Select "Installation".
Set language and keyboard layout.
When selecting the user interface, first update the online repositories by clicking "Configure Online Repositories" and selecting
- "Main Repository (OSS)",
- "Main Update Repository",
- "Main Repository (Non-OSS)" and
- "Main Update Repository (Non-OSS)."
Then select any user interface. The packages to install will be selected later before starting the actual instalaltion.
Partition the disks according to the partition scheme above.
Set clock and time zone.
Skip user creation, set only the password for root.
In the "Installation Settings" screen, disable firewall and SSH. Then click "Software" to specify the list of packages to install.
Confirm and start the installation.
When the installation finishes, the computer restarts and should boot openSUSE. If that is not the case, the instructions in [1] or [2] might be helpful to boot into the new system.
Install required packages
$ zypper install --no-recommends iputils timezone vim
Keyboard layout
$ localectl set-keymap <map>
where <map>
is one of the available keyboard mappings from
$ localectl list-keymaps
Time zone
$ timedatectl set-timezone <timezone>
where <timezone>
is one of the available timezones from
$ timedatectl list-timezones
Locale
Set the LANG
variable
$ localectl set-locale LANG=<localisation>
Network configuration
Open /etc/hostname
and replace the default hostname with the desired hostname
<hostname>
/etc/hostname
<hostname>
Open /etc/hosts
and the following line
/etc/hosts
127.0.1.1 <hostname>.localdomain <hostname>
in a new line after 127.0.0.1 localhost
.
Finally, verify that the new configuration works
$ ping <hostname>