Skip to content

Instantly share code, notes, and snippets.

@noirbizarre
noirbizarre / gpg-offline-master.md
Created August 31, 2022 22:53 — forked from abeluck/gpg-offline-master.md
GPG Offline Master Key w/ smartcard
@noirbizarre
noirbizarre / Rescue-Arch-LVM-on-LUKS-with-direct-efi-boot.md
Created December 17, 2020 15:29 — forked from schlueter/Rescue-Arch-LVM-on-LUKS-with-direct-efi-boot.md
Rescue Arch LVM on LUKS with direct efi boot system
# Boot off a live usb or similar as if you're installing
# If you're more comfortable with a different keyboard layout
$ loadkeys dvorak
# populate the second argument of the cryptsetup command based on this
$ parted <<<'print'
# the third argument may be anything, it needn't be used later
$ cryptsetup open /dev/sda3 foobar
# check your volume groups to see what to mount
$ ls /dev/vg
# -*- coding: utf-8 -*-
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT