Skip to content

Instantly share code, notes, and snippets.

@SlimTux
Created July 13, 2023 17:10
Show Gist options
  • Save SlimTux/a80ec124b50f634df48961c18d47e5cf to your computer and use it in GitHub Desktop.
Save SlimTux/a80ec124b50f634df48961c18d47e5cf to your computer and use it in GitHub Desktop.
Gentoo fuck u
mkdir /mnt/gentoo
mkdir -p /mnt/gentoo/boot/efi
---------------------------------------
mount /dev/nvme0n1p3 /mnt/gentoo
mount /dev/nvme0n1p1 /mnt/gentoo/boot/efi
swapon /dev/nvme0n1p2
---------------------------------------
lsblk
---------------------------------------
mount --types proc /proc /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --make-rslave /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
mount --make-rslave /mnt/gentoo/dev
mount --bind /run /mnt/gentoo/run
mount --make-slave /mnt/gentoo/run
test -L /dev/shm && rm /dev/shm && mkdir /dev/shm
mount --types tmpfs --options nosuid,nodev,noexec shm /dev/shm
chmod 1777 /dev/shm /run/shm
---------------------------------------
chroot /mnt/gentoo /bin/bash
@SlimTux
Copy link
Author

SlimTux commented Oct 11, 2023

pic-selected-231012-0005-11

@SlimTux
Copy link
Author

SlimTux commented Oct 12, 2023

alias fmv-png=" \mv -iv -f /mnt/phone/*png /mnt/phone/Extensions/Static/png/ "
alias fmv-jpg=" \mv -iv -f /mnt/phone/*jpg /mnt/phone/Extensions/Static/jpg/ "
alias fmv-html=" \mv -iv -f /mnt/phone/*html /mnt/phone/Extensions/Static/jpg/ "
alias fmv-jpeg=" \mv -iv -f /mnt/phone/*jpeg /mnt/phone/Extensions/Static/jpeg/ "
alias fmv-webm=" \mv -iv -f /mnt/phone/*webm /mnt/phone/Extensions/Videos/webm/ "
alias fmv-gif=" \mv -iv -f /mnt/phone/*gif /mnt/phone/Extensions/Static/gif/ "
alias fmv-mp4=" \mv -iv -f /mnt/phone/*mp4 /mnt/phone/Extensions/Videos/mp4/ "
alias fmv-mkv=" \mv -iv -f /mnt/phone/*mkv /mnt/phone/Extensions/Videos/mkv/ "
alias fmv-pdf=" \mv -iv -f /mnt/phone/*pdf /mnt/phone/Extensions/Documents/pdf/ "
alias fmv-epub=" \mv -iv -f /mnt/phone/*epub /mnt/phone/Extensions/Documents/epub/ "
alias fmv-odt=" \mv -iv -f /mnt/phone/*odt /mnt/phone/Extensions/Documents/odt/ "
alias fmv-md=" \mv -iv -f /mnt/phone/*md /mnt/phone/Extensions/Text/md/ "
alias fmv-txt=" \mv -iv -f /mnt/phone/*txt /mnt/phoneExtensions/Text/txt/ "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment