VirtualBox

How to Set Up Clear Linux on a Virtual Machine?

This is a short tutorial on how to set up a Clear Linux Project on a virtual machine via a virtual box.

The Clear Linux OS refers to different distributions currently in development by the Clear Linux Project for Intel Architecture. Its OS is going to be an answer to all problems related to cloud computing. Clear Linux OS seeks to maximize the sheer computing power of Intel Architecture technology. ClearOS facilitates a wide spectrum of uses, with extra prioritization towards optimizing the power and performance efficiency of the system.

Clear Linux Features Highlights

To summarize the latest:

  • The factory reset option enables the user to start customizing the system as soon as it’s done rebooting.
  • Intel Virtualization Technology in use to strengthen the security of the clear containers.
  • Introduction of Cloud Integrated Advanced Orchestrator (ciao), which helps schedule workload efficiently addressing the limitations.
  • Quality issues addressed by Clear Linux for Intel Architecture.
  • Auto-detection and elimination of quality deficiencies via telemetry solution.
  • Clear Linux is the only Linux Distribution to date that supports auto proxy.
  • Its AutoFDO performs optimizations based on user/software input by an intricate profiling method.
  • Clear Linux includes FMV, a sleek compiler utility that can translate given code to a variety of different architectures and picks out the version most compatible with the architecture when it’s launched.

Installing Clear Linux on a Virtual Machine with VirtualBox

Read this section to see how to install Clear Linux on Virtual Machines.

Create a VM in VirtualBox

$ wget https://cdn.download.clearlinux.org/releases/33030/clear/x86_64/os/Packages/gcc7-7.5.0-440.x86_64.rpm

$ sudo apt install alien git curl

$ sudo apt install gcc-7

First, use the command below to get the most recently updated live version.

Next, churn up the settings for a new virtual machine, and set the settings as follows:

  1. Set the Os type to Linux.
  2. Select version Linux 2.6/3.x /4.x (64-bit) from the drop-down.
  3. Choose the option to create the virtual machine with an existing virtual hard drive.
  4. Head over to the system settings and turn on the EFI support.

Now you’re all set to start using Clear Linux!

Clear Linux OS Configuration

Launch Clear Linux OS!

Since it’s your first time, you’ll be prompted to enter the user credentials.

Once you’re done with the passwords and credentials, make a couple of configurations which we have discussed below.

Issue this command to fetch and set up the modules for VirtualBox:

$ swupd bundle-add kernel-lts

Enter the timeout and go to the boot manager and enter a timeout value:

$ clr-boot-manager set-timeout 10

Upgrade the entries for bootloader with this command:

$ clr-boot-manager update

Then, restart the system to save changes:

$ reboot

Wait, and when prompted, select the LTS kernel version.

Update boot manager to use always. Make the LTS version default and update the boot manager with the following command:

$ clr-boot-manager update

Next, add the sysadmin-basic addition:

$ swupd bundle-add sysadmin-basic

$ install-vbox-lga

Perform a reset on your device:

$ reboot

Select the GUI for Clear Linux and launch as follows:

$ swupd bundle-add os-utils-GUI

$ startxfce4

Conclusion

Since Clear Linux is a stateless system, it is very conveniently installed, customized, and updated, equally so on virtual machines.

This tutorial illustrated setting up and configuring clear Linux on a VM using Virtualbox. If you followed the instructions here closely, the method should work out for you just fine.

About the author

Younis Said

I am a freelancing software project developer, a software engineering graduate and a content writer. I love working with Linux and open-source software.

Leave a Comment