These are my notes for installing Arch Linux with full-disk encryption on a HDD. The installation process changes significantly for an SSD.
$ lsblk #list devices
$ timedatectl set-ntp true
I will create the following partition layout...
| --To include this file, use | |
| --dofile('csv.lua') or require('csv') | |
| --Function to convert a *SV file to a Lua array | |
| --file: the name of the file to read | |
| --delim: the delimeter (default ',') | |
| function dataToTable(file, delim) | |
| --Set initial values | |
| if delim == nil then --allow delim to be optional | |
| delim = ',' |
| (add-to-list 'load-path "~/.emacs.d/lisp") | |
| (add-to-list 'default-frame-alist '(fullscreen . maximized)) | |
| ; Load modules | |
| (load "sr-speedbar.elc") ;CEDET speedbar in current frame | |
| (load "modeline-posn.elc") ;Show position of point | |
| (load "doc-mode.elc") ;Doxygen mode | |
| (load "lua-mode.elc") ;Lua mode | |
| (load "markdown-mode.elc") ;Markdown mode | |
| (load "bind-key.elc") ;Useful keybinding functions |
| #!/usr/bin/python3 | |
| #Copyright (C) 2016 Caleb Reister | |
| #This program is free software: you can redistribute it and/or modify | |
| #it under the terms of the GNU General Public License as published by | |
| #the Free Software Foundation, either version 3 of the License, or | |
| #(at your option) any later version. | |
| #This program is distributed in the hope that it will be useful, |
| #!/usr/bin/python | |
| #Download xkcd comics by their index numbers (passed as arguments) | |
| import sys | |
| import re | |
| import json | |
| from urllib.request import * | |
| basePath = '/home/caleb/Pictures/Comics/xkcd/' | |
| #Read alt text file into memory |
| #!/bin/sh | |
| #Find a date in file name: | |
| #ls | grep -E $datematch | |
| increment() { | |
| # Creates a backup version of a btrfs subvolume and sends it to to an | |
| # external drive. Assumes there are drives mounted in ./hd and ./bu | |
| # $1 subvolume to backup | |
| # $2 date of parent |
| //<![CDATA[ | |
| /* Copyright (C) 2001-2010 Claudio Girardi | |
| * | |
| * This program is free software; you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation; either version 2 of the License, or (at | |
| * your option) any later version. | |
| * | |
| * This program is distributed in the hope that it will be useful, but |
| Quick Access: | |
| ± · √ ≠ ≈ ≤≥ ≡ | |
| ° ℓ ∠ ∞ ⅇ ⅉ | |
| ∴ ⇒ ⇔ ∵ ∀ ∈ ℝ ℂ | |
| α β Δδ θ Φφ μ τ Ωω | |
| Operators: ±∓ ×· ÷ √∛ ≠ ≈ ≤≥ ≪≫ ≡≢ ⨁⊕⊖ ⨂⊗⨀⊙ | |
| Calculus: ∫ ℒ ℱ ∑ ∂ ′ | |
| Special: ∞ ℓ ⇀ ∠∡ ° ∇ ⅇ ⅉ x̄ ∥⊥ ℑ ℜ ℛ ℋ | |
| Logic: ∴ ⇒ ⇔ ∵ ¬ ∃ ∄ ⋎ ⋏ |
| EDMA3_DRV_Handle* hi2cEdma; | |
| GIO_Handle i2c_outHandle; | |
| GIO_Handle i2c_inHandle; | |
| I2c_Params i2cParams; | |
| //---------------------------------------------------------------- | |
| // Setup I2C | |
| //---------------------------------------------------------------- | |
| void I2C_init(EDMA3_DRV_Handle* hEdma) { | |
| I2c_ChanParams chanParams; |
Assuming that you have a program running in the foreground, press ctrl-Z, then:
[1]+ Stopped myprogram
$ disown -h %1
$ bg 1
[1]+ myprogram &
$ logout
If there is only one job, then you don't need to specify the job number. Just use disown -h and bg. Explanation of the above steps: