Skip to content

Instantly share code, notes, and snippets.

View mugdha-adhav's full-sized avatar
😈
available

Mugdha Adhav mugdha-adhav

😈
available
View GitHub Profile

Why

We don't want extra stuff

What

We want to boot Linux without installing a boot loader

How

  1. We need to create an entry in the UEFI NVRAM entries list.
  2. We can use the bcfg tool for that. But we need a unified kernel image(something with .efi).
  3. We use the objcopy utility to do generate the unified kernel image.
@mugdha-adhav
mugdha-adhav / pgp-encryption-decryption.md
Last active October 24, 2023 17:01
PGP encryption and decryption

GPG encryption

Exporting keys directly -

Note: Using this method you may import both the public and private key using just the private key

Export private key

gpg --armor --export-secret-keys --output foo.asc bar@gmail.com