Reinstalling your server

Description  This page describes how to reinstall your Dedicated & Bare Metal Server through the Action panel in the Customer Portal.


Reinstallation of your Dedicated or Bare Metal Server

LeaseWeb delivers IaaS Dedicated and Bare Metal servers to customers. As a customer you are able to install or re-install the Operating system for those servers in different ways. This page describes these methods.

During installation all existing data on your server will be wiped, and cannot be recovered. If you want to save any of the data please backup before installing.
In case you don't have access to the server, try starting your server in rescue mode and recover your data before performing a installation.

By default all installations are done using the LeaseWeb installer. This installer is capable of deploying the Operating system of your choice rapid and tuned for best performance on your Dedicated or Bare Metal server. During the process a custom partitioning scheme can be applied for Linux (non BSD) distributions.

Another option is installing from your own http(s) offered image over our iPXE boot environment. Please check the explanation below.

Reinstalling Dedicated or Bare Metal server using the LeaseWeb installer

Perform the following steps to install a Dedicated or Bare Metal server:

  1. In the menu bar, under Dedicated & Bare Metal Servers, select All Servers.
    The All Servers overview page displays. 
  2. Click the Manage link for the server that you want to (re-)install.
    The Server Details page displays.

  3. Under Actions, click 
    The Choose the operating system to install dialog box displays.

  4. The first step in the Installation menu is to choose the Operating System to install your server with:

    For operating systems that require a software license, the monthly cost is displayed. It will be added to your invoice automatically when the (re-)install is started.

  5. Select an operating system from the drop-down list, and click the  button 
    The Disk Partitioning & RAID settings page displays:

    Field Name


    Device Select the disk you are going to partition. The disk should be set as boot device.
    Size MB Enter the size of each partition. Note: We recommend that you insert * to assign the remaining amount of space to the last partition. This is to ensure that all available space is assigned. 
    Type Select the partition type and filesystem.
    Mount point Select the mount point.
    Bootable Select the partition that needs to be bootable.


    Installing your server with Software RAID feature is an effective way to enable data redundancy and/or perfomance improvements on servers that are not equipped with a Hardware RAID option.

    LeaseWeb has chosen for LVM (Logical Volume Manager) on RAID to support software RAID.

    The following RAID levels are supported for software RAID:

    OS Software RAID level
    CentOS 0, 1, 5, 6,10
    Debian 0, 1, 5, 6,10
    Ubuntu 0, 1, 5, 6,10
    ESXi None
    Free BSD None
    CloudLinux None
    Microsoft Windows Server None

    For servers with a Hardware RAID controller, the Hardware RAID level can be set from this screen, instead of Software RAID:

    Custom partitioning

    Customized partitioning is not supported with all operating systems, most notably Windows. For Windows installations, you can use the Disk Manager to resize and create partitions, as well as setup software RAID, after the installation has finished.

    If the total size of the partitions exceeds the hard disk size, or if you select options that are incompatible with the operating system, the (re-)installation will fail. If you are unsure about customized partition layout, we recommend that you select Default Partitioning to avoid any errors.

    Additional disks can be partitioned after the installation has finished.
  6. On the next page, an optional Control panel can be selected to be installed with the operating system:

    Only the control panels that are supported by LeaseWeb's Installation System and compatible with the selected operating system will be displayed.
    If your server has multiple IP addresses, the main IP address will be registered with the software vendor. You will need to use this IP address to access the control panel.

    To make server management more easy, there are diverse management control panels that support hosting companies in their day to day business. LeaseWeb offers the following control panels:

    • Odin Plesk (previously known as Paralells) -, available for Linux and Windows.
    • cPanel -

      Installations of the cPanel control panel can take up quite some time. If you are able to login to your server, please make sure the cPanel installation is finished before making any changes to your server.

    Using these panels have license fees included. If you (re-)install a server that initially did not have a licensed panel you will have to agree on purchasing the license.
    For more information about Control panels, please refer to Control Panels

  7. On the Settings page, optionally a hostname, timezone, SSH keys and postinstall scripts can be specified

    Additionally you can opt out of the e-mail that is sent to notify you when the (re-)install has finished, and the power cycle that is used to start the installation.
    Note that if you uncheck the power cycle box, you will have to restart your server manually for the (re-)install to start.

    Postinstall scripts are shell scripts, executed as the root user after the installation has finished, and should start with a #!

  8. The confirmation page is displayed:

    The (re-)install of your server with the selected operating system starts when you press the  button.
    In case you've selected Windows or a control panel, an additional message is shown to inform you about the cost.

    You will be assigned initial generated passwords that will display after (re-)installation is complete. We recommend that you change your passwords often and also right after the installation. To view the password, on the Server details page, under , click 'View Password'.

Operating systems supported by the LeaseWeb installer

At LeaseWeb we try to support a wide range of operating systems. Our installers always use the latest stable version and we offer all currently maintained versions till the last day of support. We support the open source community in multiple ways, one of them offering them free hosting of their software via our mirrors (Cheat Sheet)

Distribution Information Licence
CentOS Open Source
CloudLinux Paid

Open Source
ESXi VMware licensing model
FreeBSD Open Source
Ubuntu Open Source
Microsoft Windows Server Microsoft paid licensing model

Is there an OS missing in this list? Please inform support or your account manager so we can add it.

Installation of a Dedicated or Bare Metal server using your own IPXE server

In our LeaseWeb labs blogpost "Automatically provision your bare metal infrastructure" one of our engineers explains installing your server using LeaseWeb's iPXE boot environment and your own boot image. This way you can use your own provisioning system to install one of our servers.

More information:

  • Open Source boot firmware iPXE for installing your server (Linux or Windows). On you can find a lot of examples and information how this works.
  • On the LeaseWeb developer page you can find the instructions for usage of the api-calls /bareMetals/{bareMetalId}/leases and /bareMetals/{bareMetalId}/leases/{macAddress} needed for this operation.
  • Automated provisioning platforms like FOREMAN can deliver a good framework to provide the needed automation.