DEV Community

Cover image for How to install Kali Linux CLI on Chromebook without enabling linux environment
~ Umair Shakoor
~ Umair Shakoor

Posted on

How to install Kali Linux CLI on Chromebook without enabling linux environment

Ultimate Kali Linux on Chromebook Guide

For HP 11a G5 | With Nuclear Fix & Pro Tips


๐Ÿ”ฅ Prerequisites

  1. Developer Mode Enabled (Wipes data! Backup first)
  2. Stable Internet Connection
  3. Minimum 2GB Free Space

โšก Installation Process

1. Enable Developer Mode

1. Power off โ†’ Hold [ESC] + [Refresh] + Press [Power]
2. Press [CTRL+D] โ†’ Confirm [Press Enter]
3. Wait 15-20 mins (will reboot twice)
4. Press [CTRL+D] again at scary screen
Enter fullscreen mode Exit fullscreen mode

2. Download Crouton via Crosh

1. Press Ctrl + Alt + T
2. Run command *shell*
3. Run command *curl -L https://goo.gl/fd3zc -o ~/Downloads/crouton* to automatically download crouton in Downloads folder
Enter fullscreen mode Exit fullscreen mode

3. Install Kali Linux

Standard Method:

sudo sh ~/Downloads/crouton -t cli-extra -r kali-rolling
Enter fullscreen mode Exit fullscreen mode

๐Ÿš€ Nuclear Fix (For Permission Errors)

sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton
sudo crouton -t cli-extra -r kali-rolling
Enter fullscreen mode Exit fullscreen mode

Still stuck? Try:

sudo bash ~/Downloads/crouton -t cli-extra -r kali-rolling
Enter fullscreen mode Exit fullscreen mode

๐Ÿ’Ž Pro Checks:

# Verify storage
df -h | grep '/dev/mmcblk'

# Check file integrity
file ~/Downloads/crouton  # Should show "Bourne-Again shell script"
Enter fullscreen mode Exit fullscreen mode

๐ŸŽฏ Post-Install Setup

Enter Kali Terminal

sudo enter-chroot -n kali-rolling
Enter fullscreen mode Exit fullscreen mode

Switch Between OSes

Action Command
ChromeOS โ†’ Kali sudo enter-chroot -n kali-rolling
Kali โ†’ ChromeOS CTRL+ALT+SHIFT+BACK or exit

โš ๏ธ Critical Warnings

  1. Never press SPACE/BACKSPACE at boot (Wipes everything!)
  2. Developer Mode disables auto-updates
  3. Kali is temporary - Tools disappear after wipe

โ™ป๏ธ Maintenance Guide

Backup Tools List

apt list --installed > ~/kali-tools.txt
Enter fullscreen mode Exit fullscreen mode

Reinstall After Wipe

1. Re-enable Developer Mode
2. sudo sh ~/Downloads/crouton -t cli-extra -r kali-rolling
3. xargs -a ~/kali-tools.txt sudo apt install -y
Enter fullscreen mode Exit fullscreen mode

๐Ÿ’ก Expert Tips

  • Daily Driver? Stay on Stable Channel
  • Need GUI? Add -t x11,xiwi to install command
  • Save Space: Run sudo apt clean monthly

๐ŸŽ‰ Congratulations!

Your Chromebook is now a stealth hacking machine.

Top comments (0)