How Do I Change Fstab in Linux?
Contents

/etc/fstab is just a plain text file, so you can open and edit it with any text editor you’re familiar with. However, note that you must have the root privileges before editing fstab . So, in order to edit the file, you must either log in as root or use the su command to become root.

How do I edit fstab in Linux Mint?

Editing fstab to automount partitions at startup

  1. file_system = your device id. …
  2. mount_point =where you want to mount your partition. …
  3. type=fat32,ntfs, ntfs-3g,ext2,ext4 or whatever your partition type is.
  4. options =mount options for the partition(explained later).
  5. dump=Enable or disable backing up of the device/partition .

How do I open fstab in Linux Mint?

Re: FSTAB for dummies? Don’t know which desktop he’s using, but on Cinnamon just open the file manager, select “File System”, right click on “etc” and select “Open as Root”, then double click on “fstab” to open it in gedit.

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest