<?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=Pernat1y</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=Pernat1y"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Pernat1y"/>
	<updated>2026-04-26T17:41:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Install_Alpine_on_VMware_ESXi&amp;diff=21552</id>
		<title>Install Alpine on VMware ESXi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Install_Alpine_on_VMware_ESXi&amp;diff=21552"/>
		<updated>2022-02-03T15:45:40Z</updated>

		<summary type="html">&lt;p&gt;Pernat1y: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
= Preparation =&lt;br /&gt;
&lt;br /&gt;
This Guide assumes you are using the latest (as of this writing, ESXi 6.7) host client on a free install of ESXi, not the VSphere client.  Options may be slightly different for that client.&lt;br /&gt;
&lt;br /&gt;
== Download Alpine and upload to a reachable Datastore ==&lt;br /&gt;
For this guide, I used the latest Virtual Images, which at the time was, 3.10.2&lt;br /&gt;
&lt;br /&gt;
== Create VM Options ==&lt;br /&gt;
# Name: Choose any name you like&lt;br /&gt;
# Compatibility: Linux&lt;br /&gt;
# Guest OS Version: Select &#039;&#039;Other 5.x or later Linux (64-bit)&#039;&#039; if you downloaded the x86_64 Alpine-ISO, or &#039;&#039;Other 5.x or later Linux (32-bit)&#039;&#039; if you downloaded the x86 Alpine-ISO.&lt;br /&gt;
&lt;br /&gt;
== Edit VM Settings once Created ==&lt;br /&gt;
The default alpine linux iso images only boot from bios, not the ESXi default of UEFI for Linux 4.0+ hosts. To get around this limitation, you have three options:&lt;br /&gt;
# Change the VM to use Bios Boot&lt;br /&gt;
## Make sure the VM is powered off.  (If it is on, you will not be able to change boot options, and your save will fail.)&lt;br /&gt;
## Right click on the VM, and select Edit Settings&lt;br /&gt;
## Select VM Options&lt;br /&gt;
## Under Boot Options &amp;gt; Firmware, select bios&lt;br /&gt;
## Click save.&lt;br /&gt;
# You could create a new ISO image following the [[Create_UEFI_seureboot_USB]] guide (outside the scope of this guide)&lt;br /&gt;
# You can change the VM Compatability options to &#039;&#039;Other Linux (64-bit)&#039;&#039; but you loose the VMXNET and SR-IOV Passthrough NIC options (helpful for a virtualized firewall) and are limited to the E1000 NIC driver which has been known to drop network connectivity.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
Install Alpine Linux. I used the default setup-alpine script &lt;br /&gt;
&lt;br /&gt;
= Post-Install =&lt;br /&gt;
== Install and enable Open-VM-Tools ==&lt;br /&gt;
&lt;br /&gt;
# Enable the Community repo&lt;br /&gt;
using root/sudo/wheel privileges, edit /etc/apk/repos and un-comment the community repo&lt;br /&gt;
# Install {{Pkg|open-vm-tools}}&lt;br /&gt;
{{Cmd | apk add --update open-vm-tools }}&lt;br /&gt;
# Start and enable at boot. As of this writing the open-rc scripts are included in the base open-vm-tools package instead of a separate -openrc package.&lt;br /&gt;
{{Cmd | /etc/init.d/open-vm-tools start&lt;br /&gt;
rc-update add open-vm-tools}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>Pernat1y</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Install_Alpine_on_VMware_Workstation&amp;diff=19613</id>
		<title>Install Alpine on VMware Workstation</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Install_Alpine_on_VMware_Workstation&amp;diff=19613"/>
		<updated>2021-06-20T10:15:27Z</updated>

		<summary type="html">&lt;p&gt;Pernat1y: It is required to disable UEFI secure boot, otherwise VM will not boot from ISO&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There&#039;s at least 2 ways you can setup Alpine on a VMware box.&lt;br /&gt;
&lt;br /&gt;
== Option 1: sys mode, traditional hard-disk install (preferable for a dev box) ==&lt;br /&gt;
&lt;br /&gt;
# Create a virtual machine (linux, other 3.x kernel 64 bit)&lt;br /&gt;
## add a hard drive, with the size depending on your work&lt;br /&gt;
## add a cdrom to the vm that points to the alpine iso you downloaded (alpine-virt x86_64)&lt;br /&gt;
## disable `UEFI secure boot` in VM options&lt;br /&gt;
# boot into the vm (username: root)&lt;br /&gt;
## run `alpine-install`&lt;br /&gt;
## choose `sys` when asked about the disk mode (this will permanently install Alpine on the disk)&lt;br /&gt;
## choose the default disk mounted by VMware&lt;br /&gt;
## reboot after the installation is complete&lt;br /&gt;
&lt;br /&gt;
== Option 2: USB mode, no data preserved between reboots ==&lt;br /&gt;
&lt;br /&gt;
# Create a virtual machine (linux, other 3.x kernel 64 bit)&lt;br /&gt;
## add a minimal hard drive, 100MB for saving configs, (like an usb stick)&lt;br /&gt;
## add a cdrom to the vm that points to the alpine iso you downloaded (alpine-virt x86_64)&lt;br /&gt;
# boot into the vm&lt;br /&gt;
# press f2 on boot to enter the BIOS &lt;br /&gt;
## change the boot order so that it boots from cd, then hd, then floppy (or whatever - as long as cd is first)&lt;br /&gt;
# boot the machine&lt;br /&gt;
# now run the following commands:&lt;br /&gt;
## mkfs.vfat /dev/sda&lt;br /&gt;
## mount /dev/sda /media/usb (Or try: mount -t vfat /dev/sda /media/usb)&lt;br /&gt;
## grep /dev/sda /proc/mounts &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
## setup-alpine (select no disk, save configs to &#039;usb&#039;)&lt;br /&gt;
## lbu ci usb&lt;br /&gt;
&lt;br /&gt;
If the VM hangs at the boot prompt, reboot the VM, and when the boot prompt appears again, type &amp;lt;tt&amp;gt;pax_nouderef&amp;lt;/tt&amp;gt; (i.e. append it to the kernel options) and press Enter.  This should allow normal boot-up. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you should be able to reboot and it should retain your settings because they were saved to your &amp;quot;usb&amp;quot;-disk.&lt;br /&gt;
&lt;br /&gt;
== VMware Tools ==&lt;br /&gt;
&lt;br /&gt;
More info on this page: [[Open-vm-tools]]&lt;br /&gt;
&lt;br /&gt;
For VMware Tools support you need to install the package [https://pkgs.alpinelinux.org/package/edge/main/x86_64/open-vm-tools open-vm-tools].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>Pernat1y</name></author>
	</entry>
</feed>