After expanding an EBS volume in the console, you still need to extend the partition and filesystem from within the operating system. If the root partition is already 100% full, growpart may fail because it cannot write temporary files, and the error may look like an sfdisk issue.
When an EC2 Linux instance fails to boot or the instance status check fails, the problem may exist simultaneously in the AWS control plane and within the operating system. In this case, part of the issue was KMS permissions preventing encrypted EBS decryption, and another part was /etc/fstab using unstable device names causing the system to enter maintenance mode.
Kali comes with many security testing tools. If you don't want to take up C drive space, you can migrate the WSL distribution to the E drive. This article documents the process of installing Kali WSL, exporting a backup, reimporting to a specified directory, and setting the default login user.
This article is currently just a script index placeholder. Later it will be organized into a directly copyable and executable command list by purpose, with applicable systems, risk notes, and rollback methods.
