How to get Microsoft’s CBL-Mariner on VirtualBox

How to get Microsoft’s CBL-Mariner on VirtualBox

This guide is about How to get Microsoft’s CBL-Mariner on VirtualBox. So read this free guide, How to get Microsoft’s CBL-Mariner on VirtualBox step by step. If you have query related to same article you may contact us.

How to get Microsoft’s CBL-Mariner on VirtualBox – Guide

Want to try the new CBL-Mariner Linux distribution from Microsoft? Fortunately, you can easily install it on your system using VirtualBox.

Microsoft has released its own Linux distribution: Common Base Linux Mariner (CBL-Mariner). It’s a general notion that Linux and Windows are arch-rivals, considering the fact that they are constantly trying to win over computer users with their offerings.

The launch of the CBL-Mariner took a lot of people by surprise, but that’s how the tech-dominated world works. Rest assured, Microsoft is not replacing Windows with CBL-Mariner. In fact, CBL-Mariner was designed to help Microsoft’s internal engineering team.

Let’s explore CBL-Mariner in depth and look at the steps to install it on a virtual machine.

What is CBL-Mariner?

Microsoft’s Linux Systems Group created and developed the CBL-Mariner. It’s not just another Linux distribution, it has a higher purpose for Microsoft. CBL’s main objective is to pave the way for the development of cutting-edge Microsoft products and services, in addition to the development of cloud infrastructure.

The operating system source code is licensed under different open source licenses, including the GNU General Public License and the MIT License. It currently exists as a GitHub repository and there is no ISO image to install the OS on your machine. The good news is that you can still use the distribution by creating your own ISO image and installing it on your virtual machine.

CBL-Mariner is not new to the world of technology. Previously, Microsoft used it internally to maintain the Azure cloud infrastructure. Redmond has improved CBL security by hardening the kernel, providing signed updates, using compiler-based protection, tamper-proof logging, and more features.

How to install CBL-Mariner on VirtualBox

Converting the source code to an ISO image is probably the easiest way to get the distribution up and running in a virtual machine. This method includes downloading code from the repository and converting it to an ISO image.

For the purposes of this article, installation was done in VirtualBox, which is a popular virtual machine hypervisor.

Step 1: Download VirtualBox

If you don’t already have VirtualBox installed on your system, you can download it from the website and install it before creating the ISO image.

Step 2: Install required dependencies

Before starting the actual installation, you will need to install some dependencies on your Linux machine. You may already have some of them, but it’s always good to double check.

To install dependencies on a Debian-based distribution like Ubuntu, type the following

Step 3: Cloning the GitHub repository

The next step is to clone the official CBL GitHub repository using the git clone command.

Step 4: Generating the ISO image

After downloading the source code, the next step is to access a specific directory to generate the ISO image. Enter the following commands one by one to create the ISO to boot

The system will generate the ISO file in the / out / images / complete after a successful conversion.

Step 5: Create the virtual machine

The first step is to open VirtualBox. Then click on the New to create a new virtual machine.

After clicking New, a dialog will open. In the name column, type CBL-Mariner as the operating system. At the He writes drop down, select Linux. Also, you must select Other Linux (64 bit) as version.

On the next screen, you need to allocate the memory size for your machine. Ideally, you can allocate 1GB of RAM in this step. If you can allocate more, configure the memory accordingly. However, there is an upper limit, so it’s best to follow the onscreen instructions.

On the next screen, click on the Create a virtual hard drive now option.

so choose Dynamically assigned as the option to Physical Hard Disk Storage.

As soon as you click next, you will come to File Size and Location screen. Enter the path where you would like to save the VDI procedures. In addition, you can also select the size of the virtual hard disk. An ideal size is 10GB of disk space, but you can allocate more if you have enough free storage space on your system.

click in I create to complete the creation of the virtual machine.

Step 6: Configure the Virtual Machine

To configure the virtual machine, you need to click on the newly created virtual machine in the left sidebar. So select CBL-Mariner, followed by Definitions, and finally the Store option. On the Storage tab, click on optical drive and select the ISO file created earlier.

Now you can start the virtual machine with the CBL-Mariner ISO image by clicking on the To start button.

Step 7: Installing CBL-Mariner on Your Virtual Machine

Start installing the ISO file using the graphical installer. Follow the steps provided to proceed with the installation.

Choose the Graphical installer in the list of options at the beginning of the installation.

Choose the CBL-Mariner complete option in the installation window for a complete installation. You can also choose the Main installation option if you don’t want any preloaded packages. The choice won’t make much difference as the system hardly includes packages.

Congratulations! CBL-Mariner is now installed on your machine. Unfortunately, it starts in command line mode, so you’ll have direct access to the terminal window.

From the news

Final note

I hope you like the guide How to get Microsoft’s CBL-Mariner on VirtualBox. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.

We will be happy to hear your thoughts

      Leave a reply