<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MechCloud Academy]]></title><description><![CDATA[Tutorials on cloud computing, devops, kubernetes, docker and software engineering from team MechCloud (https://mechcloud.io).]]></description><link>https://mechcloud-1714189818982.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 18 Sep 2026 02:43:33 GMT</lastBuildDate><atom:link href="https://mechcloud-1714189818982.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How to install virtualbox guest additions on ubuntu?]]></title><description><![CDATA[This tutorial assumes that your host operating system is windows 10.

Open https://download.virtualbox.org/virtualbox/<virtualbox_version> in your browser by replacing <virtualbox_version> with the version of virtualbox.

Click on the .iso file for y...]]></description><link>https://mechcloud-1714189818982.hashnode.dev/how-to-install-virtualbox-guest-additions-on-ubuntu</link><guid isPermaLink="true">https://mechcloud-1714189818982.hashnode.dev/how-to-install-virtualbox-guest-additions-on-ubuntu</guid><category><![CDATA[Ubuntu]]></category><category><![CDATA[VirtualBox ]]></category><dc:creator><![CDATA[Akash]]></dc:creator><pubDate>Sat, 20 Jan 2024 18:30:00 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1707538993849/18877173-34c6-49f8-8829-5650e7638b1c.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This tutorial assumes that your host operating system is windows 10.</p>
<ul>
<li><p>Open <a target="_blank" href="https://download.virtualbox.org/virtualbox/%3Cvirtualbox_version%3E"><code>https://download.virtualbox.org/virtualbox/&lt;virtualbox_version&gt;</code></a> in your browser by replacing &lt;virtualbox_version&gt; with the version of virtualbox.</p>
</li>
<li><p>Click on the .iso file for your virtualbox version (e.g. <code>VBoxGuestAdditions_7.0.12.iso</code>) to download it on windows host.</p>
</li>
<li><p>Open Virtualbox UI and press ctrl + D or navigate to <code>File -&gt; Tools -&gt; Virtual Media Manager</code>.</p>
</li>
<li><p>Click on <code>Optical disks</code> tab, right click in the window and select <code>Add...</code> option. Select the downloaded .iso file in one of the previous steps.</p>
</li>
<li><p>Make sure your virtual machine is turned off.</p>
</li>
<li><p>Select your virtual machine in virtualbox and click on <code>Settings</code>.</p>
</li>
<li><p>Select <code>Storage</code> in the left menu, click on + icon against <code>Controller: IDE</code> and select the iso file from virutal media manager.</p>
</li>
<li><p>Start ubuntu vm.</p>
</li>
<li><p>SSH to ubuntu vm, execute <code>blkid</code> command and select the device (e.g. <code>/dev/sr0</code>) from the list which has <code>VBox_GAs</code> in the value of LABEL key –</p>
</li>
<li><p>Start ubuntu vm.</p>
</li>
<li><p>SSH to ubuntu vm, execute <code>blkid</code> command and select the device (e.g. <code>/dev/sr0</code>) from the list which has <code>VBox_GAs</code> in the value of LABEL key -</p>
</li>
</ul>
<pre><code class="lang-bash">/dev/sr0: BLOCK_SIZE=<span class="hljs-string">""</span> UUID=<span class="hljs-string">""</span> LABEL=<span class="hljs-string">"VBox_GAs_7.0.12"</span> TYPE=<span class="hljs-string">"iso9660"</span>
</code></pre>
<ul>
<li>Mount this device to a folder under /mnt folder –</li>
</ul>
<pre><code class="lang-bash">sudo mdkir /mnt/cdrom
sudo mount /dev/sr0 /mnt/cdrom
</code></pre>
<ul>
<li>Execute following commands to install guest additions –</li>
</ul>
<pre><code class="lang-bash">sudo -i
apt install bzip2 tar gcc make perl
<span class="hljs-built_in">cd</span> /mnt/cdrom
sh ./VBoxLinuxAdditions.run
</code></pre>
<ul>
<li>Make sure the output of last command end with following lines (it may show different kernel version in your case) –</li>
</ul>
<pre><code class="lang-bash">VirtualBox Guest Additions: Building the modules <span class="hljs-keyword">for</span> kernel 5.15.0-91-generic.
update-initramfs: Generating /boot/initrd.img-5.15.0-91-generic
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted or <span class="hljs-string">'rcvboxadd reload'</span> triggered
VirtualBox Guest Additions: reloading kernel modules and services
VirtualBox Guest Additions: kernel modules and services 7.0.12 r159484 reloaded
VirtualBox Guest Additions: NOTE: you may still consider to re-login <span class="hljs-keyword">if</span> some
user session specific services (Shared Clipboard, Drag and Drop, Seamless or
Guest Screen Resize) were not restarted automatically
</code></pre>
<ul>
<li><p>Stop ubuntu vm.</p>
</li>
<li><p>Select ubuntu vm in the virtualbox UI, navigate to <code>Settings -&gt; Shared Folders</code> and add a folder from your host here. Here are sample values for a folder <code>c:\folder1</code> –</p>
<ul>
<li><p>Folder path – c:\folder1</p>
</li>
<li><p>Folder name – folder1</p>
</li>
<li><p>Mount point – Leave it blank</p>
</li>
<li><p>Check all <code>Read-Only</code>, <code>Auto-mount</code> and <code>Make Permanent</code> checkbox.</p>
</li>
</ul>
</li>
<li><p>Start ubuntu vm.</p>
</li>
<li><p>To find where ubuntu has mounted has host folder, you can execute following command –</p>
</li>
</ul>
<pre><code class="lang-bash">sudo find / -name *folder1*
</code></pre>
]]></content:encoded></item></channel></rss>