Forked from Brainiarc7/fstab-generate-arch.md
Last active
September 20, 2015 16:35
-
-
Save matuu/23541b44cd279b694d9e to your computer and use it in GitHub Desktop.
Generate fstab in Arch Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
#genfstab -U -p / >> /etc/fstab | |
Run that command as ROOT. | |
Tip: It may be wise to add the nofail option for some partitions, namely NFS and the likes, so your system can boot even if shit hits the fan. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment