Install Alpine on VMware Workstation: Difference between revisions

From Alpine Linux
(replace the floppy with minimal disk image since floppy no longer are supported)
(Clarify pax_nouderef)
Line 13: Line 13:
## lbu ci usb
## lbu ci usb


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. <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 />


Now you should be able to reboot and it should retain your settings because they were saved to your "usb"-disk.
Now you should be able to reboot and it should retain your settings because they were saved to your "usb"-disk.

Revision as of 16:07, 4 October 2017

  1. Create a virtual machine (linux, other 3.x kernel 64 bit)
    1. add a minimal hard drive, 100MB for saving configs, (like an usb stick)
    2. add a cdrom to the vm that points to the alpine iso you downloaded (alpine-virt x86_64)
  2. boot into the vm
  3. press f2 on boot to enter the BIOS
    1. 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/sda
    2. mount /dev/sda /media/usb (Or try: mount -t vfat /dev/sda /media/usb)
    3. grep /dev/sda /proc/mounts >> /etc/fstab
    4. setup-alpine (select no disk, save configs to 'usb')
    5. lbu ci usb

If the VM hangs at the boot prompt, reboot the VM, and when the boot prompt appears again, type pax_nouderef (i.e. append it to the kernel options) 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 "usb"-disk.

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