Help


Community tutorials and documentations

What is a bootscript and how to use it

What is a booscript and how to use it

This page shows you how to boot a C1 server with a specific bootscript. Bootscripts allow you to start a server with a specific Kernel version.

Requirements

  • You have an account and are logged into cloud.scaleway.com
  • You have configured your SSH Key
  • You have a server

A bootscript is composed of three elements:

  • The kernel
  • The initrd - An archive containing the scripts needed to fetch the missing kernel modules and dynamically mount your NBD root volume, fully loaded in RAM before loading your volumes.
  • The cmdline - Passed to the kernel at startup. Available for the initrd scripts and available from the server with the following command cat /proc/cmdline.

important: If you attach a bootscript while your server is running, you will have to reboot the server to apply changes.

Change servers bootscript

In the Control Panel, click “Servers” in the left panel.

Servers list

Select the server you want to change the bootscript. In the server details, display advanced options.

The list of available bootscripts appears. Then select the bootscript you want to start your server with and validate.

Server bootscript

Reboot your server. In a few seconds, your server will be running with the new bootscript. Connect your server and run uname -a. In my case I changed the kernel version to 3.17.0-63.

root@c1-X-Y-Z-T:~#uname -a
Linux c1-X-Y-Z-T 3.17.0-63 #8 SMP Mon Oct 13 21:39:09 CEST 2014 armv7l armv7l armv7l GNU/Linux

Discover a new cloud experience

Deploy SSD cloud servers in seconds.