/ updated walk-through
as i am setting up the tuxwarrior
This commit is contained in:
80
README.md
80
README.md
@@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
## step one :: usb drive preparation
|
## step one :: usb drive preparation
|
||||||
|
|
||||||
- download
|
- download iso
|
||||||
- https://archlinux.org/download/
|
- https://archlinux.org/download/
|
||||||
- download signature from main page:
|
- download signature from main page:
|
||||||
- https://archlinux.org/iso/2024.04.01/archlinux-2024.04.01-x86_64.iso.sig
|
- (https://archlinux.org/iso/2024.04.01/archlinux-2024.04.01-x86_64.iso.sig)
|
||||||
- this is also found on the mirror, but i prefer to use the signature from the main site.
|
- this is also found on the mirror, but i prefer to use the signature from the main site.
|
||||||
- https://archmirror1.octyl.net/iso/2024.04.01/archlinux-2024.04.01-x86_64.iso.sig
|
- (https://archmirror1.octyl.net/iso/2024.04.01/archlinux-2024.04.01-x86_64.iso.sig)
|
||||||
- download iso from mirror
|
- download iso from a mirror close by
|
||||||
- https://archmirror1.octyl.net/iso/2024.04.01/
|
- (https://archmirror1.octyl.net/iso/2024.04.01/)
|
||||||
- https://archmirror1.octyl.net/iso/2024.04.01/archlinux-2024.04.01-x86_64.iso
|
- (https://archmirror1.octyl.net/iso/2024.04.01/archlinux-2024.04.01-x86_64.iso)
|
||||||
- verify iso
|
- verify iso
|
||||||
```
|
```
|
||||||
$ gpg --keyserver-options auto-key-retrieve --verify archlinux-2024.04.01-x86_64.iso.sig
|
$ gpg --keyserver-options auto-key-retrieve --verify archlinux-2024.04.01-x86_64.iso.sig
|
||||||
@@ -32,6 +32,7 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
|
|||||||
- `lsblk` (alt: `df`)
|
- `lsblk` (alt: `df`)
|
||||||
- ➔ usb = sda
|
- ➔ usb = sda
|
||||||
- `sudo dd bs=4M if=archlinux-2024.04.01-x86_64.iso of=/dev/sda status=progress oflag=sync`
|
- `sudo dd bs=4M if=archlinux-2024.04.01-x86_64.iso of=/dev/sda status=progress oflag=sync`
|
||||||
|
- troubleshooting
|
||||||
- error: `dd: failed to open '/dev/sda': Device or resource busy`
|
- error: `dd: failed to open '/dev/sda': Device or resource busy`
|
||||||
- solution: using `gparted`, you can reformat the drive (from fat32) to ext4, then try again
|
- solution: using `gparted`, you can reformat the drive (from fat32) to ext4, then try again
|
||||||
|
|
||||||
@@ -41,6 +42,7 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
|
|||||||
- tuxwarrior: `F2` for BIOS
|
- tuxwarrior: `F2` for BIOS
|
||||||
- thinkpad: `F12` for boot options (`F1` for BIOS)
|
- thinkpad: `F12` for boot options (`F1` for BIOS)
|
||||||
- select `ArchLinux install medium (x86_64, x64 UEFI)`
|
- select `ArchLinux install medium (x86_64, x64 UEFI)`
|
||||||
|
- troubleshooting
|
||||||
- grub error
|
- grub error
|
||||||
- `error: you need to load the kernel first`
|
- `error: you need to load the kernel first`
|
||||||
- `error start_image() returned 0x800000000000001`
|
- `error start_image() returned 0x800000000000001`
|
||||||
@@ -50,10 +52,6 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
|
|||||||
- `squashfs error unable to read`
|
- `squashfs error unable to read`
|
||||||
- solution
|
- solution
|
||||||
- re-install the ISO on another USB device
|
- re-install the ISO on another USB device
|
||||||
- arch iso error
|
|
||||||
- `ip link` gives no wifi
|
|
||||||
- solution
|
|
||||||
- re-install the ISO on another USB device
|
|
||||||
|
|
||||||
## step three :: generate config for new hosts
|
## step three :: generate config for new hosts
|
||||||
|
|
||||||
@@ -120,7 +118,7 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
|
|||||||
- `no`
|
- `no`
|
||||||
- `reboot`
|
- `reboot`
|
||||||
|
|
||||||
## step four :: arch install :: software & dots
|
## step four :: arch install :: software & dot files (dots)
|
||||||
|
|
||||||
- log in as `poq`
|
- log in as `poq`
|
||||||
- `nmtui` (activate internet connection)
|
- `nmtui` (activate internet connection)
|
||||||
@@ -131,7 +129,7 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
|
|||||||
- `chmod 755 curae_setup.sh`
|
- `chmod 755 curae_setup.sh`
|
||||||
- `sudo ./curae_setup.sh`
|
- `sudo ./curae_setup.sh`
|
||||||
- `sudo curae yay` (install yay, which is used to install aur packages)
|
- `sudo curae yay` (install yay, which is used to install aur packages)
|
||||||
- `sudo curae uf` (full update, install packages, hostname is optional)
|
- `sudo curae uf` (full update, install packages)
|
||||||
- same as running the two commands:
|
- same as running the two commands:
|
||||||
- `sudo curae sw`
|
- `sudo curae sw`
|
||||||
- `sudo curae dots`
|
- `sudo curae dots`
|
||||||
@@ -139,44 +137,72 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
|
|||||||
- `sudo ufw enable` (enable firewall)
|
- `sudo ufw enable` (enable firewall)
|
||||||
- `reboot` & re-login
|
- `reboot` & re-login
|
||||||
- `startx` (start window manager)
|
- `startx` (start window manager)
|
||||||
- start firefox
|
- several windows will start, and in the background there will be a window where you are asked to set password for the gnome keyring
|
||||||
- (nextcloud and protonvpn will start automatically, just exit the applications)
|
- the gnome keyring window will always be in focus, and there is no way to close the other windows while this is happening
|
||||||
|
- press `escape` to close the gnome window
|
||||||
|
- close the pCloudDrive, Nextcloud and ProtonVPN windows
|
||||||
|
- open and close firefox to have firefox's profile directory being created
|
||||||
- start firefox (`SUP + D` ➔ `firefox`)
|
- start firefox (`SUP + D` ➔ `firefox`)
|
||||||
- close firefox
|
- close firefox
|
||||||
|
- open the terminal (`SUP + Enter`)
|
||||||
- create local sync folder for nextcloud
|
- create local sync folder for nextcloud
|
||||||
- local folder must match `$SYNCDIR_HOSTNAME` in `dots/environment/environment`
|
- local folder must match `$SYNCDIR_HOSTNAME` in `dots/environment/environment`
|
||||||
- t470p: `/home/poq/nextcloud`
|
- t470p: `mkdir /home/poq/nextcloud`
|
||||||
- tuxwarrior: `/home/poq/nextcloud`
|
- tuxwarrior: `mkdir /home/poq/nextcloud`
|
||||||
- open the terminal (`SUP + Enter`)
|
- `curae sw` (install sw that were not installed first time around - not sure why not all sw is installed the first time around)
|
||||||
- `curae sw` (install sw that were not installed first time around - not sure why this is needed)
|
|
||||||
- `curae dots` (the re-run of dots will deploy firefox settings)
|
- `curae dots` (the re-run of dots will deploy firefox settings)
|
||||||
- `curae services` (enable services)
|
- `curae services` (enable services)
|
||||||
- `reboot` & re-login
|
- `reboot` & re-login
|
||||||
- set up nextcloud sync (it should start automatically)
|
- once again, press esc to close the gnome keyring window
|
||||||
- in nextcloud
|
- leave the other windows open
|
||||||
|
- open firefox and log into bitwarden.com
|
||||||
|
- here you will find the needed usernames, passwords and one time codes for logging into the below mentioned applications
|
||||||
|
- set up pCloud
|
||||||
- log in
|
- log in
|
||||||
- pick local folder (created above), and
|
- the first time login process takes quite a while
|
||||||
- choose to sync everything to the local nextcloud folder
|
- set up protonvpn
|
||||||
- wait for nextcloud to sync (will take hours, depending on the internet speed)
|
- log in (but wait with enabling vpn until nextcloud has completed syncing)
|
||||||
|
- set up nextcloud
|
||||||
|
- log in
|
||||||
|
- server address: `https://nx.mz.fo`
|
||||||
|
- at this point the gnome keyring manager will pop up again, and ask for a password
|
||||||
|
- leave both (password and confirm) fields blank, and press continue, and chose to store passwords unencrypted
|
||||||
|
- _"To use automatic unlocking with automatic login, you can set a blank password for the default keyring. Note that the contents of the keyring are stored unencrypted in this case."_
|
||||||
|
- https://wiki.archlinux.org/title/GNOME/Keyring
|
||||||
|
- pick local folder (created above, like `/home/poq/nextcloud`), and
|
||||||
|
- choose `Synchronize everything from server`
|
||||||
|
- and disable the two options `Ask before syncing folders larger than xxx` and `Ask before syncing external storages`
|
||||||
|
- click `Connect`
|
||||||
|
- wait for nextcloud to complete syncronisation
|
||||||
|
- this will take many hours, possibly days, depending on the internet speed
|
||||||
|
|
||||||
|
## step five :: post syncronisation tasks
|
||||||
|
|
||||||
- `syncDirSetup.sh` (will set up `~/syncDir`)
|
- `syncDirSetup.sh` (will set up `~/syncDir`)
|
||||||
- `mountDownloadsDir.sh` (will mount `~/Downloads` to syncDir's download dir)
|
- `mountDownloadsDir.sh` (will mount `~/Downloads` to syncDir's download dir)
|
||||||
- `deploySshKeys.sh` (deployment of ssh keys)
|
- `deploySshKeys.sh` (deployment of ssh keys)
|
||||||
- `importGnupgKeys.sh` (deployment of gnupgp keys)
|
- `importGnupgKeys.sh` (deployment of gnupgp keys)
|
||||||
- `reboot` and re-login
|
- `reboot` and re-login
|
||||||
|
|
||||||
## step five :: post installation tasks
|
## step six :: final tweaks
|
||||||
|
|
||||||
- gnome keyring
|
|
||||||
- _"To use automatic unlocking with automatic login, you can set a blank password for the default keyring. Note that the contents of the keyring are stored unencrypted in this case."_
|
|
||||||
- https://wiki.archlinux.org/title/GNOME/Keyring
|
|
||||||
- firefox
|
- firefox
|
||||||
- install dictionaries for [en-AU](https://addons.mozilla.org/en-US/firefox/addon/english-australian-dictionary/) and [no-NB](https://addons.mozilla.org/en-US/firefox/addon/norsk-bokm%C3%A5l-ordliste/)
|
- install dictionaries for [en-AU](https://addons.mozilla.org/en-US/firefox/addon/english-australian-dictionary/) and [no-NB](https://addons.mozilla.org/en-US/firefox/addon/norsk-bokm%C3%A5l-ordliste/)
|
||||||
- singlefile name format:
|
- singlefile name format:
|
||||||
- old: `%if-empty<{page-title}|No title> ({date-locale} {time-locale}).{filename-extension}`
|
- old: `%if-empty<{page-title}|No title> ({date-locale} {time-locale}).{filename-extension}`
|
||||||
- new: `{year-locale}{month-locale}{day-locale}_{url-href-flat}_.{filename-extension}`
|
- new: `{year-locale}{month-locale}{day-locale}_{url-href-flat}_.{filename-extension}`
|
||||||
|
- printer
|
||||||
|
- https://gitlab.com/pqq/pIssues.2/-/issues/254#note_1921407733
|
||||||
|
- reaper
|
||||||
|
- https://gitlab.com/pqq/pIssues.2/-/issues/254#note_1897590421
|
||||||
|
- gitkraken
|
||||||
|
- https://gitlab.com/pqq/pIssues.2/-/issues/254#note_1897590421
|
||||||
|
|
||||||
|
|
||||||
# error solving
|
# error solving
|
||||||
|
|
||||||
|
- lemur display/login manager does not log you in
|
||||||
|
- press (Alt-F2) `Alt-F3` to buypass the login screen, so you will get to the tty3 console
|
||||||
- `sudo journalctl -b` shows error:
|
- `sudo journalctl -b` shows error:
|
||||||
- `ACPI Error AE_NOT_FOUND` and `could not resolve symbol _SB.PCI0.XDCI`
|
- `ACPI Error AE_NOT_FOUND` and `could not resolve symbol _SB.PCI0.XDCI`
|
||||||
- solution:
|
- solution:
|
||||||
|
|||||||
Reference in New Issue
Block a user