Boot Installer
WARNING
Make sure Secure Boot is disabled when booting the install medium.
For Hyper-V, see here
For physical machines, see the manufacturer's documentation.
Secure Boot can be enabled later for physical machines. It's unnecessary for VMs.
This section is 1.4-1.7 of the Arch Linux Installation Guide.
Boot Install Image
In Hyper-V
- Once again open Hyper-V Manager.
- Select your VM, and click
Settings
- Select
SCSI Controller
on the left - Add a
DVD Drive
- Select
Image file
, and choose the location of the.iso
image you just downloaded - Click
Apply
- Go to
Firmware
- Make the boot order
Hard Drive
first, andDVD Drive
second, and the rest in the bottom - Click
OK
to close the settings - Start your VM and click
Connect
- You should see the boot menu
WARNING
If you don't see anything, double check that you have Secure Boot
disabled
On Physical Machine
With Secure Boot disabled, insert the bootable USB and boot from it.
Enter the Install Medium
Select Arch Linux install medium (x86_64, UEFI)
, which should be the first option, then, Wait until you see the command prompt like
root@archiso ~ #
Connect to internet
TIP
For Ethernet connection, it will automatically work when the cable is plugged in.
For Hyper-V, make sure the external virtual switch is connected to the correct network adapter. See here
To connect to internet using Wi-Fi, run
iwctl
List the Wi-Fi devices
device list
WARNING
We will assume the Wi-Fi device is wlan0
. See the output of device list
to confirm the device name.
If the device is powered off, turn it on
device wlan0 set-property Powered on
Then, initiate a scan (note there will be no output) and list available networks
station wlan0 scan
station wlan0 get-networks
To connect to a network, run the following, and type in the password.
station wlan0 connect <SSID>
Then, exit by
quit
Verify internet connection
First verify that your machine is connected to the local network
ip address
You should see an local address starting with 192.168
indicating that the machine is connected to your local network.
TIP
For Hyper-V, if the connection is not working, you might need to change the network adapter the external virtual switch is connecting to.
Then, verify you have internet connection
ping archlinux.org
Press Ctrl-C
to stop pinging
Setup SSH
With SSH, we can install the system from the device you are reading this guide on. So you can copy and paste commands from this guide to the terminal.
Run passwd
to set a short, temporary password
TIP
This will not be the root password for the OS you are installing. This is the root password for the live environment. Type something simple like change
so you can type it quickly.
Then, on the host system, run
ssh root@<ip-address>
TIP
Replace <ip-address>
with the IP address you got from ip address
Enter the password you just set, and you should now see the same prompt
root@archiso ~ #
WARNING
Keep your new machine/VM running!