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

Posted by Erika Tynn on March 07, 2020 · 4 mins read

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

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

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

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
    
  2. Start setup-alpine.
    localhost:~# setup-alpine
    
  3. us is usually a good choice.
    Select keyboard layout: [none]: us
    
  4. us is usually a good choice.
    Select variant []: us
    
  5. I named my system myalpine.
    Enter system hostname (short form, e.g. 'foo') [localhost]: myalpine
    
  6. Accept the default eth0.
    Which one do you want to initiatize? (or '?' or 'done') [eht0]
    
  7. Accept the default dhcp. Or enter an IP address (and subnet mask) if you want.
    Ip address for eth0? (or 'dhcp', 'none', '?') [dhcp]
    
  8. 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]
    
  9. Enter and re-enter your password.
    New password:
    Retype password:
    
  10. I used Singapore. Choose whatever timezone you want.
    Which timezone are you in? ('?' for list) [UTC] Singapore
    
  11. 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]
    
  12. Accept the default chrony.
    Which NTP client to run? ('busybox', 'openntpd', 'chrony', or 'none') [chrony]
    
  13. 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
    
  14. Accept the default openssh.
    Which SSH server? ('openssh', 'dropbear', or 'none') [openssh]
    
  15. Enter sda.
    Which disk(s) would you like to use? (or '?' for help or 'none') [none] sda
    
  16. Enter sys.
    How would you like to use it? ('sys', 'data', 'lvm' or '?' for help) [?] sys
    
  17. Enter y.
    WARNING: Erase the above disk(s) and continue? [y/N] y
    
  18. After the disk has been formatted and set up, poweroff the Virtual Machine.
    localhost:~# poweroff