Author: aks0911

  • Kali Linux Live USB Persistence

    Kali Linux Live USB Persistence

    Kali Linux Live USB Persistence

    Kali Linux is one of the most popular Linux operating system in the world of penetration testers. It comes pre equipped with a lots of useful penetration tools.

    Back from its “Backtrack” days it has gain more popularity also.

    Benefit of making a kali Linux Live USB is that you can carry you pen testing tool kit with you wherever you go and while doing forensic it also prevent you from mixing up with your target machine. 

    So First of all 

    Download Kali Linux from its official website 

    https://www.kali.org/downloads/

    There are numerous Kali Linux OS images on the download page you can download the one as per your choice.

    After downloading a Kali Linux image of your choice, we have to install it to a flash drive “USB”

    Requirements

    > USB drive of at least 8 GB

    > kali linux iso image.

    > OS imaging application Etcher

    Download balenaEtcher from https://www.balena.io/etcher/

    Creating Live USB 

    Boot into an window OS, Download and install an Etcher application.

    Plug in your USB drive of at least 8 GB memory.

    Run Etcher

    Browse for the downloaded Kali Linux OS image, then select the USB drive after that start Flashing.

    Wait for some time after completion your Kali Linux Live USB is ready to be used. You can start using Kali Linux Live but each time you boot your previous changes will be discarded.

    So to preserve changes across boots we will create a persistence drive

    Log in to any Linux OS keep in mind this LinuxOS is different from the one which we have just created. 

    Launch disk part

    Select Kali Linux Live USB then select free space and click on the “ + “ button to create a new drive

    Write volume name persistence and select type ext4 and after completion of task exit disk part utility and launch terminal as a root user

    Type the command “fdisk -l”

    Then make an ext3 file system and label it persistence 

    Type following commands

    mkfs.ext3 -L persistence /dev/sdb3

    e2label /dev/sdb3 persistence

    After successfull execution create a mount point and mount the volume 

    mkdir -p /mnt/my_usb

    mount /dev/sdb3 /mnt/my_usb

    After that create the configuration file for persistence 

    echo “/ union” > /mnt/my_usb/persistence.conf

    Finally unmount the newly created volume

    umount /dev/sdb3

    Exit the terminal and Boot from your newly created Kali Linux Live persistence USB.

    For any suggestions or questions, feel free to drop them in the comment section below.

  • Partition A Window’s Drive

    Partition A Window’s Drive

    Partition a Windows Drive After Installation

    Partitioning a drive in Windows is usually done during the installation of the operating system. At that stage, a large hard drive is divided into two or three smaller drives as per requirement.

    But what if you want to partition your drive later? Fortunately, this can still be done using:

    1. Windows’ built-in Disk Management utility, or
    2. Free third-party software.

    In this guide, I’ll walk you through partitioning a drive after installation using a popular freeware tool called MiniTool Partition Wizard.

    You can download it here: MiniTool Partition Wizard

    Step 1: Install and Launch the Tool

    After downloading and installing, launch the software. You’ll see the following screen with all available drives displayed.

    Step 2: Select the Drive to Resize

    • Right-click on the drive you want to partition.
    • Select Move/Resize.

    Now, drag the slider to shrink the current drive and create unallocated space.

    ⚠️ Important: Resize only up to the blank (free) space. If you shrink beyond the available free space, you risk data loss.

    👉 Example: My E Drive is 122 GB in total, with 105 GB used. This means I can safely shrink it by about 17 GB (122 − 105). For safety, I left a bit more space unused.

    Step 3: Apply the Changes

    • Once you’ve adjusted the drive size, click OK.
    • Then click Apply (bottom-left corner).
    • Wait for the tool to process. You’ll now see unallocated space just after the resized drive.

    Step 4: Create a New Partition

    • Right-click on the unallocated space.
    • Select Create.

    Here you can:

    • Label the partition with any name (optional).
    • Choose partition type:
      • Primary → Used for system/bootable partitions.
      • Logical → Best for storing data. (I chose Logical in this example.)
    • Assign a drive letter (make sure it’s not already in use).
    • File system → Select NTFS (default for Windows).
    • Cluster size → Leave it as default.

    Double-check everything, click OK, then click Apply again to finalize the changes.

    Step 5: Wait and Finish

    After the process completes, you’ll have a brand-new drive ready for use. You can now store files such as photos, videos, documents, and more.

    Increase the Size of a Partition

    Sometimes you may want to increase the size of a partition instead of creating a new one. This is possible if there is unallocated space available next to the partition.

    Here’s how to do it:

    1. Locate unallocated space: Make sure the unallocated space is directly next to the partition you want to extend.
    2. Right-click on the target partition → Select Move/Resize.
    3. Drag the slider to merge the unallocated space into your partition.
    4. Click OK, then Apply to confirm the changes.
    5. Wait for the process to complete. Your partition will now have increased space.

    ⚠️ Note: If the unallocated space is not adjacent to your partition, you may need to move/resize other partitions to make it contiguous.

    💡 That’s it! You’ve now learned how to create a new partition and also increase the size of an existing partition in Windows using MiniTool Partition Wizard.

    For any suggestions or questions, feel free to drop them in the comment section below.