← Back to Home
Introduction
This guide will help you install Kali Linux inside a Virtual Machine safely using
VirtualBox.
Kali Linux is used for:
- Ethical Hacking
- Cybersecurity Practice
- Network Analysis
- Penetration Testing
⚠️ Important: Use only for legal and educational purposes.
System Requirements
RAM
Minimum: 8GB
Recommended: 16GB
Storage
Free Space: 100GB
Processor
Intel i5 / Ryzen 5 or above
BIOS
Virtualization enabled
Required Downloads
Download from official websites only:
2️⃣ Kali Linux ISO
Official Website:
https://www.kali.org/get-kali/
✔ Download: Installer ISO (64-bit)
✔ File Size: ~4GB
❌ Do NOT download ARM version
- Open downloaded file
- Click
Next → Next → Install
- Allow network driver installation
- Click
Finish
- Restart system if required
- Press
Ctrl + Shift + Esc
- Go to Performance → CPU
- Check "Virtualization"
If Disabled:
- Restart PC
- Enter BIOS (
F2 / DEL / F10)
- Enable Intel VT-x or SVM Mode
- Save & Exit
1. Open VirtualBox
Click "New"
2. Fill Basic Information
- Name: Kali Linux
- Type: Linux
- Version: Debian (64-bit)
Click Next
3. Allocate RAM
- Minimum: 4GB
- Recommended: 6GB (if you have 16GB)
Click Next
4. Allocate CPU
Go to Processor tab:
- Minimum: 2 cores
- Recommended: 4 cores
Click OK
5. Create Virtual Hard Disk
Choose:
- Create new disk
- VDI
- Dynamically allocated
- 60GB size
Click Finish
- Go to Settings → Storage
- Click Empty
- Choose Kali ISO file
- Click OK
- Click Start
- Choose Graphical Install
- Select Language
- Select Location
- Select Keyboard
- Create Username & Password
Remember password carefully!
Disk Partition
Select:
- Guided – Use Entire Disk
- All files in one partition
- Finish partitioning
⏱️ Installation takes approximately 20 minutes
After completion:
Inside Kali Terminal, run these commands:
sudo apt update
sudo apt upgrade -y
sudo apt install -y virtualbox-guest-x11
sudo reboot
This enables:
- ✔ Full screen mode
- ✔ Smooth mouse integration
- ✔ Better graphics performance
Network Settings
Default Mode: NAT (Safe for Beginners)
If required:
- Settings → Network → Change to Bridged Adapter
TROUBLESHOOTING SECTION
❌ Problem 1: 64-bit option not visible
Solution:
- Enable Virtualization in BIOS
- Disable Hyper-V (in Windows Features)
❌ Problem 2: Black Screen After Boot
Solution:
- Increase Video Memory to 128MB
- Enable 3D Acceleration
- Try disabling EFI
❌ Problem 3: Very Slow Performance
Solution:
- Increase RAM allocation
- Increase CPU cores
- Close background applications
- Use SSD instead of HDD
❌ Problem 4: "Kernel Panic" Error
Solution:
- Re-download ISO file
- Verify ISO checksum from official site
❌ Problem 5: Internet Not Working
Solution:
- Settings → Network → Change to NAT
- Restart VM
FINAL CHECKLIST
Before starting cybersecurity lab:
- ✔ Kali installed successfully
- ✔ Guest Additions installed
- ✔ Internet working
- ✔ Snapshot created
To create snapshot:
VirtualBox → Machine → Take Snapshot
Recommended Next Steps
After installation:
1. Learn Linux Commands
Master basic terminal operations
2. Practice Nmap
Network scanning fundamentals
3. Setup Vulnerable Lab
Create safe testing environment
4. Learn Networking
Understand TCP/IP basics