Editing /etc/fstab

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[wikipedia:fstab]] file included in the <code>[[util-linux]]</code> package. ([https://man7.org/linux/man-pages/man5/fstab.5.html man])
+
{{Draft}}
  
  
* Multipass [[Ubuntu 22.04.2 LTS]] ([[jammy]])
+
Defautlt multipass [[Ubuntu 20.04 LTS]] /etc/fstab file
LABEL=cloudimg-rootfs / ext4 discard,[[errors=]]remount-ro 0 1
 
LABEL=UEFI [[/boot/efi]] vfat umask=0077 0 1
 
 
 
 
 
Defautlt multipass [[Ubuntu 20.04 LTS]] <code>/etc/fstab</code> file
 
LABEL=[[cloudimg-rootfs]] / [[ext4]] defaults 0 0
 
LABEL=UEFI /boot/efi vfat defaults 0 0
 
 
 
 
  cat /etc/fstab
 
  cat /etc/fstab
 
  LABEL=cloudimg-rootfs / ext4 defaults 0 0
 
  LABEL=cloudimg-rootfs / ext4 defaults 0 0
 
  LABEL=UEFI /boot/efi vfat defaults 0 0
 
  LABEL=UEFI /boot/efi vfat defaults 0 0
none [[/run]] tmpfs defaults,size=256M 0 0
 
 
 
/etc/fstab
 
UUID=4f724150-4b94-11e9-b2d3-5254001d0c45 / ext4 defaults 0 1
 
[[UUID]]=9169c71d-fa53-439f-a9fd-ae32c2f35566 /home ext4 noauto,x-systemd.automount 0 2
 
[[/swap.img]] none [[swap]] sw 0 0
 
 
 
/etc/fstab
 
...
 
[[/dev/]][[nvme]]1n1 /path/to/mount [[xfs]] defaults 0 0
 
  
 
== Related terms ==
 
== Related terms ==
* [[UUID]]: <code>[[blkid -s UUID]] -o value /dev/nvme1n1</code>
+
* [[UUID]]
 +
* <code>[[/etc/]]</code>
 
* [[swap]]: [[swapon -s]]
 
* [[swap]]: [[swapon -s]]
* <code>[[mount]]</code>: [[mount options]], <code>[[mount -a]]</code>
 
* <code>[[/etc/mntab]]</code>
 
* <code>[[ansible.posix.mount]]</code>
 
* <code>[[Nofail]]: do not report errors for this device if it does not exist.</code>
 
* <code>[[/usr/lib/systemd/system-generators/systemd-fstab-generator]]</code>
 
  
 
== See also ==
 
== See also ==
* {{fstab}}
 
 
* {{mount}}
 
* {{mount}}
 
* {{fs}}
 
* {{fs}}

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: