February 29, 2024, 03:33
bash df -ThLook for the entry corresponding to the partition you want to modify, and check the "Type" column to ensure it's ext4. Unmount the File System: You cannot modify a mounted file system, so unmount it first. Replace /dev/sdXn with the appropriate partition identifier.
bash sudo umount /dev/sdXnDisable Journaling: Run the following command to disable journaling. Replace /dev/sdXn with your partition identifier.
bash sudo tune2fs -O ^has_journal /dev/sdXnThis command removes the has_journal feature from the file system. Check File System: Run a file system check to ensure everything is in order.
bash sudo e2fsck -f /dev/sdXnIf prompted to fix issues, allow the tool to do so. Mount the File System: After making the changes, remount the file system.
bash sudo mount /dev/sdXn /path/to/mountpointRemember to replace /dev/sdXn with the actual identifier of your partition, and /path/to/mountpoint with the path where the partition is normally mounted.