This guide shows you how to reinstall Linux Mint while keeping your personal files and most of your system settings intact. You’ll end up with a fresh operating system, but your documents, photos, and application configurations will survive the process.
What You’ll Need
- A USB drive (at least 4 GB) or a DVD with the Linux Mint installation media.
- A backup of your important data (external drive, cloud storage, or another partition).
- Your Linux Mint installation ISO (download from the official Linux Mint website).
- An internet connection (optional, but recommended for updates).
- About 30–60 minutes of uninterrupted time.
Step-by-Step
- Back up your data. Before doing anything, copy your personal files (Documents, Pictures, Music, Videos, Downloads) to an external drive or cloud service. Also, make a list of installed applications with
dpkg --get-selections > packages.txtin a terminal, and back up that file. - Back up your settings. Copy hidden configuration folders (those starting with a dot) from your home directory to your backup location. For example,
.config,.mozilla, and.thunderbirdcontain settings for many apps. You can also use the built-in backup tool (Backup Tool) to save your settings and software selections. - Create a bootable USB. Use a tool like Rufus (Windows), balenaEtcher (any OS), or the built-in USB Image Writer (Linux Mint) to write the ISO to your USB drive. This will erase the USB drive, so use one without important data.
- Boot from the USB. Restart your computer and enter the boot menu (usually by pressing F12, F2, Esc, or Del during startup). Select the USB drive as the boot device. If your computer uses UEFI, make sure the USB is booted in UEFI mode.
- Start the installer. Once the live environment loads, double-click “Install Linux Mint” on the desktop. Choose your language, keyboard layout, and whether to install third-party software (recommended for media codecs).
- Choose the installation type. When you reach the “Installation type” screen, select “Something else” (manual partitioning). This is crucial to avoid wiping your data.
- Identify your partitions. In the partitioning tool, you’ll see a list of partitions. Find the one that is your current Linux Mint root partition (usually mounted as
/). It will be formatted with ext4 and have a size matching your previous installation. Also, identify your home partition if you have one (often mounted as/home). - Set the root partition. Select the root partition and click “Change”. Set “Use as” to
ext4(or the same filesystem you had), check the “Format” box, and set the mount point to/. This will wipe only the system files, not your home directory (if it’s on a separate partition). - Set the home partition (if you have one). If you have a separate
/homepartition, select it, click “Change”, set “Use as” toext4, do NOT check “Format”, and set the mount point to/home. This preserves your personal files and settings. - Set the swap area. If you have a swap partition, select it and set “Use as” to
swap area. Do not format it unless you want to clear it. - Install now. After setting all partitions, click “Install Now”. The installer will ask you to confirm the changes. Review carefully, then continue.
- Complete the installation. Choose your time zone, create a username and password (you can use the same as before to keep settings), and wait for the installation to finish.
- Restore your data. After rebooting into your new system, copy your personal files back from the backup. Restore your package list with
sudo dpkg --set-selections < packages.txtand thensudo apt-get dselect-upgradeto reinstall your applications. - Restore settings. Copy back the hidden configuration folders you backed up, but be careful: some settings may be incompatible with the new version. It's safer to restore only specific settings for apps you use, and let others start fresh.
Common Mistakes
- Not backing up. Even if you have a separate home partition, things can go wrong. Always back up.
- Formatting the home partition. If you check “Format” on the home partition, you lose all your data. Double-check before clicking.
- Choosing the wrong drive. If you have multiple drives, make sure you're installing to the correct one. The installer shows drive sizes, so verify.
- Forgetting to set the bootloader. In the “Something else” screen, the bootloader device should be set to the disk where you want GRUB installed (usually the same disk as the root partition).
- Using the same username but different case. Linux is case-sensitive, so “John” and “john” are different. Use exactly the same username to keep home folder permissions.
Tips
- Use the Backup Tool included with Linux Mint to create a full backup of your home directory and installed packages before reinstalling.
- If you don't have a separate home partition, consider creating one during the reinstall. It makes future reinstalls much easier.
- Write down your partition layout before starting, so you can reference it during installation.
- Keep your packages.txt file on the backup drive, not on the system partition.
- After reinstalling, run
sudo apt update && sudo apt upgradeto get the latest updates.
Troubleshooting
- Installer doesn't see your partitions. This can happen if the disk is encrypted or if the partition table is corrupted. Try booting the live USB and running
sudo fdisk -lto see if the partitions are visible. If not, you may need to use GParted to repair the partition table. - Boot fails after installation. This is often a bootloader issue. Boot from the live USB, open a terminal, and reinstall GRUB:
sudo mount /dev/sdXY /mnt(where sdXY is your root partition), thensudo grub-install --boot-directory=/mnt/boot /dev/sdX(where sdX is your disk). - Home folder has wrong permissions. If you can't access your home folder, you may have used a different username. Boot from the live USB, mount your home partition, and fix ownership with
sudo chown -R youruser:youruser /mnt/home/youruser. - Applications are missing. If you didn't back up your package list, you'll need to reinstall them manually. Check the Software Manager for your commonly used apps.
- Settings didn't restore. Some settings are tied to the desktop environment version. If you upgraded to a newer Mint release, old settings may be ignored. Start fresh for those apps and reconfigure them.
Frequently Asked Questions
Will I lose my files if I reinstall Linux Mint?
If you have a separate home partition and you do not format it, your files will be preserved. If you don't, you must back up your files externally before reinstalling.
Can I reinstall without a USB drive?
Yes, you can boot from a DVD if you have one, or use a network boot (PXE) if your system supports it. However, a USB drive is the most common and easiest method.
Do I need to back up my installed applications?
Not necessarily, but it's helpful. You can create a list of installed packages with dpkg --get-selections and restore them after reinstalling, saving time.
What if I don't have a separate home partition?
You can still reinstall without losing data, but you must back up your home folder to an external drive and restore it after installation. This is more time-consuming but works.
Will my desktop settings (wallpaper, themes) be preserved?
If you have a separate home partition and do not format it, your desktop settings will be preserved. If not, you'll need to back up the configuration files (e.g., .config folder) and restore them.
Can I reinstall Linux Mint over an older version without losing data?
Yes, the process is the same. However, major version upgrades (e.g., from Mint 20 to 21) may have different default settings, and some old configuration files might cause issues. It's often safer to start fresh for the desktop environment.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Mir4 Crashing on PC: 7 Working Solutions
- How to Use Multiple Stops in Google Maps
- How to Fix HDMI No Signal on a Mini PC
- How to Install a CPU on a Motherboard
- Snapchat How to Get More Views: 12 Proven Tips
- Edit PDFs in Windows 11: Built-In Ways