<?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=Yafeng</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=Yafeng"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Yafeng"/>
	<updated>2026-05-05T19:00:31Z</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_Workstation&amp;diff=28993</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=28993"/>
		<updated>2025-02-13T02:48:51Z</updated>

		<summary type="html">&lt;p&gt;Yafeng: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{merge|[[Installing Alpine on a virtual machine]]}}&lt;br /&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 your desired size&lt;br /&gt;
## Add a CD/DVD to the VM that points to the Alpine ISO you downloaded&lt;br /&gt;
## Disable &amp;quot;UEFI secure boot&amp;quot; in Settings -&amp;gt; Advanced&lt;br /&gt;
# Boot the VM and log in with username &amp;quot;root&amp;quot;&lt;br /&gt;
## run &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt;&lt;br /&gt;
## choose &#039;&#039;&#039;sys&#039;&#039;&#039; when asked about the disk mode ([[Installation#System_Disk_Mode|sys mode]] will install Alpine to the disk)&lt;br /&gt;
## choose the default hard 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 small hard drive, e.g. 100MB for saving configs (like an usb stick)&lt;br /&gt;
## Add a CD/DVD to the VM that points to the Alpine ISO you downloaded&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;
## &amp;lt;code&amp;gt;mkfs.vfat /dev/sda&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;mount /dev/sda /media/usb&amp;lt;/code&amp;gt; (Or try: &amp;lt;code&amp;gt;mount -t vfat /dev/sda /media/usb&amp;lt;/code&amp;gt;)&lt;br /&gt;
## &amp;lt;code&amp;gt;grep /dev/sda /proc/mounts &amp;gt;&amp;gt; /etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; (select no disk, save configs to &#039;usb&#039;)&lt;br /&gt;
## &amp;lt;code&amp;gt;lbu ci usb&amp;lt;/code&amp;gt;&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;code&amp;gt;pax_nouderef&amp;lt;/code&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-disk&amp;quot;.&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/community/x86_64/open-vm-tools open-vm-tools].&lt;br /&gt;
&lt;br /&gt;
== Install Alpine on 32-bit vmware virtual machine ==&lt;br /&gt;
&lt;br /&gt;
If you want to install Alpine on 32-bit vmware virtual machine, you need to disable the 3D acceleration function of the vmware virtual machine, otherwise there will be a black screen when loading vmwgfx.&lt;br /&gt;
&lt;br /&gt;
In particular, if you use the virt version of the iso to start a 32-bit vmware virtual machine, the default network card (pcnet32) driver is not included in the system, so you need to modify the vmx file and add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ethernet0.virtualDev = &amp;quot;e1000&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>Yafeng</name></author>
	</entry>
</feed>