Install Alpine on VMware Workstation: Difference between revisions

From Alpine Linux
(Remove Category:Installation)
(mention open-vm-tools for VMware tools equivalent)
Line 17: Line 17:


Now you should be able to reboot and it should retain your settings because they were saved to your floppy.
Now you should be able to reboot and it should retain your settings because they were saved to your floppy.
For VMware Tools support you need to install the package [http://pkgs.alpinelinux.org/package/main/x86/open-vm-tools open-vm-tools].


[[Category:Virtualization]]
[[Category:Virtualization]]

Revision as of 12:44, 8 May 2015

  1. Create a virtual machine (linux, other 2.6 32 bit)
    1. the vm doesn't need a hard drive
    2. add a cdrom to the vm that points to the alpine iso you downloaded
    3. add a floppy (choose new floppy image and give it a file name to create a fake floppy image on your machine)
  2. boot into the vm
  3. press f2 on boot to enter the BIOS
    1. warning: this can be a real timing trick. I had to disconnect the cd and floppy and try several times to get into the bios screen before it started trying to network boot
    2. change the boot order so that it boots from cd, then hd, then floppy (or whatever - as long as cd is first)
  4. boot the machine
  5. now run the following commands:
    1. mkfs.vfat /dev/fd0
    2. mount /dev/fd0 /media/floppy
    3. setup-alpine
    4. lbu ci floppy

If the VM hangs at the boot prompt, reboot the VM, and when the boot prompt appears again, type "grsec pax_nouderef" and press Enter. This should allow normal boot-up.

Now you should be able to reboot and it should retain your settings because they were saved to your floppy.

For VMware Tools support you need to install the package open-vm-tools.