This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These are working notes on the installation of Arch Linux. I've just completed this install on a notebook (Lenovo P50) | |
but the setup should work for most laptop/desktop configurations. | |
Some assumptions/notes: | |
1. This isn't a dual boot configuration. I can see some of the appeal and still work in Adobe from time to time, but given | |
the increasing complexity of EFI and the way Windows/MS manhandles the EFI partition during upgrades, I really would | |
recommend steering clear of dual boot. Just my two cents here. | |
2. We're encrypting with LUKS. I've used so-called "self encrypting drives" as well (and linux has multiple ways of dealing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"exec" | |
"log" | |
"os" | |
) | |
// Pipeline strings together the given exec.Cmd commands in a similar fashion |
GNOME's tracker is a CPU and privacy hog. There's a pretty good case as to why it's neither useful nor necessary here: http://lduros.net/posts/tracker-sucks-thanks-tracker/
After discovering it chowing 2 cores, I decided to go about disabling it.
Directories
This documents guides you through the process to install Debian Stretch with Full Disk Encryption. The following requirements exist:
- Mainboard with UEFI-Support
- Debian Stretch Live CD booted from UEFI
- Two unformatted, unpartitioned HDDs/SSDs for Software RAID1 with mdmadm
After following this guide, you will end up with a setup like this:
- Redundant GRUB Standalone EFI installation on both disks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- | |
Documented at | |
http://linux.die.net/man/5/fonts-conf | |
To check font mapping run the command at terminal | |
$ fc-match 'helvetica Neue' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
set -e | |
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG | |
trap 'echo FAILED COMMAND: $previous_command' EXIT | |
#------------------------------------------------------------------------------------------- | |
# This script will download packages for, configure, build and install a GCC cross-compiler. | |
# Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running. | |
# If you get an error and need to resume the script from some point in the middle, | |
# just delete/comment the preceding lines before running it again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
# | |
# Get latest version of a package. | |
[ "$1" ] || exit 1 | |
curl -s "https://repology.org/badge/latest-versions/$1.svg" | | |
while read -r line; do | |
case $line in | |
*"latest packaged version"*) v=$((v+=1)) ;; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQENBFr+bRIBCACUyk/cKlW7G1iR8YPl9b6z0D5N8LCL4T9edEvGd/8M0AY1I0lR | |
sZfOMUBlcziBLsxrnIKD57JwTpMiBpyh0Z9RoE4CnZhg74g18I5Wa0OtXv4n2jDJ | |
cmIAIzYvSuCQJjxFOWYd/FI4j0jkG1NG6PWMX7OJUD/gP0tkSvEGtiW+B7UIpoLn | |
3Rq2dY1DG8gf23/TtWrqxtmXYN7yJbVuT/uTmLFIKprNbh4qNa/hinL4MjjGpsJx | |
U5q8eUld2jxZGHJlrdY/vJ9G1iqrai3XDTGSU1s9lEPvPdjumXyFXLuygNsoQWci | |
66gQum69Yyxg445pV5AyFBQONYmsPmzvgPtXABEBAAG0JVRvYmlhcyBNZXJ6IDx0 | |
b2JpYXMubWVyekBoZi1pY3QuaW5mbz6JAU4EEwEIADgWIQS193b5+QOrHZ4RWpF2 | |
L+ThEse1RQUCWv5t6gIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRB2L+Th |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Arch Linux with full encrypted btrfs subvolume inside luks | |
# Hardware: BIOS system, Intel GPU, Nvidia Optimus, Toshiba SSD, Wifi | |
# Please adjust for your needs. | |
# filename: install-arch-linux-on-btrfs-subvolume-inside-luks.txt | |
# The official guide: https://wiki.archlinux.org/index.php/Installation_Guide | |
# Download the archiso image from https://www.archlinux.org/download/ | |
# Copy to a usb-drive | |
dd bs=4M if=archlinux.iso of=/dev/sdx status=progress oflag=sync # on linux |