This wiki was updated to MediaWiki 1.37. If you notice any issues, please report them to admin[at]

SDB:Network installation

(Redirected from Internet installation)
Jump to: navigation, search
This article covers the methods and procedures for installing openSUSE over the network.

Tested on openSUSE

Recommended articles

Related articles

The following instructions depend on functions that are available only if you have booted in Legacy/MBR mode, NOT when booted in UEFI mode. To-Do: Add instructions for UEFI.

Installing from the Internet

Using the network ISO image, you can create a bootable CD or USB memory stick. You can find these ISO images at or . Below are direct links:

11.4 NET installer-list.png

Boot screen

When you boot from your network-install medium, you will be presented with the following list:

  • Select Installation.
  • Press [F2] to choose the language and your keyboard layout.
  • Press [F3] to choose the screen resolution.

Network configuration

11.4 NET installer-source.png


By default, the network is configured automatically using DHCP. This is appropriate for most users. In some cases, you might need:

  • Manual network configuration
    • Press [F4] and select Network Config.
  • To use a proxy, choose HTTP Proxy

11.4 NET installer-network.png


On this screen, you can set the following options:

  • Host IP: This is your own unique network address.
  • Netmask: In most cases, this should be
  • Gateway: The IP address of your router, which should use the same network mask. (In this case, 192.168.100.XXX)
  • Nameserver: The address of the DNS server that resolves domain names (for example, "") to IP addresses. This might be your broadband router, or servers at your Internet provider.
  • Domain name: If your network is in a domain, this option can be used. In most cases, this option can be omitted: leave the field blank.

11.4 NET installer-proxy.png

Proxy configuration

For some networks, you might need to configure a proxy server. If your network uses a proxy server, enter its address here. Contact your network administrator for details. A username and password are usually not required.

When everything is set up correctly, you can start the installation. The installation program looks for the fastest available mirror automatically and retrieves the installation files from there. It then proceeds as described in DVD installation, step 1, with the exception of the network configuration step. This is not needed, as the network is already configured and active at this point.

Installing from a local network source

  • Boot the system and wait for the boot screen to appear.
  • Press [F2] to choose the language and your keyboard layout.
  • Press [F3] to choose the screen resolution.
  • Press [F4] and select the desired network protocol. FTP, HTTP, NFS, SMB/CIFS, and SLP (Service Location Protocol) are supported.
  • Provide the server's address and the path to the installation media:
  • Select Installation from the main boot menu and press [Enter] to continue.
  • The installation program automatically configures the network connection using DHCP. If automatic configuration fails, you will be prompted to enter the appropriate parameters.
  • The installation retrieves the installation data from the source specified.
  • The installation then proceeds as described in the step-by-step installation guide with the exception of the network configuration step needed prior to adding additional repositories. This step is not needed as the network is already configured and active at this point.

Media-free network installation

If you are unable to create installation media, or the machine onto which you are installing does not support removable media, then it is possible to boot the machine directly from the network without any local media.

This method has one important limitation. Only use it to add another, secondary Linux system to your computer. If a network installation is interrupted for any reason, you will need another locally-installed system to restart the installation.

The idea is to boot the system using kernel and initd images published on the Internet or in a repository on the local network. Below is an example using the Leap 15.2 repositories of openSUSE.

You must be the root user for this.

Get the kernel and initrd images

 mkdir /boot/install
 cd /boot/install
 wget$(uname -i)/loader/linux 
 wget$(uname -i)/loader/initrd

There is no need to replace $(uname -i) — the command shell will replace it with your current architecture.

Edit /boot/grub/menu.lst

The following instructions are for GRUB Legacy, NOT GRUB2.

This, however, requires some knowledge of GRUB configuration file /boot/grub/menu.lst format. If not sure, just add this at the end, so it will appear as the last item on the GRUB boot screen.

  title install
      root   (sdX,Y) # change this (sdX,Y)
      kernel /boot/install/oS-15.2.vmlinuz.install install=
      initrd /boot/install/oS-15.2.initrd.install

Change (sdX,Y) to whatever your setup requires, e.g. to the partition that was used in the previous entries to download the installation files.

Edit /boot/grub2/custom.cfg

The following instructions were tested only with UEFI GRUB2.

This does require some knowledge of the GRUB2 configuration file /boot/grub2/custom.cfg format. If it doesn't already exist, create it using the following template:

menuentry "Rescue openSUSE 15.2 via HTTP" {
	search --no-floppy --label --set=root rootpartitionlabel
	linuxefi /os152/linux showopts install= rescue=1 
	initrdefi /os152/initrd

Change rootpartitionlabel to the label of your root partition. If you do not know, use the blkid command to find out.

You will also need to substitute the actual location where you placed the linux and initrd files — /os152/ in the example.

The Rescue entry after menuentry is some descriptive text; this can be anything you like. The rescue=1 entry on the linux line is only necessary if you wish to start a rescue boot. Omit it for a normal or upgrade installation. If you append upgrade=1 to the linux line, then an upgrade installation will be started, which omits most of the questions asked during a normal installation.

Start the Installation

There are two ways to start the installation process:

  • Reboot the computer and choose your custom option on the GRUB boot screen. This works only if you edited GRUB as explained above.


  • Use the kernel's bootloader emulation kexec and skip the hardware reboot. Make sure that package named kexec-tools is installed. Then:
  kexec -l /boot/install/oS-15.2.vmlinuz.install --initrd=/boot/install/oS-15.2.initrd.install
  kexec -e

The first command will load the installation kernel and initrd into memory, and the second will start the new kernel.

Moments after issuing the kexec -e command, you will see the boot messages of the new installation kernel as it initializes.

See also

External links