article-main

How to set filesystems mount order on modern Linux distributions

In a previous tutorial we discussed about the /etc/fstab file, and how it is used to declare the filesystems which should be mounted on boot. In the pre-Systemd era, filesystem where mounted in the order specified in the /etc/fstab file; on modern Linux distributions, instead, for a faster boot, filesystem are mounted in parallel. Systemd manages the mounting of filesystems via specifically designed units automatically generated from /etc/fstab entries. For these reasons a different strategy must be adopted to establish the dependency between two filesystems, and therefore to set their correct mount order.

Read more

How to force fsck to check filesystem after system reboot on Linux

How to force fsck to check filesystem after system reboot on Linux

Checking the file system for errors is an important part of Linux system administration. It is a good troubleshooting step to perform when encountering bad performance on read and write times, or file system errors. In this tutorial, we will explain a procedure on how to force fsck to perform a file system check on the next system reboot or force file system check for any desired number of system reboots, whether it is the root or a non-root mount point.

Read more

Mounting an NTFS partition on a Linux system

How to mount partition with ntfs file system and read write access

NTFS stands for New Technology File System and is developed by Microsoft for use on their Windows operating systems. NTFS is normally used on Linux systems, but has been the default file system on Windows for many years. Linux users are probably used to seeing drives with the ext4 file system, which is ordinarily the default and certainly the most widespread in the Linux realm.

Read more

hdparm acoustic management: Reduce hard drive's noise level

hdparm acoustic management: Reduce hard drive’s noise level

Most of the non-SSD hard drives allow for a noise reduction by decreasing head movement speed while accessing data. This ability is called Automatic Acoustic Management or AAM. In this tutorial, you will see how to install the hdparm software package on all major Linux distros and use it to manipulate AAM values to reduce or increase head movement, thus directly affect hard drive’s noise level.

Read more

Resolving the bash: netstat: command not found error on Debian/Ubuntu Linux

inxi installation and usage on Ubuntu/Debian

The inxi Linux command can be used to see various system information and other handy bits of data right from your terminal. The command is ordinarily not installed by default. However, it is a small software package that provides access to the command, and it proves especially useful to system administrators and power users.

Read more

Enabling full disk encryption in Ubuntu 22.04 Jammy Jellyfish Linux

Ubuntu 22.04 Enable full disk encryption

The best way to keep your Ubuntu 22.04 system and files completely secure in the case of theft is to enable full disk encryption. This way, if your device is stolen or someone is sitting at your desk and trying to boot into your PC, they will need to know your password in order to mount any partitions. Even if they access the hard drive content through other means, all files would be encrypted and no one could read their contents.

Read more

How to recover partition table in Linux

How to recover partition table in Linux

The partition table of a hard disk holds all the information about where each partition begins and ends. If the partition table gets deleted or becomes corrupt in some way, most likely your operating system will not be able to boot or you will face other hard disk issues. But there is good news: if your partition table is lost, it is possible to recover it using software such as testdisk.

Read more