Install Alpine on VMware Workstation: Difference between revisions
mNo edit summary |
(replace the floppy with minimal disk image since floppy no longer are supported) |
||
Line 1: | Line 1: | ||
# Create a virtual machine (linux, other | # Create a virtual machine (linux, other 3.x kernel 64 bit) | ||
## | ## add a minimal hard drive, 100MB for saving configs, (like an usb stick) | ||
## add a cdrom to the vm that points to the alpine iso you downloaded | ## add a cdrom to the vm that points to the alpine iso you downloaded (alpine-virt x86_64) | ||
# boot into the vm | # boot into the vm | ||
# press f2 on boot to enter the BIOS | # press f2 on boot to enter the BIOS | ||
## change the boot order so that it boots from cd, then hd, then floppy (or whatever - as long as cd is first) | ## change the boot order so that it boots from cd, then hd, then floppy (or whatever - as long as cd is first) | ||
# boot the machine | # boot the machine | ||
# now run the following commands: | # now run the following commands: | ||
## mkfs.vfat /dev/ | ## mkfs.vfat /dev/sda | ||
## mount /dev/ | ## mount /dev/sda /media/usb (Or try: mount -t vfat /dev/sda /media/usb) | ||
## setup-alpine | ## grep /dev/sda /proc/mounts >> /etc/fstab | ||
## lbu ci | ## setup-alpine (select no disk, save configs to '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 "grsec pax_nouderef" 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 | 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 [http://pkgs.alpinelinux.org/package/main/x86/open-vm-tools open-vm-tools]. | 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 11:55, 26 July 2017
- Create a virtual machine (linux, other 3.x kernel 64 bit)
- add a minimal hard drive, 100MB for saving configs, (like an usb stick)
- add a cdrom to the vm that points to the alpine iso you downloaded (alpine-virt x86_64)
- boot into the vm
- press f2 on boot to enter the BIOS
- change the boot order so that it boots from cd, then hd, then floppy (or whatever - as long as cd is first)
- boot the machine
- now run the following commands:
- mkfs.vfat /dev/sda
- mount /dev/sda /media/usb (Or try: mount -t vfat /dev/sda /media/usb)
- grep /dev/sda /proc/mounts >> /etc/fstab
- setup-alpine (select no disk, save configs to '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.
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.