How to Install Ubuntu in Windows 11 using VirtualBox?

If you are an engineer, I am sure you will definitely encounter a situation where you will need to work on multiple operating systems. One way to install more than one operating system is dual booting your computer, but this can be difficult for a beginner. The most recommended and easiest method is installing Oracle Virtual Box. Virtual Machines abstract the hardware of our personal computers such as CPU, disk drives, memory, NIC (Network Interface Card), etc, into many different execution environments as per our requirements, hence giving us a feeling that each execution environment is a single computer. For example, VirtualBox.

ubuntu, desktop, operating system-3344434.jpg

Downloading and Installing VirtualBox

To use Ubuntu along with Windows, one must have VirtualBox installed on their machine. For the installation of VirtualBox, follow the steps given below:

  1. First of all, you need to download the Virtual Box installer. Click here, and you will be redirected to the official download page of Virtual Box. Download the binary version for Windows hosts.
  1. Run the executable file as soon as the download completes.
  2. A custom setup dialog box will be displayed after starting the executable file, do Next–>Next–>Yes –>Yes –>Install –>Finish

After that, Virtual Box should be installed on your computer. Now, you can easily install the operating system of your choice by launching the Virtual Box.

Downloading and Installing Ubuntu

Before we begin with the installation process, we need to download the ISO file for Ubuntu. For that, all the versions of Ubuntu are available on the official site ubuntu.com

Ubuntu

After the downloading is over, you can install Ubuntu on VirtualBox with the help of the following instructions:

  1. Create a new virtual machine

Click New to create a new virtual machine. Fill in the appropriate details:

Virtual Box
  • Name: If you include the word Ubuntu in your name the Type and Version will auto-update.
  • Machine Folder: This is where your virtual machines will be stored so you can resume working on them whenever you like.
  • ISO Image: Here you need to add a link to the ISO you downloaded from the Ubuntu website.
Virtual Box

We want to install Ubuntu unattendedly so we can leave the checkbox to skip unchecked.

2. Create a user profile

To enable the automatic install we need to prepopulate our username and password here in addition to our machine name so that it can be configured automatically during the first boot.

The default credentials are:

  • Username: vboxuser
  • Password: changeme

Ensure your Hostname has no spaces to proceed!

Virtual Box installing Ubuntu

It is also recommended to check the Guest Additions box to install the default Guest Additions ISO that is downloaded as part of VirtualBox. Guest additions enable a number of quality-of-life features such as changing resolution and dynamic screen resizing so it is highly recommended!

3. Define the Virtual Machine’s resources

In the next section, we can specify how much of our host machine’s memory and processors the virtual machine can use. For good performance, it’s recommended to provide your VM with around 8GB of RAM (although 4GB will still be usable) and 2 or 4 CPUs. Try to remain in the green areas of each slider to prevent issues with your machine running both the VM and the host OS.

Virtual Box memory allocation

Then we need to specify the size of the hard disc for the virtual machine. For Ubuntu, we recommend around 25 GB as a minimum. By default, the hard disk will scale dynamically as more memory is required up to the defined limit. If you want to pre-allocate the full amount, check the ‘Pre-allocate Full Size’ check box. This will improve performance but may take up unnecessary space.

Virtual Box memory allocation

Click Next to continue and view a summary of your machine setting.

Virtual Machine

After this click Finish to initialize the machine!

3. Install your image

Click Start to launch the virtual machine.

New Virtual Machine

You will see a message saying ‘Powering VM up …’ and your desktop window will appear.

On the first boot, the unattended installation will kick in so do not interact with the prompt to ‘Try and Install Ubuntu’ and let it progress automatically to the splash screen and into the installer.

Ubuntu Installation

Once the installation completes, the machine will automatically reboot to complete the installation.

Ubuntu

Finally, you will be greeted with the Ubuntu log-in screen where you can enter your username and password defined during the initial setup (don’t forget that the default password is ‘changeme’ if you left everything as the default).

Ubuntu

Related Posts

How to Transfer Files From iPad/iPhone to Windows PC

Transferring files from an iPad or iPhone to a Windows PC might seem daunting at first, but with the right tools and hacks, it’s a breeze! In…

How to Transfer Files From Windows PC to iPad/iPhone

Transferring files from a Windows PC to an iPad or iPhone might seem daunting at first, but with the right tools and hacks, it’s a breeze! In…

How to install the MinGW compiler in windows?

To compile C/C++ programs, you need to install the MinGW compiler. Follow the steps given below: Step 1: Download the MinGW by clicking here. Step 2: Open the…

How To Password Protect Any Folder In Your Computer Without Using Any Third-Party Software?

আমি আপনাদের এমন একটি উপায় বলব যার সাহায্যে আপনারা আপনাদের কম্পিউটার (উইন্ডোস 10) -এর কোনো ফোল্ডার কে সহজেই পাসওয়ার্ড দিয়ে সুরক্ষিত করতে পারবেন কোনো থার্ড পার্টি সফটওয়্যার…

Leave a Reply

Your email address will not be published. Required fields are marked *