Successfully recovered lost root administrative password on RHEL 8 Linux Server/Desktop

RHEL 8 / CentOS 8 recover root password

This article provides step by step instructions on how to recover/reset lost or forgotten RHEL 8 / CentOS 8 Linux root administrative password. To recover the root password you will first boot to the GRUB menu and perform a break at early stage of the boot process. Afterwards, you will remount the sysroot directory with read & write access and change the root password on RHEL 8 / CentOS 8 by using the passwd command to set the new root password.

In this tutorial you will learn:

  • How to perform a break at an early stage of the boot process.
  • How to remount root partition with read/write access.
  • How to change root password.
  • How to force filesystem relabeling.

Read more

Linux Home Directory With Symlinks

How to Save Space with Symlinks and Mount Points

When you’re stuck with limited storage space, there’s always the option of purchasing more storage, but what if you can’t. Devices like Chromebooks and some laptops are fairly limited. Thankfully, Linux has a few tricks to help to make your Linux system administration job easier. Because Unix-like systems treat everything as a file, you can easily use symbolic links and mounted partitions to maximize space.

In this tutorial you will learn:

  • How to Use Symbolic Links at /home
  • How to Use Symlinks Elsewhere
  • How to Extend Your Storage with Mount Points
  • How to Make Effective Use of Networked Drives

Read more

Linux FileSystem Hierarchy Standard

Linux Filesystem Navigation Basics

This article explains basic commands for navigation within Linux file system. The diagram below represents (part of) a Linux file system know as Filesystem Hierarchy Standard. A line from one node to a node on its right indicates containment. For example, the student directory is contained within the home directory.

In this tutorial you will learn:

  • How to use pwd command
  • How to use cd command
  • How to navigate to user home directory
  • Difference between relative vs absolute
  • What is a parent directory

Read more

ntfs-3g-manpage

How to install ntfs-3g on RHEL 8 / CentOS 8

NTFS is not supported by default on RHEL 8 / CentOS 8. To make our system able to read and write block devices formatted with this proprietary filesystem, we need to install the ntfs-3g software, which usually in provided by third party repositories like Epel. At the time of writing, however, a version of this software source for Rhel8 doesn’t already exist, therefore we will see how to install it from source in few easy steps.

In this tutorial you will learn:

  • How to build ntfs-3g from source
  • How to install ntfs-3g
  • How to mount a block device formatted with ntfs-3g
  • How to format a block device with the ntfs filesystem
  • How to check the ntfs filesystem integrity using ntfsfix

ntfs-3g-manpage

The manpage of ntfs-3g on Rhel 8

Read more