
Learn how to install Kali Linux dual boot alongside Windows 10/11. Complete step-by-step guide with partitioning, GRUB setup, troubleshooting, and safety warnings to prevent data loss.
Transparent vs UUPS, uninitialized implementations, and storage-layout collisions — local forge inspect lab. No live upgrades.
35 min read
How to write an Immunefi-ready bug report: structure, PoC expectations, severity language — template practice only.
40 min read
Series: Kali Linux Mastery — Phase 1: Installation & Setup (Tutorial 4 of 105) | Difficulty: Intermediate | Author: Andrax Pentester / Syed Abrar
Setting up Kali Linux dual boot alongside Windows is one of the most powerful configurations for penetration testers and cybersecurity professionals. Unlike virtual machines, dual booting gives you native hardware performance, full access to all system resources, and the ability to run resource-intensive security tools at maximum efficiency.
In this comprehensive guide, you'll learn how to safely install dual boot Kali Linux Windows without losing your existing Windows installation. We'll cover everything from preparing your system and creating disk partitions to configuring the GRUB bootloader and troubleshooting common issues.
⚠️ CRITICAL WARNING: Dual booting involves disk partitioning, which carries a risk of data loss if done incorrectly. ALWAYS backup your entire Windows system before proceeding. This guide provides detailed safety instructions, but you proceed at your own risk.
By the end of this tutorial, you'll have a fully functional dual boot system where you can choose between Windows and Kali Linux at startup, giving you the best of both worlds.
Before committing to a dual boot Kali setup, let's compare it with other installation methods we've covered in previous tutorials:
| Performance | ✅ Native (100%) | ⚠️ 50-70% of host | ✅ Native
| Hardware Access | ✅ Full access | ❌ Limited | ✅ Full access
| Installation Complexity | ⚠️ High | ✅ Easy | ✅ Very Easy
| Data Loss Risk | ⚠️ Moderate | ✅ None | ✅ None
| Persistence | ✅ Full | ✅ Full | ❌ Limited
| Run Simultaneously | ❌ No (reboot required) | ✅ Yes | ❌ No
| Disk Space Required | 40+ GB | 20+ GB | 8 GB USB
| Best For | Primary pentest machine | Testing & learning | Portable/temporary work
When to choose dual boot:
When to choose a VM instead: If you're new to Linux or need to run Windows and Kali simultaneously, consider our VirtualBox installation guide (How to Install Kali Linux in VirtualBox: Complete 2026 Guide) or VMware installation guide (How to Install Kali Linux in VMware: Complete 2026 Guide) first.
This guide is designed to minimize risks, but you are responsible for your own data safety. If you're uncomfortable with any step, stop and seek help or use a virtual machine instead.
Before starting your Kali Linux alongside Windows installation, ensure you have:
This is the most important step. Never skip backing up before creating a dual boot setup.
Win + S, search for "Control Panel"💡 Pro Tip: Test your backup by attempting to restore a single file. A backup you haven't tested is no backup at all.
To install Kali dual boot, you need unallocated disk space. We'll shrink your Windows partition to make room.
Press Win + X and select Disk Management
Right-click your Windows C: drive
Select Shrink Volume
Wait for Windows to query available space
Enter shrink amount in MB:
Click Shrink and wait for completion
Verify "Unallocated" space appears in Disk Management
⚠️ Important: Leave at least 20% free space on your Windows partition for optimal performance. Don't shrink to the absolute minimum.
Run these commands in Command Prompt (Admin) before shrinking:
`# Check disk for errors chkdsk C: /f
wmic diskdrive get status
defrag C: /U /V
If errors are found, fix them before proceeding with partitioning.
## Step 3: Create Kali Linux Bootable USB
You'll need a bootable USB drive with the Kali Linux installer. We covered this in detail in Tutorial 3.
**Quick Summary:**
- Download Kali Linux ISO from [kali.org/get-kali](https://www.kali.org/get-kali/)
- Download **Rufus** or **Etcher**
- Flash ISO to USB drive (will erase USB contents)
- Verify checksum for security
For detailed instructions, see our complete Kali Linux Live USB creation guide (Kali Linux Live USB: Boot Without Installing).
## Step 4: Disable Secure Boot & Fast Startup
Modern Windows systems use Secure Boot and Fast Startup, which can interfere with dual booting.
### Disable Fast Startup in Windows
- Open **Control Panel → Power Options**
- Click **Choose what the power buttons do**
- Click **Change settings that are currently unavailable**
- Uncheck **Turn on fast startup (recommended)**
- Click **Save changes**
### Disable Secure Boot in BIOS/UEFI
Steps vary by manufacturer, but the general process is:
- Restart your computer
- Press BIOS key during boot (usually `F2`, `F10`, `F12`, `Del`, or `Esc`)
- **HP:** F10 or Esc
- **Dell:** F2 or F12
- **Lenovo:** F1 or F2
- **ASUS:** F2 or Del
- **Acer:** F2 or Del
- Navigate to **Security** or **Boot** tab
- Find **Secure Boot** option
- Set to **Disabled**
- Change boot order: **USB** should be first or use boot menu
- Save changes and exit (usually F10)
**💡 Note:** Some manufacturers require setting a BIOS supervisor password before you can disable Secure Boot. This is normal security behavior.
### Access Boot Menu
Common boot menu keys:
- **F12:** Most common (Dell, Lenovo, HP, ASUS)
- **F9:** HP
- **F8:** ASUS
- **Esc:** HP, Sony
Press repeatedly during boot to access one-time boot device menu.
## Step 5: Boot Kali Linux Installer
- Insert your Kali Linux bootable USB drive
- Restart your computer
- Press the boot menu key (usually F12)
- Select your USB drive from the boot menu
- Choose **Graphical Install** from Kali boot menu
The Kali Linux installer will load. This may take 1-2 minutes.
### Initial Installation Screens
- **Language:** Select English (or your preference)
- **Location:** Choose your country
- **Keyboard:** Select keyboard layout (usually American English)
- **Hostname:** Enter a name (e.g., "kali" or "pentestbox")
- **Domain:** Leave blank for home use
- **Full Name:** Enter your name
- **Username:** Create username (lowercase, no spaces)
- **Password:** Create strong password (will be sudo password)
## Step 6: Kali Installation — Partitioning (CRITICAL STEP)
This is the most critical step for **dual boot Kali Linux Windows**. One wrong selection can erase Windows.
### Partitioning Method Selection
When you reach "Partition disks" screen:
- Select **Manual** (do NOT use "Guided - use entire disk")
- You'll see a list of partitions and free space
### Understanding Your Disk Layout
Typical Windows UEFI disk layout:
`# Example disk structure
/dev/sda
├── EFI System Partition (ESP) - 100-500 MB
├── Microsoft Reserved - 16-128 MB
├── Windows C: (NTFS) - Your Windows installation
├── Recovery Partition (may exist) - 450-1000 MB
└── FREE SPACE - Where Kali will be installed
🚨 CRITICAL: Only modify the "FREE SPACE" entry. DO NOT delete, format, or modify any Windows partitions. Double-check before confirming any changes.
You'll create three partitions in the free space:
Select the FREE SPACE entry
Press Enter, choose Create a new partition
Size: Use most of free space (leave 2-4 GB for swap)
Type: Primary
Location: Beginning
Use as: Ext4 journaling file system
Mount point: / (root)
Mount options: defaults
Select Done setting up this partition
For advanced users, you can create a separate /home partition:
| Root | 35-100 GB | Primary | ext4 | /
| Swap | 2-4 GB | Logical
| swap |
|---|
| Home (optional) | Remaining | Logical | ext4 | /home
The installer will format your new Kali partitions. Windows partitions will NOT be modified.
GRUB (Grand Unified Bootloader) is what lets you choose between Windows and Kali at startup.
Installer will ask: "Install the GRUB boot loader?"
Select Yes
Device for boot loader installation:
⚠️ Important: GRUB must be installed to the main disk (e.g., /dev/sda), not a specific partition. This allows GRUB to detect and boot both Windows and Kali.
GRUB will:
Learn more about GRUB configuration in the official GRUB documentation.
After installation and reboot, you'll see the GRUB boot menu for the first time.
` GNU GRUB version 2.06
┌─────────────────────────────────────────┐ │ *Kali GNU/Linux │ │ Advanced options for Kali GNU/Linux │ │ Windows Boot Manager (on /dev/sda1) │ │ System setup │ └─────────────────────────────────────────┘
Use ↑ and ↓ to select, Enter to boot
### Boot Menu Options
- **Kali GNU/Linux:** Boots Kali (default)
- **Advanced options:** Recovery mode, older kernels
- **Windows Boot Manager:** Boots Windows 10/11
- **System setup:** UEFI firmware settings
### First Login to Kali
- Select **Kali GNU/Linux** and press Enter
- Wait for boot sequence (graphical login screen appears)
- Enter your username and password (created during installation)
- Welcome to your **Kali Linux dual boot** system!
### Changing GRUB Default OS
To set Windows as the default OS that boots automatically:
`# Open GRUB configuration
sudo nano /etc/default/grub
# Find this line:
GRUB_DEFAULT=0
# Change to (Windows is usually option 2):
GRUB_DEFAULT=2
# Or set by name:
GRUB_DEFAULT="Windows Boot Manager (on /dev/sda1)"
# Optional: Change timeout (default 5 seconds)
GRUB_TIMEOUT=10
# Save (Ctrl+O, Enter) and exit (Ctrl+X)
# Update GRUB configuration
sudo update-grub
# Reboot to test
sudo reboot
Important: Test that Windows boots correctly:
After your first successful boot, perform these essential tasks:
`# Update package lists sudo apt update
sudo apt upgrade -y
sudo apt dist-upgrade -y
sudo apt autoremove -y sudo apt clean
### Install Essential Tools
`# Install additional drivers
sudo apt install -y firmware-linux firmware-linux-nonfree
# Install Wi-Fi drivers (if needed)
sudo apt install -y broadcom-sta-dkms # For Broadcom
sudo apt install -y firmware-iwlwifi # For Intel
# Install useful utilities
sudo apt install -y build-essential dkms linux-headers-$(uname -r)
`# Check network interface ip link
sudo ip link set wlan0 up
sudo systemctl restart NetworkManager
#### Time Sync Issues (Windows shows wrong time)
Windows and Linux handle hardware clock differently. Fix with:
`# Make Linux use local time (like Windows)
sudo timedatectl set-local-rtc 1 --adjust-system-clock
# Verify setting
timedatectl
Alternatively, fix Windows to use UTC (requires registry edit in Windows).
First-depositor donation can round the next mint to zero shares. Local toy vault plus OpenZeppelin virtual-offset discussion.
40 min read
Sign in to leave a comment.