<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ayrat162</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ayrat162"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Ayrat162"/>
	<updated>2026-05-02T09:38:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Installing_Alpine_in_a_virtual_machine&amp;diff=29340</id>
		<title>Installing Alpine in a virtual machine</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Installing_Alpine_in_a_virtual_machine&amp;diff=29340"/>
		<updated>2025-03-17T09:39:49Z</updated>

		<summary type="html">&lt;p&gt;Ayrat162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page will walk you through how to setup a virtual machine for AlpineLinux installation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= VirtualBox =&lt;br /&gt;
&lt;br /&gt;
This guide describes a standard install of Alpine within a Virtual Box VM. (virtual machine)&lt;br /&gt;
&lt;br /&gt;
Oracle VM [https://virtualbox.org VirtualBox] runs one or more virtual x86 or x64 guests on a host computer.&amp;lt;BR&amp;gt;&lt;br /&gt;
This enables you to install and test Alpine on your main computer almost as you would any other program.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
== Install Virtual Box on host ==&lt;br /&gt;
&lt;br /&gt;
First you&#039;ll need to download and install Virtual Box on your host computer. Either from the official homepage (for Windows, OS X or Solaris) or from your distribution’s repository (for Linux). &lt;br /&gt;
&lt;br /&gt;
Virtual Box consists of two components: &lt;br /&gt;
&lt;br /&gt;
* VirtualBox platform package&lt;br /&gt;
* Oracle VM VirtualBox Extension Pack&lt;br /&gt;
&lt;br /&gt;
Install both and start VirtualBox to check for proper operation. If you have problems, consult the VirtualBox user manual or one of the support sites for Virtual Box.&lt;br /&gt;
&lt;br /&gt;
== Download Alpine ==&lt;br /&gt;
&lt;br /&gt;
Download the [https://www.alpinelinux.org/downloads/ Virtual Alpine ISO], which is optimized for virtual systems, from the Alpine Download section. Save it in a location where you can find it easily. &lt;br /&gt;
&lt;br /&gt;
== Setting up virtual PC ==&lt;br /&gt;
&lt;br /&gt;
Start Virtual Box. You will see a mostly empty window with a couple symbols in the upper left corner. The leftmost icon is a multi pointed star. If you hover your mouse over it, the tooltip will say “New”. &lt;br /&gt;
&lt;br /&gt;
Click on the multi pointed star to create a new machine. A window will pop up, asking you some questions about the virtual (guest) computer you want to create.&lt;br /&gt;
&lt;br /&gt;
# Name: Choose anything you like. e.g. “Alpine”.&lt;br /&gt;
# Type: Linux&lt;br /&gt;
# Version: Other Linux, either 64 bit or 32 bit. Choose 64 bit if you downloaded the x86_64 Alpine-ISO, or 32 bit if you downloaded the x86 Alpine-ISO.&lt;br /&gt;
# Use the default values for the other questions, simply click “next” or “create” until the dialogue finishes.&lt;br /&gt;
&lt;br /&gt;
You will see a new entry in Virtual Box, called Alpine (or the name you chose during step 1 in the dialogue above). Click on it for more information about your guest.&lt;br /&gt;
&lt;br /&gt;
One of the entries should read Mass storage, and offer an IDE controller with a primary master (the virtual hard disc) and a secondary master (the virtual optical drive). &lt;br /&gt;
&lt;br /&gt;
Click on the secondary master. A context menu will pop up. Select the entry “choose image” and open the Alpine ISO you downloaded earlier.&lt;br /&gt;
&lt;br /&gt;
Once that is done, click on the green start arrow on the menu bar.&lt;br /&gt;
&lt;br /&gt;
== Install Alpine on the virtual computer ==&lt;br /&gt;
&lt;br /&gt;
Follow the steps described in the [[Installation#Installation_Handbook|Installation Handbook]], just as if you were installing Alpine on a real PC.&lt;br /&gt;
&lt;br /&gt;
{{Tip|Do not reboot your virtual box after the installation. Instead, shut down the virtual machine, remove the Alpine ISO from the virtual optical drive, then restart the virtual machine.}}&lt;br /&gt;
&lt;br /&gt;
== Install drivers for Virtual Box ==&lt;br /&gt;
&lt;br /&gt;
Once you successfully reboot into the Alpine VM, there are two steps left:&lt;br /&gt;
&lt;br /&gt;
# Enable the [[Repositories#Enabling_the_community_repository|Community Repository]]&lt;br /&gt;
# Enable [[VirtualBox_shared_folders|VirtualBox shared folders]]&lt;br /&gt;
&lt;br /&gt;
These two steps install all drivers that other programs might request, and activate several comfort functions.&lt;br /&gt;
&lt;br /&gt;
{{Note|The Virtualbox webcam driver is not present in the kernel provided with the Virtual Alpine ISO. To use the webcam whilst keeping the installation footprint small, install the &amp;lt;code&amp;gt;linux-firmware-none&amp;lt;/code&amp;gt; package using &amp;lt;b&amp;gt;apk&amp;lt;/b&amp;gt;, then install the &amp;lt;code&amp;gt;linux-lts&amp;lt;/code&amp;gt; package to download a kernel with the appropriate drivers without pulling in hundreds of MB of uneeded firmware files. Uninstall the &amp;lt;code&amp;gt;linux-virt&amp;lt;/code&amp;gt; package and reboot to use the new kernel.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= KVM / QEMU =&lt;br /&gt;
{{Main|QEMU#Install Alpine Linux in QEMU}}&lt;br /&gt;
{{:Install_Alpine_in_QEMU}}&lt;br /&gt;
&lt;br /&gt;
= VMware =&lt;br /&gt;
&lt;br /&gt;
See instructions for installing Alpine on [[Install_Alpine_on_VMware|VMware]] and [[Install_Alpine_on_VMware_ESXi|VMware ESXi]].&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installation]]&lt;br /&gt;
* [[Installation#Post-Install|Post Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>Ayrat162</name></author>
	</entry>
</feed>