Skip to content

Instantly share code, notes, and snippets.

View X-method's full-sized avatar
🐛
ah there you are!

X-method

🐛
ah there you are!
  • yo mama's house ( ͡° ͜ʖ ͡°)
View GitHub Profile
@renich
renich / 00-gentoo-installation-partitioning.bash
Last active May 10, 2024 10:16
Install Gentoo on BtrFS subvolumes + UEFI
#!/usr/bin/env bash
# WARNING!!
# This will obliterate all the data in your partition!! (not actually true, but act as if it was)
# Do NOT execute this script if you don't fully understand it!
# a few vars
amount_of_swap=$( free --si -g | grep Mem: | gawk '{ print $2 + 1}' )
# create directories