https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&user=Shatrov&feedformat=atomAlpine Linux - User contributions [en]2024-03-28T15:08:14ZUser contributionsMediaWiki 1.40.0https://wiki.alpinelinux.org/w/index.php?title=Install_Alpine_on_VMware_Workstation&diff=16017Install Alpine on VMware Workstation2019-06-20T16:31:26Z<p>Shatrov: </p>
<hr />
<div>There's at least 2 ways you can setup Alpine on a VMware box.<br />
<br />
== Option 1: sys mode, traditional hard-disk install (preferable for a dev box) ==<br />
<br />
# Create a virtual machine (linux, other 3.x kernel 64 bit)<br />
## add a hard drive, with the size depending on your work<br />
## add a cdrom to the vm that points to the alpine iso you downloaded (alpine-virt x86_64)<br />
# boot into the vm (username: root)<br />
## run `alpine-install`<br />
## choose `sys` when asked about the disk mode (this will permanently install Alpine on the disk)<br />
## choose the default disk mounted by VMware<br />
## reboot after the installation is complete<br />
<br />
== Option 2: USB mode, no data preserved between reboots ==<br />
<br />
# Create a virtual machine (linux, other 3.x kernel 64 bit)<br />
## add a minimal hard drive, 100MB for saving configs, (like an usb stick)<br />
## add a cdrom to the vm that points to the alpine iso you downloaded (alpine-virt x86_64)<br />
# boot into the vm<br />
# press f2 on boot to enter the BIOS <br />
## change the boot order so that it boots from cd, then hd, then floppy (or whatever - as long as cd is first)<br />
# boot the machine<br />
# now run the following commands:<br />
## mkfs.vfat /dev/sda<br />
## mount /dev/sda /media/usb (Or try: mount -t vfat /dev/sda /media/usb)<br />
## grep /dev/sda /proc/mounts >> /etc/fstab<br />
## setup-alpine (select no disk, save configs to 'usb')<br />
## lbu ci usb<br />
<br />
If the VM hangs at the boot prompt, reboot the VM, and when the boot prompt appears again, type <tt>pax_nouderef</tt> (i.e. append it to the kernel options) and press Enter. This should allow normal boot-up. <br /><br />
<br />
Now you should be able to reboot and it should retain your settings because they were saved to your "usb"-disk.<br />
<br />
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].<br />
<br />
[[Category:Virtualization]]</div>Shatrovhttps://wiki.alpinelinux.org/w/index.php?title=Install_Alpine_on_VMware_Workstation&diff=16016Install Alpine on VMware Workstation2019-06-20T16:30:46Z<p>Shatrov: Documented the sys mode on VMwave</p>
<hr />
<div>There's at least 2 ways you can setup Alpine on a VMware box.<br />
<br />
== Option 1: sys mode, traditional hard-disk install (preferable for a dev box) ==<br />
<br />
# Create a virtual machine (linux, other 3.x kernel 64 bit)<br />
## add a hard drive, with the size depending on your work<br />
## add a cdrom to the vm that points to the alpine iso you downloaded (alpine-virt x86_64)<br />
# boot into the vm (username: root)<br />
## run `alpine-install`<br />
## Choose `sys` when asked about the disk mode (this will permanently install Alpine on the disk)<br />
## Choose the default disk mounted by VMware<br />
<br />
== Option 2: USB mode, no data preserved between reboots ==<br />
<br />
# Create a virtual machine (linux, other 3.x kernel 64 bit)<br />
## add a minimal hard drive, 100MB for saving configs, (like an usb stick)<br />
## add a cdrom to the vm that points to the alpine iso you downloaded (alpine-virt x86_64)<br />
# boot into the vm<br />
# press f2 on boot to enter the BIOS <br />
## change the boot order so that it boots from cd, then hd, then floppy (or whatever - as long as cd is first)<br />
# boot the machine<br />
# now run the following commands:<br />
## mkfs.vfat /dev/sda<br />
## mount /dev/sda /media/usb (Or try: mount -t vfat /dev/sda /media/usb)<br />
## grep /dev/sda /proc/mounts >> /etc/fstab<br />
## setup-alpine (select no disk, save configs to 'usb')<br />
## lbu ci usb<br />
<br />
If the VM hangs at the boot prompt, reboot the VM, and when the boot prompt appears again, type <tt>pax_nouderef</tt> (i.e. append it to the kernel options) and press Enter. This should allow normal boot-up. <br /><br />
<br />
Now you should be able to reboot and it should retain your settings because they were saved to your "usb"-disk.<br />
<br />
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].<br />
<br />
[[Category:Virtualization]]</div>Shatrov