A virtual box is a software or environment that allows you to install an operating system on the virtual hard disk which provides the same functionality as physical hardware. For example, you can run Linux and Windows operating systems on your mac and Windows and mac operating system on your Linux operating system with the help of a virtual box. In simple words, you can run multiple OS on a single physical device.
In this article, I will provide you with different steps to install the Ubuntu 22.04 server in a virtual box.
The following prerequisites must be met before downloading and installing Ubuntu on Windows 10 using VirtualBox.
Downloading an ubuntu 22.04 server from official site of ubuntu (https://cdimage.ubuntu.com/daily-live/current/ )
Your program should prompt you to save the record. Select Save File and snap-on
After downloading the iso image of ubuntu 22.04, open the virtual box. Click new to create a virtual machine. Fill in the following information and click on next.
And then select an amount of RAM to use. On the following screen, you will actually want to choose how much RAM from your fundamental PC the virtual machine will get to. For my situation, I have 8GB of actual RAM. I like to distribute however much as could reasonably be expected for Ubuntu yet leave some for my fundamental machine. I picked 4096MB for my Ubuntu server.
Create your virtual machine’s virtual hard drive. The virtual hard drive is a part of your PC’s hard drive space which will be utilised to store your virtual machine’s files. Accept the default setting of ‘Create a virtual hard drive now and press the ‘Create’ button.
Click the ‘Next’ button to accept the default ‘VDI’ drive file type.
To improve performance, change the storage type from ‘Dynamically allocated’ to ‘Fixed size.’
After that, you may choose how much space your virtual machine will take up on your hard drive.
After clicking on create button, virtual machine is initialized
In the optical drive you can browse the downloaded iso file.
Now you can start a virtual machine
Ubuntu will prompt you with a series of questions. Click the ‘Continue’ button if the default settings are OK.
Select “Erase disk and install Ubuntu” in the “Erase disk and install Ubuntu” drop-down menu. This may seem alarming, but rest assured that nothing on your computer will be lost.
In the ‘Who are you?’ discourse, enter your name, username, and secret phrase. Note that this client will have root/sudo honor. Click the ‘continue’ button.
The Ubuntu Desktop OS is prepared. You might observe the work area screen is excessively little. Sit back and relax. You can address this effectively with the “VirtualBox Guest Additions” settings.
The installation procedure is now complete. You may now use Ubuntu alongsidewithout having to create a dual boot system.
This article gives you an idea on Step by step installation of the Ubuntu 22.04 server in a virtual box. Thank you reading.
Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications including CCNA RS, SCP, and ACE. As an IT engineer and technical author, he writes for various websites.
Our latest Canonical website rebrand did not just bring the new Vanilla-based frontend, it also…
At Canonical, the work of our teams is strongly embedded in the open source principles…
Welcome to the Ubuntu Weekly Newsletter, Issue 873 for the week of December 29, 2024…
Have WiFi troubles on your Ubuntu 24.04 system? Don’t worry, you’re not alone. WiFi problems…
The following is a post from Mark Shuttleworth on the Ubuntu Discourse instance. For more…
I don’t like my prompt, i want to change it. it has my username and…