Skip to content

Instantly share code, notes, and snippets.

View 0xcrypto's full-sized avatar
🐢
Building a better world, one line of code at a time

0xcrypto

🐢
Building a better world, one line of code at a time
View GitHub Profile
@0xcrypto
0xcrypto / fstab-generate-arch.sh
Last active April 30, 2017 17:01 — forked from Brainiarc7/fstab-generate-arch.md
Generate fstab in Arch Linux
# First, install arch-install-scripts:
sudo pacman -S --needed arch-install-scripts
# Secondly, mount your partitions in all the internal hard drives
# Thirdly, generate and validate your config by piping it out to stdout:
genfstab -U -p / | less
# If all looks green, proceed to overwrite your current fstab with the new entries:
su -c "genfstab -U -p / >> /etc/fstab"