Kali Linux Workstation Guide
Portable Kali Linux workstation on a 64 GB SanDisk USB drive, for everyday computing, terminal learning and authorised security labs. Installation record: 26 November 2026. Preserve the working XFCE desktop and the internal Windows/Slackware installation.
Browse Kali Linux Workstation tutorials by category
Confirmed installation progress
Source: Morning Sleep In, 26 November 2026, and preceding Build BSD Workstation discussion. Status reflects reported tests, not a fresh hardware inspection.
- Done Kali installed directly on the front 64 GB SanDisk USB (approximately 57.3 GiB reported).
- Done XFCE-only reinstall completed after Plasma startup stalls.
- Done Kali booted successfully; a successful reboot was reported.
- Done Internal 256 GB NVMe reported untouched.
- Done Wi-Fi/internet operational for streaming.
- Done KDE Connect paired with Pixel 9 Pro XL.
- Done HDMI audio and YouTube tested successfully.
- Done Netflix fullscreen playback reported working.
- Done Discord installed and running; login reported successful.
- Done MPlayer 1.5, VLC 3.0.24 and tmux 3.7c reported installed.
Outstanding post-installation checklist
- To do Confirm root and EFI partitions are on the SanDisk USB; check internal Windows and Slackware still boot independently.
- To do Record Kali release, kernel, free space and package versions.
- To do Make an initial offline USB image before major upgrades.
- To do Complete system updates and test a cold boot.
- To do Confirm Wi-Fi, HDMI audio and KDE Connect persist across multiple restarts.
- To do Sign in to Foxtel Now and test actual playback.
- To do Configure readable black-and-green terminal, four-pane tmux and F12 drop-down terminal.
- To do Confirm automatic KDE Connect startup.
- To do Decide whether to retain XFCE exclusively or trial Plasma after backup.
- To do Verify backup integrity and practise recovery on a spare USB.
Identify the drives safely
Historical device assignments: front SanDisk /dev/sda (Kali), rear Verbatim /dev/sdb (installer, approximately 58.6 GiB), internal /dev/nvme0n1 (approximately 238.5 GiB). These names can change on every boot. Never use historical names as instructions to format or restore a drive.
lsblk -o NAME,SIZE,MODEL,TRAN,FSTYPE,MOUNTPOINTS
findmnt /
findmnt /boot/efi
cat /etc/os-release
uname -r
df -h /
Check model, capacity, mount points and EFI location. Stop if the root or boot files appear on an unexpected disk. An absent EFI mount requires investigation rather than assuming a fault.
System updates
After making the initial backup, use the official Kali repositories only. Check available space and review proposed removals before accepting upgrades. Do not mix Debian or Ubuntu repositories with Kali rolling.
sudo apt update
apt list --upgradable
sudo apt full-upgrade
sudo apt clean
sudo reboot
After reboot, verify network, sound, desktop and streaming. If an update proposes unexpected removal of the desktop or critical packages, cancel and investigate. Keep a non-root daily account.
Desktop and terminal configuration
Current XFCE desktop
Use XFCE Settings to enlarge fonts and adjust display scaling for comfortable viewing on the HDMI television. Select a dark theme and configure the terminal with a black background and readable green text. In the application autostart settings, enable KDE Connect if necessary. Use PulseAudio/PipeWire volume controls to select the HDMI output, then retest after reboot.
Install a drop-down terminal if not already present: sudo apt install xfce4-terminal. In XFCE Keyboard settings, bind F12 to xfce4-terminal --drop-down. Avoid overriding an existing shortcut without checking it.
tmux new -s workstation
Inside tmux, press Ctrl+B then % to split left/right; Ctrl+B then arrow keys to select each pane, and Ctrl+B then double quote to split it top/bottom. Ctrl+B then D detaches; tmux attach -t workstation reconnects.
Optional KDE Plasma trial
Plasma is not the current confirmed desktop. Earlier startup stalls make XFCE the stable baseline. Do not remove XFCE. After an offline backup and adequate free-space check, inspect the available package with apt-cache policy kali-desktop-kde. If a candidate exists, install using sudo apt install kali-desktop-kde, review dependencies and retain a known-working login manager. Log out and select Plasma from the session chooser. Configure System Settings for display scale, fonts, dark theme and HDMI sound. If Plasma fails, select XFCE again. Yakuake is optional for an F12 terminal in Plasma.
USB backups
Use the existing WD Elements 2 TB external drive as a separate backup destination, not the Kali USB itself. Keep the Verbatim installer available. Back up documents, configuration and package lists regularly; protect archives containing credentials.
apt-mark showmanual > ~/kali-manual-packages.txt
dpkg-query -W > ~/kali-installed-packages.txt
For a full disk image, shut down Kali and boot a separate trusted live environment. Connect the external backup disk. Identify all disks again with lsblk and confirm the SanDisk partitions are unmounted. Use a disk imaging application such as GNOME Disks (if available), select the entire SanDisk device, and choose Create Disk Image. Save the image to the external disk in a dated Kali backup folder. Allow at least the full USB capacity in free space; FAT32 cannot store a single image of this size.
Calculate and store a SHA-256 checksum beside the image, using the actual filename: sha256sum kali-usb.img > kali-usb.img.sha256. Verify later from that directory with sha256sum -c kali-usb.img.sha256. A checksum verifies file integrity, not bootability. Test restoration on a spare drive of equal or greater actual capacity.
Recovery procedures
- If Kali will not boot, remove unrelated USB devices and use the Dell F12 one-time boot menu to select the SanDisk UEFI entry.
- If the graphical desktop stalls, try Ctrl+Alt+F2 or F3 for a text console. Check
df -h,systemctl --failedandjournalctl -b -p err. A temporary GRUBnomodesetworkaround was previously attempted; use only for diagnosis, not as a permanent default. - If an upgrade was interrupted, and the correct Kali system is running with adequate space, use
sudo dpkg --configure -afollowed bysudo apt --fix-broken install; review proposed changes. - If the filesystem or bootloader is damaged, boot the separate installer/live USB and identify the correct disk. Back up readable files before repair. Never run filesystem repair on a mounted filesystem or reinstall GRUB to an unverified disk.
- If recovery fails, restore the verified disk image to a spare USB using a trusted imaging application. Restoring overwrites the entire selected destination. Disconnect the internal drive if practical or explicitly verify it is not selected. Boot the restored USB and test files, networking and audio.
Safe ethical security testing
Use only systems you own or have explicit permission to test, within a defined scope. Keep vulnerable practice systems on an isolated host-only network without public exposure. Do not scan public services, shared networks or other people's devices without authorisation. Avoid credential collection, interception of other people's traffic, persistence and destructive tests.
Begin with local inventory (ip addr, ss -tuln), synthetic packet captures and defensive configuration checks. Use intentionally vulnerable training machines or authorised CTF environments. Record scope, observations, remediation and retest results. Keep lab data separate from personal accounts and back up before experiments.
Related guide · Metasploit — Understanding Post-Exploitation and Defensive Security
Website Defacement — Detect, Investigate and Recover with Kali Linux combines file integrity checks, evidence preservation and local recovery in an intermediate digital forensics lab.
Maintenance record
Record each change with date, command or setting, outcome, reboot result and backup location. Mark checklist items complete only after testing. Prioritise the first verified USB backup, then updates and persistence checks, before optional Plasma experiments.