User Tools

Site Tools


1. First, use blkid command to locate block device attributes:

sudo blkid

2. Use following syntax:

UUID={YOUR-UID}    {/path/to/mount/point}               {file-system-type}    defaults,errors=remount-ro 0       1

3. Open /etc/fstab

$ sudo vi /etc/fstab

4. Save and close the file. To mount new partition immediately using /etc/fstab type:

$ sudo mount -a

So the fstab might look like this:

# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdd2 during installation
UUID=9b5c7d7e-9194-4e57-958a-5a6a0af6dd4c / ext4 noatime,errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
UUID=0087-3BA2 /boot/efi vfat umask=0077 0 1
none swap sw 0 0

UUID=10972c8d-8a27-44e6-8db1-41a4f6af119c /media/dino/Secundus ext4 noatime,defaults,errors=remount-ro 0 1

ssd_not_mounted.txt · Last modified: 2021/02/21 00:46 (external edit)