openSUSE Leap 15.0 - General installation procedure

  1. Introduction
  2. Pre-installation
  3. Installation
  4. References

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 pointTypeComments
/boot/EFIEFI partition
/ext4root partition
/homeext4home partition
swapswapin a non solid-state drive

Installation

General installation procedure

  1. Power on the computer and boot from the USB installer.

  2. Select "Installation".

  3. Set language and keyboard layout.

  4. 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.

  5. Partition the disks according to the partition scheme above.

  6. Set clock and time zone.

  7. Skip user creation, set only the password for root.

  8. In the "Installation Settings" screen, disable firewall and SSH. Then click "Software" to specify the list of packages to install.

  9. 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>

References

  1. Ubuntu installation on USB stick with pure EFI boot (Mac compatible)
  2. Ubuntu + Mac: Pure EFI Boot