A live CD is a complete operating system bootable directly from portable media such as CDROMs. Rather than loading the OS from the system storage, with a live CD you can quickly test different operating systems without having to spend the time to go through the installation process. Many Linux distributions offer downloadable disk images for creating your own live CD which can also be useful in system recovery and repair.

Running a server from a live CD requires you to create a new storage device to copy the live CD image onto, configure the storage disk as a CDROM, and then boot up your server from the CDROM device.

Deploying a new server

Start off by creating a new cloud server of your choice at your UpCloud control panel. The instructions in this guide are directed at a Linux system but the process would be largely the same on any server OS.

Make the required configurations by:

  1. Naming your server and giving it a description.
  2. Selecting the availability zone you wish to deploy the server.
  3. Choose the configuration for CPU core count and RAM amount.
  4. Add a second 10GB disk by clicking the text below the first.
  5. Pick the OS you are comfortable with for a one time boot.
  6. Include any SSH keys you wish if available to allow password-free login.
  7. Check the miscellaneous options to choose a password delivery method.
  8. Confirm your selections and click the Deploy server button.

Once your server has finished deploying, you can log in with SSH using any keys selected at deployment or the root password displayed in the notifications at your UpCloud control panel.

Creating a live CD storage

When logged in as a root privileged user, check that the second storage disk is available.


vda    253:0    0  25G  0 disk
`-vda1 253:1    0  25G  0 part /
vdb    253:16   0  10G  0 disk

The first disk will show up with the regular operating system partition which is mounted at the root and the second disk should be a simple empty disk with no partitions.

Download a live CD image to the server, for example, using curl utility tool that is available on most distributions by default.

curl -o ~/image.iso https://example.com/live-cd-image.iso

When you have the desired live CD image saved on the server, copy the file contents to the empty storage device with the following command. Make sure that the image name and the target disk are set correctly and that the image is copied directly.

sudo dd if=~/image.iso of=/dev/vdb bs=16M oflag=direct

The copy process will not take long.

Once the live CD image has been successfully copied to the second disk, shut down the server again either at your UpCloud control panel or with the command below.

sudo shutdown -h now

With the server powered down, continue on with the last steps in booting from a live CD.

Booting from a CDROM storage

Go to the Disks tab in your Server settings and find the second disk device you copied the live CD image onto.

Change the live CD storage disk controller to the CDROM. You can confirm that the change was applied correctly by checking that the live CD disk is now listed as the first device on the list.

Booting from live CD

You can then start the server and boot into your new live CD OS!

Depending on the live CD you might need to log into the server with either the Web Console at your UpCloud control panel or using a VNC connection. You can find more information about how to use these methods in our guide about Connecting to Your Server.