SAMBA is also very hard and tedious to use. When you log in, the NFS share should mount automatically. To make sure the alterations to /etc/fstab are saved, press together CTRL and O keys on your keyboard. Make sure to replace the “data” section with the title of your NFS share. Servername: /data /home/username/Network-Files nfs rsize=8192, timeo=14, _netdev 0 0
MAC NETWORK DRIVE NFS MOUNT MANUAL
Most novice users will find manual NFS mounting very difficult. Finally, change the name of the backup file.Now you need to copy your backup file back to the /etc/ directory.Ĭp /home/username/system-backups/fstab /etc/.Next, you have to go to the /etc/ folder and delete the fstab file which is broken.First, you need to use sudo –s to get a root shell.
Here are the steps for restoring the backup: Make sure to rename the backup file and give it a.Backup your file and store it in the folder you created.Use sudo –s to get a root shell, and go to the /etc/ folder.
Also, maybe save the backup to a flash drive or an online cloud too, just to be sure. Follow these steps to make backup the fstab file: You can mess up your entire system if you do something wrong while changing this file. Before you begin, it is recommended to back up the fstab file because it is potentially very dangerous.