It was dying in a drawer and I turned it into this:
ONE LAPTOP
β
βββ π§ Fedora β coding, Docker, daily driver
βββ π‘οΈ Kali β pentest, security labs
Here's the trip: what I did, what broke, what I'd do differently.
Why bother?
- Full hardware access (no VM slowdown)
- Free β no new hardware needed
- Old laptops deserve a second life
The plan
SSD β Kali (small) + Fedora (big, main driver)
HDD β just files (/dados)
Step 1 β Install Kali, partition it manually
Guided partitioning eats the whole disk. Don't use it. Go manual:
SSD
βββ EFI β 512 MB β /boot/efi
βββ ext4 β rest β /
HDD
βββ ext4 β all β /dados
Rules that saved me:
- Pick disks by model, never by name (
sdacan change) - Check "Use as:" on every partition before moving on
- Read the final "write to disk?" screen. Every word.
Step 2 β Black screen on first boot
Scary. Almost always one simple fix:
Boot Mode: Legacy Support β
β
Boot Mode: UEFI Only β
Still black? Add nomodeset to the boot line and try again.
Step 3 β Check before you touch anything
lsblk -f
sudo fdisk -l
df -hT
My Kali partition:
Claimed: 447 GB
Used: 18 GB (5%)
Huge safe gap β easy to shrink, zero risk to files.
Step 4 β Install Fedora next to Kali (no wipe)
In the installer:
"Use entire disk" β wipes everything
"Share disk with other OS" β
this one
It offers "Reclaim space" β shrinks Kali live, no extra tools needed.
BEFORE AFTER
Kali: 480 GB β Kali: 100 GB
Fedora: 380 GB (encrypted, new)
Confirm screen, hit install, done in ~10 min.
Step 5 β "bad shim signature" β Kali won't boot anymore
Fedora's bootloader β trusted β
Kali's kernel β not trusted β
β
Secure Boot blocks it
Fix: turn off Secure Boot in BIOS (Security tab). Fedora doesn't care. Kali boots again.
Step 6 β Clean up the GRUB mess
Two distros + old kernels + recovery modes = 8 menu entries. Fix it in 2 moves:
1. Drop old kernels:
# Fedora
sudo dnf remove --oldinstallonly --setopt installonly_limit=2 -y
# Kali (check exact name first!)
dpkg --list | grep linux-image
sudo apt purge -y linux-image-OLD-VERSION+kali-amd64
sudo apt autoremove -y
sudo update-grub
2. Kill recovery-mode duplicates:
echo 'GRUB_DISABLE_RECOVERY="true"' | sudo tee -a /etc/default/grub
sudo update-grub
8 entries β 4 entries
Step 7 β Make it pretty + make it yours
-
GRUB_TIMEOUT=-1β menu waits, no countdown race - grub2-themes β real GRUB theme in 2 commands
-
hostnamectl set-hostname kaliβ fixes your terminal prompt - Second keyboard layout, one toggle:
echo 'XKBLAYOUT="br,us"' | sudo tee -a /etc/default/keyboard
echo 'XKBOPTIONS="grp:alt_shift_toggle"' | sudo tee -a /etc/default/keyboard
sudo dpkg-reconfigure -f noninteractive keyboard-configuration
What I'd do differently
- Check Secure Boot before starting, not after a scary error
- Always
lsblk -ffirst. I got this one right β kept it that way - Pick disks by model, never by name
- Measure before you shrink
- Read every confirm screen. Every time.
Got an old laptop doing nothing? This is a weekend project, not a wizard-level one. Go dig it out.


Top comments (0)