From 5cf184ae6c7cb73abc193dad46cdfb5fd944f1ba Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 17 Nov 2018 14:47:40 -0200 Subject: Improve instructions on os-installation.sh. --- nixos/os-installation.sh | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/nixos/os-installation.sh b/nixos/os-installation.sh index bc49cce..9a78372 100644 --- a/nixos/os-installation.sh +++ b/nixos/os-installation.sh @@ -1,24 +1,34 @@ +# Check the devices and it's partitions: +lsblk to check + +# If under /dev/sdc and mounted: sudo umount /dev/sdc1 -sudo dd if=os.iso of=/dev/sdc # + +# Put the OS image on the USB stick: +sudo dd if=nixos.iso of=/dev/sdc # + # Derived from https://www.maketecheasier.com/nixos-review/ # First, get an internet connection, either by using an ethernet cable or using =wpa_supplicant=: # https://wiki.archlinux.org/index.php/WPA_supplicant -# wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase SSID PASSPHRASE) +wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase SSID PASSPHRASE) +# Change keyboard to pt_BR layout: loadkeys br-abnt2 + +# Format disk: fdisk /dev/sda # START Steps within fdisk -# First, delete all partitions with `d` +d # first, delete all partitions with `d` o n p 1 ENTER -+2G ++4G t 82 -- cgit v1.2.3