How Do I Mount Fstab in Linux?
Contents How Do You Mount in Fstab? Okay Now You Have a Partition, Now You Need a Filesystem. Run Sudo Mkfs. Ext4 /Dev/Sdb1. Now You Can Add It to Fstab. You...
Contents
How do you mount in fstab?
Okay now you have a partition, now you need a filesystem.
- Run sudo mkfs.ext4 /dev/sdb1.
- Now you can add it to fstab. You need to add it to /etc/fstab use your favourite text editor. Be careful with this file as it can quite easily cause your system not to boot. Add a line for the drive, the format would look like this.
21 июн. 2012 г.
Must Read
How do I open fstab in Linux?
fstab file is stored under the /etc directory. /etc/fstab file is a simple column based configuration file where configurations are stored as column based. We can open fstab with the text editors like nano , vim , Gnome Text Editor , Kwrite etc.