Linux Boot Repair (Debian/Ubuntu)

Linux Boot Repair Guide (Debian/Ubuntu) Introduction Boot issues in Debian or Ubuntu can prevent your system from starting, often due to a corrupted GRUB bootloader, misconfigured partitions, or kernel problems. This guide provides step-by-step instructions to repair the boot process for both UEFI and Legacy (BIOS/MBR) systems using a live USB/CD. It covers GRUB reinstallation, partition setup, and troubleshooting common issues. Prerequisites A Debian or Ubuntu live USB/CD (preferably the same version as your system). Access to a live session by booting from the live media and selecting “Try Ubuntu/Debian.” Basic familiarity with the terminal. Administrative (root) privileges in the live environment. Critical Warning: Verify Partitions Before Formatting ⚠️Warning Extreme Caution: Before formatting any partition, use lsblk or fdisk -l to verify that you are selecting the correct disk and partition (e.g., EFI System Partition or root partition). Formatting the wrong partition can erase your data or critical files. Always double-check the disk and partition layout to avoid data loss. Linux Boot Repair ℹ️Info Tested for real (2026-11-14): the commands below were run on virtual machines broken on purpose - Ubuntu 26.04 on UEFI with its EFI System Partition emptied, Ubuntu 24.04 on BIOS with the boot code wiped from the MBR - from the Ubuntu live media, and both systems started again. In the VMs the disk was /dev/vda; on a PC it is usually /dev/sda, or /dev/nvme0n1 with partitions nvme0n1p1, nvme0n1p2. First: UEFI or BIOS? From the live session: ...

September 27, 2025 · 7 min · 1383 words · Manzolo

Windows Boot Repair

Windows Boot Repair Guide Introduction Windows boot issues can prevent your system from starting correctly, often due to corrupted boot files, misconfigured partitions, or firmware settings. This guide provides step-by-step instructions to repair Windows boot problems for both UEFI and MBR/Legacy systems using the Windows Recovery Environment (WinRE) command prompt. It covers partition setup, boot configuration rebuilding, and troubleshooting common issues. Prerequisites A Windows installation USB or DVD with the same version as your system. Access to the Windows Recovery Environment (WinRE) by booting from the installation media and selecting “Repair your computer.” Basic familiarity with the Command Prompt. Administrative privileges in the recovery environment. Critical Warning: Verify Partitions Before Formatting ⚠️Warning Extreme Caution: Before formatting any partition, use diskpart’s list disk and list part commands to verify that you are selecting the correct disk and partition (e.g., the EFI System Partition or system partition). Formatting the wrong partition can erase your Windows data or other critical files. Always double-check the disk and partition layout to ensure you are not deleting your data drive. Windows Boot Repair UEFI Boot Repair UEFI systems use an EFI System Partition (ESP) to store boot files. If the ESP is missing, corrupted, or misconfigured, Windows may fail to boot. ...

September 27, 2025 · 7 min · 1355 words · Manzolo

Windows System Repair and Maintenance

💊 Quick Pill: Windows System Repair ℹ️Info Use case: Fix corrupted Windows system files, repair Windows Update issues, resolve DLL errors, and restore system health. 🧭 The order is the whole trick Almost every “Windows repair” script on the internet gets this backwards, and so did the first version of this page. The correct order is: ...

October 5, 2025 · 11 min · 2341 words · Manzolo

Chroot Guide for Debian/Ubuntu

Chroot Guide for Debian/Ubuntu Introduction A chroot (change root) environment allows you to switch the root directory of a Linux session to a different filesystem, enabling you to work within a broken or inaccessible Debian/Ubuntu system as if it were the active system. This is particularly useful for repairing boot issues, recovering files, updating configurations, or resetting passwords. This guide provides step-by-step instructions to set up a chroot environment from a Debian/Ubuntu live USB/CD. ...

September 27, 2025 · 5 min · 1002 words · Manzolo

Network Traffic Analysis with Wireshark (Debian/Ubuntu)

Network Traffic Analysis with Wireshark (Debian/Ubuntu) ℹ️Info Use case: see what really travels on the wire - which request a program sends, why a connection fails, what a device talks to. Everything below was run on 2026-11-14 with Wireshark 4.2.2 on Ubuntu 24.04: outputs and screenshots come from that machine. 🧭 Two filter languages, and they are not the same Wireshark has two kinds of filters, and most of the confusion comes from mixing them: ...

October 4, 2025 · 6 min · 1102 words · Manzolo

Network Traffic Analysis with tcpdump (Debian/Ubuntu)

Network Traffic Analysis with tcpdump (Debian/Ubuntu) Introduction tcpdump is a lightweight, command-line packet capture tool for analyzing network traffic on Linux systems. It’s ideal for server environments or quick diagnostics without a GUI, complementing tools like Wireshark. This guide covers installing tcpdump on Debian/Ubuntu, capturing traffic on a network interface, applying filters, saving captures to PCAP files, and analyzing them with tcpdump or Wireshark. It includes examples for monitoring HTTP traffic, debugging connectivity, and remote capturing. ...

October 4, 2025 · 6 min · 1156 words · Manzolo

Reading Windows Logs: From Error Code to Root Cause

💊 Quick Pill: Reading Windows Logs ℹ️Info Use case: SFC, DISM or Windows Update failed with a message that explains nothing. Instead of running the same commands again and hoping for a different result, find out what actually broke. 🧭 The tool that reports the error is not the tool that explains it This is the whole idea of this page, and it is worth stating plainly: ...

September 18, 2026 · 14 min · 2913 words · Manzolo

Network Troubleshooting: A Layered Diagnostic Method

Network Troubleshooting: A Layered Diagnostic Method ℹ️Info Use case: a machine on the LAN does not respond, or responds halfway. Instead of trying commands at random, work out which layer the problem is actually on. 🧭 You diagnose from the bottom up Cable, link, IP, gateway, DNS, port, application. In that order. ...

September 18, 2026 · 22 min · 4557 words · Manzolo