Step-By-Step Guide to Install Alpine Linux in Hyper-V (Part 2)

Prepare ISO

  1. Download Alpine Linux ISO.
  2. Choose the Virtual version.
  3. I used this version for this blog.
  4. Attach the ISO to the DVD Drive.
  5. Start the Virtual Machine.

Initial Boot

  1. Login as root.
localhost login: root
  1. Start setup-alpine.
localhost:~# setup-alpine
  1. us is usually a good choice.
Select keyboard layout: [none]: us
  1. us is usually a good choice.
Select variant []: us
  1. I named my system myalpine.
Enter system hostname (short form, e.g. 'foo') [localhost]: myalpine
  1. Accept the default eth0.
Which one do you want to initiatize? (or '?' or 'done') [eht0]
  1. Accept the default dhcp. Or enter an IP address (and subnet mask) if you want.
IP address for eth0? (or 'dhcp', 'none', '?') [dhcp]
  1. This is used for entering IPv6 information. I don't need this. So I accept the default no.
Do you want to do any manual network configuration? [no]
  1. Enter and re-enter your password.
New password:
Retype password:
  1. I used Singapore. Choose whatever timezone you want.
Which timezone are you in? ('?' for list) [UTC] Singapore
  1. This should be none, unless you need to use a HTTP/FTP to access the Internet.
HTTP/FTP proxy URL? (e.g.'http://proxy:8080', or 'none') [none]
  1. Accept the default chrony.
Which NTP client to run? ('busybox', 'openntpd', 'chrony', or 'none') [chrony]
  1. I find 27 (mirror.xtom.com.hk) to be a good mirror at where I am.
Enter mirror number (1-46) or URL to add (or r/f/e/done) [1] 27
  1. Accept the default openssh.
Which SSH server? ('openssh', 'dropbear', or 'none') [openssh]
  1. Enter sda.
Which disk(s) would you like to use? (or '?' for help or 'none') [none] sda
  1. Enter sys.
How would you like to use it? ('sys', 'data', 'lvm' or '?' for help) [?] sys
  1. Enter y.
WARNING: Erase the above disk(s) and continue? [y/N] y
  1. After the disk has been formatted and set up, poweroff the Virtual Machine.
localhost:~# poweroff