Home Wiki > SDB:Network installation
Sign up | Login

SDB:Network installation

tagline: From openSUSE

This article covers the procedures and methods of a network installation.
Tested on openSUSE Recommended articles Related articles
Icon-checked.png

Icon-manual.png Icon-help.png

Installing from Internet

Using NET iso image you can create bootable CD or USB memory stick. You can find them at http://download.opensuse.org/distribution/12.3/iso/ or http://software.opensuse.org . Below are direct links:

11.4 NET installer-list.png

Boot screen

When you boot from you NET CD, you will be presented with this 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

Automatic

By default, Network configuration is done automatic trough DHCP. This is appropriate for most users. In some case 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

Manual

In this screen you can set the following options:

  • Host IP: This is your own unique network adress.
  • Netmask: In most cases this is 255.255.255.0
  • Gateway: IP address of your router, should be in the same Netmask. (In this case 192.168.100.XXX)
  • Nameserver: The address of the server providing you the addresses corresponding to domain names (Eg opensuse.org). This can be your DSL router or a server at your provider.
  • Domain name: If your network is in a domain, this option can be used. In most cases this option can be omitted and left blank.


11.4 NET installer-proxy.png

Proxy configuration

In some cases it is needed to configure a proxy. You can do so in this screen. Contact your network administrator for details. User and password are usually not necessary.


When everything is set up correctly, you can start the installation. The installation retrieves the installation data from the fastest mirror for you. It then proceeds as described in DVD installation, step 1 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.


Installing from another local network sources

  • 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 (SLP, FTP, HTTP, NFS and SMB/CIFS are supported).
  • Provide the server's address and the path to the installation media:
  • Select Installation from the main boot menu and [Enter] enter to continue.
  • The installation program automatically configures the network connection with DHCP. If this configuration fails, you are prompted to enter the appropriate parameters manually.
  • 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

No reliable CD/DVD writer around? Out of CDs or just too lazy to download and burn the whole installation image?

There is a quick way with only one important limitation, use it only to add another installation to your computer. If network installation is interrupted for any possible reason, you need your current system to restart installation.

The idea is to boot the system using kernel and initd images published on the Internet or in your network repository. Below is the example with 12.3 repositories of openSUSE.

You have to be root user for this.

Get the kernel and initrd images

 mkdir /boot/install
 cd /boot/install
 wget --output-document=oS-12.3.vmlinuz.install http://download.opensuse.org/distribution/12.3/repo/oss/boot/$(uname -i)/loader/linux 
 wget --output-document=oS-12.3.initrd.install http://download.opensuse.org/distribution/12.3/repo/oss/boot/$(uname -i)/loader/initrd

No need to replace $(uname -i) as the command shell will replace it with your current architecture, which is either i386 or x86_64.

Edit /boot/grub/menu.lst

The following instructions are for old GRUB, NOT new 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-12.3.vmlinuz.install install=http://download.opensuse.org/distribution/openSUSE-stable/repo/oss/
      initrd /boot/install/oS-12.3.initrd.install

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

Start installation

There are two ways to start installation:

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

or

  • 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-12.3.vmlinuz.install --initrd=/boot/install/oS-12.3.initrd.install
  kexec -e

First command will load installation kernel and initrd in a memory, and second will start new kernel.

Moment after 'kexec -e' you will see a boot message of the installation kernel.


See also


External links