change wifi

main
hau 2020-08-11 13:05:09 +07:00
parent 37143c7e76
commit 09564eb6da
1 changed files with 28 additions and 2 deletions

View File

@ -22,10 +22,24 @@ dd bs=4M if=path/to/archlinux.iso of=/dev/sdx status=progress oflag=sync
### Connect to the internet
Enable wifi:
Read [iwd/iwctl](https://wiki.archlinux.org/index.php/Iwd#iwctl):
```sh
wifi-menu
iwctl
```
Inside `iwctl`:
```txt
device list
# Change device to real device
station device scan
station device get-networks
# Change SSID to real SSID
station device connect SSID
```
### Partition the disks
@ -52,6 +66,18 @@ mkfs.fat -F32 /dev/xxxY
mkfs.ext4 /dev/xxxY
```
Mount:
```sh
mount /dev/xxxY /mnt
mkdir -p /mnt/boot
mount /dev/xxxY /mnt/boot
mkdir -p /mnt/home
mount /dev/xxxY /mnt/home
```
### Boot loader
[systemd-boot](https://wiki.archlinux.org/index.php/Systemd-boot)