<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Recovery on Manzolo Code Notes</title><link>https://notes.manzolo.it/tags/recovery/</link><description>Recent content in Recovery on Manzolo Code Notes</description><generator>Hugo -- 0.152.2</generator><language>en-US</language><lastBuildDate>Sat, 27 Sep 2025 15:36:00 +0200</lastBuildDate><atom:link href="https://notes.manzolo.it/tags/recovery/index.xml" rel="self" type="application/rss+xml"/><item><title>Linux Boot Repair (Debian/Ubuntu)</title><link>https://notes.manzolo.it/2025/09/linux-boot-repair-debian/ubuntu/</link><pubDate>Sat, 27 Sep 2025 15:34:00 +0200</pubDate><guid>https://notes.manzolo.it/2025/09/linux-boot-repair-debian/ubuntu/</guid><description>&lt;h1 id="linux-boot-repair-guide-debianubuntu"&gt;Linux Boot Repair Guide (Debian/Ubuntu)&lt;/h1&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;A Debian or Ubuntu live USB/CD (preferably the same version as your system).&lt;/li&gt;
&lt;li&gt;Access to a live session by booting from the live media and selecting &amp;ldquo;Try Ubuntu/Debian.&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Basic familiarity with the terminal.&lt;/li&gt;
&lt;li&gt;Administrative (root) privileges in the live environment.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="critical-warning-verify-partitions-before-formatting"&gt;Critical Warning: Verify Partitions Before Formatting&lt;/h2&gt;
&lt;div class="callout callout--yellow" role="alert"&gt;
&lt;div class="callout-header"&gt;
&lt;span class="callout-icon"&gt;⚠️&lt;/span&gt;&lt;span class="callout-title"&gt;Warning&lt;/span&gt;&lt;/div&gt;
&lt;div class="callout-content"&gt;
&lt;strong&gt;Extreme Caution&lt;/strong&gt;: Before formatting any partition, use &lt;code&gt;lsblk&lt;/code&gt; or &lt;code&gt;fdisk -l&lt;/code&gt; 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.
&lt;/div&gt;
&lt;/div&gt;
&lt;style&gt;
.callout {
margin: 1.5rem 0;
padding: 1rem;
border-radius: 8px;
border-left: 4px solid;
background-color: var(--callout-bg);
border-color: var(--callout-border);
}
.callout-header {
display: flex;
align-items: center;
font-weight: 600;
margin-bottom: 0.5rem;
}
.callout-icon {
margin-right: 0.5rem;
font-size: 1.1em;
}
.callout-title {
text-transform: uppercase;
font-size: 0.85em;
letter-spacing: 0.5px;
}
.callout-content {
margin: 0;
}
.callout-content p:last-child {
margin-bottom: 0;
}
:root {
--callout-blue-bg: #e3f2fd;
--callout-blue-border: #2196f3;
--callout-green-bg: #e8f5e8;
--callout-green-border: #4caf50;
--callout-yellow-bg: #fff8e1;
--callout-yellow-border: #ff9800;
--callout-red-bg: #ffebee;
--callout-red-border: #f44336;
--callout-purple-bg: #f3e5f5;
--callout-purple-border: #9c27b0;
}
[data-theme="dark"] {
--callout-blue-bg: #1a2942;
--callout-blue-border: #64b5f6;
--callout-blue-text: #90caf9;
--callout-green-bg: #1b3a2f;
--callout-green-border: #66bb6a;
--callout-green-text: #81c784;
--callout-yellow-bg: #3a3420;
--callout-yellow-border: #c9b382;
--callout-yellow-text: #e8d7a8;
--callout-red-bg: #2d2020;
--callout-red-border: #d48888;
--callout-red-text: #e6a8a8;
--callout-purple-bg: #2d1b4e;
--callout-purple-border: #ba68c8;
--callout-purple-text: #ce93d8;
}
.callout--blue {
--callout-bg: var(--callout-blue-bg);
--callout-border: var(--callout-blue-border);
color: var(--callout-blue-border);
}
.callout--green {
--callout-bg: var(--callout-green-bg);
--callout-border: var(--callout-green-border);
color: var(--callout-green-border);
}
.callout--yellow {
--callout-bg: var(--callout-yellow-bg);
--callout-border: var(--callout-yellow-border);
color: var(--callout-yellow-border);
}
.callout--red {
--callout-bg: var(--callout-red-bg);
--callout-border: var(--callout-red-border);
color: var(--callout-red-border);
}
.callout--purple {
--callout-bg: var(--callout-purple-bg);
--callout-border: var(--callout-purple-border);
color: var(--callout-purple-border);
}
[data-theme="dark"] .callout--blue {
color: var(--callout-blue-text);
}
[data-theme="dark"] .callout--green {
color: var(--callout-green-text);
}
[data-theme="dark"] .callout--yellow {
color: var(--callout-yellow-text);
}
[data-theme="dark"] .callout--red {
color: var(--callout-red-text);
}
[data-theme="dark"] .callout--purple {
color: var(--callout-purple-text);
}
@media (max-width: 768px) {
.callout {
margin: 1rem -1rem;
border-radius: 0;
padding: 1rem;
}
}
&lt;/style&gt;
&lt;h2 id="linux-boot-repair"&gt;Linux Boot Repair&lt;/h2&gt;
&lt;h3 id="uefi-boot-repair"&gt;UEFI Boot Repair&lt;/h3&gt;
&lt;p&gt;UEFI systems use an EFI System Partition (ESP) to store GRUB and boot files. If the ESP is missing, corrupted, or misconfigured, the system may fail to boot.&lt;/p&gt;</description></item><item><title>Chroot Guide for Debian/Ubuntu</title><link>https://notes.manzolo.it/2025/09/chroot-guide-for-debian/ubuntu/</link><pubDate>Sat, 27 Sep 2025 15:36:00 +0200</pubDate><guid>https://notes.manzolo.it/2025/09/chroot-guide-for-debian/ubuntu/</guid><description>&lt;h1 id="chroot-guide-for-debianubuntu"&gt;Chroot Guide for Debian/Ubuntu&lt;/h1&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;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.&lt;/p&gt;</description></item></channel></rss>