Skip to content

Instantly share code, notes, and snippets.

View mruediger's full-sized avatar
🌴
Working remotely

Mathias Rüdiger mruediger

🌴
Working remotely
View GitHub Profile
#
# sway config by Mathias Rüdiger
#
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
set $alt Mod1
# Home row direction keys, like vim
2019-09-30 12:27:38 - [sway/main.c:152] Linux farting-unicorn 5.3.0 #1-NixOS SMP Sun Sep 15 21:19:32 UTC 2019 x86_64 GNU/Linux
2019-09-30 12:27:38 - [sway/main.c:168] Contents of /etc/os-release:
2019-09-30 12:27:38 - [sway/main.c:152] NAME=NixOS
2019-09-30 12:27:38 - [sway/main.c:152] ID=nixos
2019-09-30 12:27:38 - [sway/main.c:152] VERSION="19.09beta384.404d1cd0979 (Loris)"
2019-09-30 12:27:38 - [sway/main.c:152] VERSION_CODENAME=loris
2019-09-30 12:27:38 - [sway/main.c:152] VERSION_ID="19.09beta384.404d1cd0979"
2019-09-30 12:27:38 - [sway/main.c:152] PRETTY_NAME="NixOS 19.09beta384.404d1cd0979 (Loris)"
2019-09-30 12:27:38 - [sway/main.c:152] LOGO="nix-snowflake"
2019-09-30 12:27:38 - [sway/main.c:152] HOME_URL="https://nixos.org/"
@mruediger
mruediger / USB Bootstick.md
Last active December 8, 2020 16:09
USB Bootstick for multiple isos using UEFI and BIOS

This small Howto is about setting up a USB stick to boot different iso files using grub's loopback capability. I only tested this on Fedora, but it should also work on other Linux distributions.

First, lets find the USB Stick

lsblk

This should give you a list of all your block devices. My stick is found as /dev/sdc

Then we need to partition the USB stick using GPT.

  • we will use gdisk sudo gdisk /dev/USBDEV
  • create a new empty partition table by pressing o