{"id":14771,"date":"2022-02-02T06:37:23","date_gmt":"2022-02-02T06:37:23","guid":{"rendered":"https:\/\/linuxways.net\/?p=14771"},"modified":"2022-02-02T06:38:44","modified_gmt":"2022-02-02T06:38:44","slug":"how-to-install-ubuntu-22-04-on-virtual-box","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/how-to-install-ubuntu-22-04-on-virtual-box\/","title":{"rendered":"How to Install Ubuntu 22.04 on Virtual Box"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>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.<\/p>\n<p>In this article, I will provide you with different steps to install the Ubuntu 22.04 server in a virtual box.<\/p>\n<h2>Recommended System Requirements<\/h2>\n<p>The following prerequisites must be met before downloading and installing Ubuntu on Windows 10 using VirtualBox.<\/p>\n<ul>\n<li>Minimum 2 GB system memory<\/li>\n<li>Minimum 40 GB of free hard drive space<\/li>\n<li>Minimum 2 GHz dual-core processor<\/li>\n<li>Reliable internet connection to download virtual box and ubuntu 22.04 server iso file<\/li>\n<\/ul>\n<h2>Download the ubuntu Image<\/h2>\n<p>Downloading an ubuntu 22.04 server <a href=\"https:\/\/cdimage.ubuntu.com\/daily-live\/current\/\">from official site of ubuntu<\/a> (<a href=\"https:\/\/cdimage.ubuntu.com\/daily-live\/current\/\">https:\/\/cdimage.ubuntu.com\/daily-live\/current\/<\/a> )<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1687\" height=\"653\" class=\"wp-image-14772\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-88.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-88.png 1687w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-88-300x116.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-88-1024x396.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-88-768x297.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-88-1536x595.png 1536w\" sizes=\"auto, (max-width: 1687px) 100vw, 1687px\" \/><\/p>\n<p>Your program should prompt you to save the record. Select Save File and snap-on<\/p>\n<h2>Creating a virtual machine on a virtual box<\/h2>\n<p>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.<\/p>\n<ul>\n<li>Name: Name of your os<\/li>\n<li>Machine folder: This is where you stored your virtual machine<\/li>\n<li>Type: Linux<\/li>\n<li>Version: Ubuntu (64-bit)<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1842\" height=\"792\" class=\"wp-image-14773\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-89.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-89.png 1842w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-89-300x129.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-89-1024x440.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-89-768x330.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-89-1536x660.png 1536w\" sizes=\"auto, (max-width: 1842px) 100vw, 1842px\" \/><\/p>\n<p>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.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"688\" height=\"448\" class=\"wp-image-14774\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-90.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-90.png 688w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-90-300x195.png 300w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><\/p>\n<p>Create your virtual machine&#8217;s virtual hard drive. The virtual hard drive is a part of your PC&#8217;s hard drive space which will be utilised to store your virtual machine&#8217;s files. Accept the default setting of &#8216;Create a virtual hard drive now and press the &#8216;Create&#8217; button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"872\" height=\"493\" class=\"wp-image-14775\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-91.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-91.png 872w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-91-300x170.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-91-768x434.png 768w\" sizes=\"auto, (max-width: 872px) 100vw, 872px\" \/><\/p>\n<p>Click the &#8216;Next&#8217; button to accept the default &#8216;VDI&#8217; drive file type.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"827\" height=\"570\" class=\"wp-image-14776\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-92.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-92.png 827w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-92-300x207.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-92-768x529.png 768w\" sizes=\"auto, (max-width: 827px) 100vw, 827px\" \/><\/p>\n<p>To improve performance, change the storage type from &#8216;Dynamically allocated&#8217; to &#8216;Fixed size.&#8217;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"848\" height=\"529\" class=\"wp-image-14777\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-93.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-93.png 848w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-93-300x187.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-93-768x479.png 768w\" sizes=\"auto, (max-width: 848px) 100vw, 848px\" \/><\/p>\n<p>After that, you may choose how much space your virtual machine will take up on your hard drive.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"935\" height=\"536\" class=\"wp-image-14778\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-94.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-94.png 935w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-94-300x172.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-94-768x440.png 768w\" sizes=\"auto, (max-width: 935px) 100vw, 935px\" \/><\/p>\n<p>After clicking on create button, virtual machine is initialized<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1843\" height=\"781\" class=\"wp-image-14779\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-95.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-95.png 1843w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-95-300x127.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-95-1024x434.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-95-768x325.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-95-1536x651.png 1536w\" sizes=\"auto, (max-width: 1843px) 100vw, 1843px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"787\" height=\"610\" class=\"wp-image-14780\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-96.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-96.png 787w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-96-300x233.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-96-768x595.png 768w\" sizes=\"auto, (max-width: 787px) 100vw, 787px\" \/><\/p>\n<p>In the optical drive you can browse the downloaded iso file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1356\" height=\"417\" class=\"wp-image-14781\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-97.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-97.png 1356w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-97-300x92.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-97-1024x315.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-97-768x236.png 768w\" sizes=\"auto, (max-width: 1356px) 100vw, 1356px\" \/><\/p>\n<p>Now you can start a virtual machine<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1815\" height=\"771\" class=\"wp-image-14782\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-98.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-98.png 1815w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-98-300x127.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-98-1024x435.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-98-768x326.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-98-1536x652.png 1536w\" sizes=\"auto, (max-width: 1815px) 100vw, 1815px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"970\" height=\"479\" class=\"wp-image-14783\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-99.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-99.png 970w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-99-300x148.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-99-768x379.png 768w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/p>\n<p>Ubuntu will prompt you with a series of questions. Click the &#8216;Continue&#8217; button if the default settings are OK.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"867\" height=\"700\" class=\"wp-image-14784\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-100.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-100.png 867w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-100-300x242.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-100-768x620.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-100-150x120.png 150w\" sizes=\"auto, (max-width: 867px) 100vw, 867px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"834\" height=\"708\" class=\"wp-image-14785\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-101.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-101.png 834w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-101-300x255.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-101-768x652.png 768w\" sizes=\"auto, (max-width: 834px) 100vw, 834px\" \/><\/p>\n<p>Select &#8220;Erase disk and install Ubuntu&#8221; in the &#8220;Erase disk and install Ubuntu&#8221; drop-down menu. This may seem alarming, but rest assured that nothing on your computer will be lost.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"829\" height=\"701\" class=\"wp-image-14786\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-102.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-102.png 829w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-102-300x254.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-102-768x649.png 768w\" sizes=\"auto, (max-width: 829px) 100vw, 829px\" \/><\/p>\n<p>In the &#8216;Who are you?&#8217; discourse, enter your name, username, and secret phrase. Note that this client will have root\/sudo honor. Click the &#8216;continue&#8217; button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"834\" height=\"695\" class=\"wp-image-14787\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-103.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-103.png 834w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-103-300x250.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-103-768x640.png 768w\" sizes=\"auto, (max-width: 834px) 100vw, 834px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"865\" height=\"638\" class=\"wp-image-14788\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-104.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-104.png 865w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-104-300x221.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-104-768x566.png 768w\" sizes=\"auto, (max-width: 865px) 100vw, 865px\" \/><\/p>\n<p>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 &#8220;VirtualBox Guest Additions\u201d settings.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"826\" height=\"621\" class=\"wp-image-14789\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-105.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-105.png 826w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-105-300x226.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-105-768x577.png 768w\" sizes=\"auto, (max-width: 826px) 100vw, 826px\" \/><\/p>\n<p>The installation procedure is now complete. You may now use Ubuntu alongsidewithout having to create a dual boot system.<\/p>\n<h2>Conclusion<\/h2>\n<p>This article gives you an idea on Step by step installation of the Ubuntu 22.04 server in a virtual box. Thank you reading.<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction 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&hellip;<\/p>","protected":false},"author":1,"featured_media":14798,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[892,108],"class_list":["post-14771","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-ubuntu-22-04","tag-virtualbox"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/14771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=14771"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/14771\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/14798"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=14771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=14771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=14771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}