Technologytech

How To Install Linux Ubuntu On A Solid State Drive

how-to-install-linux-ubuntu-on-a-solid-state-drive

To install Ubuntu on an SSD, start by downloading the Ubuntu Desktop ISO image from the official Ubuntu website, then create a bootable USB drive to begin the installation. This step-by-step guide walks you through preparation, installation, and essential post-install optimizations to ensure your system runs fast and reliably.

Before you install Ubuntu on SSD: what you need

Before you begin, gather the following items and complete these checks to ensure a smooth installation. First, verify your computer meets Ubuntu's minimum system requirements, including adequate CPU, RAM, and disk space. Back up all important data, documents, photos, videos, to an external drive or cloud storage; while the installer is reliable, unexpected issues can occur. Download the Ubuntu Desktop ISO image from the official Ubuntu website, choosing the correct version (64-bit is standard for modern systems). Finally, select a USB drive with at least 8GB of storage; this will become your bootable installation media.

Create a bootable Ubuntu USB drive

Simply copying the ISO file to a USB drive will not work. You must use dedicated software to write the image properly. On Windows, use Rufus; on macOS or Linux, use balenaEtcher. Both tools are free and straightforward:

  1. Insert your USB drive and launch the software.
  2. Select the downloaded Ubuntu ISO file.
  3. Choose your USB drive as the target device.
  4. Start the writing process; the software will create a bootable drive automatically.
  5. When finished, safely eject the USB drive.

Boot from the USB and start the installer

Insert the bootable USB into your computer and restart it. During startup, press a specific key, commonly F12, Escape, F2, or F10, to access the system boot menu. From the list of devices, select your USB drive. The computer will then load the Ubuntu environment. You will see two options: "Try Ubuntu" lets you test hardware compatibility without making permanent changes, while "Install Ubuntu" proceeds directly to installation. Choose "Install Ubuntu" to continue.

Install Ubuntu on your SSD step by step

The Ubuntu installer guides you through a series of clear screens. Follow these steps:

  1. Select your preferred language and keyboard layout.
  2. Optionally connect to a network; this allows the installer to download updates and third-party drivers during installation.
  3. On the "Installation type" screen, choose how to set up your SSD. The installer automatically aligns partitions to optimal boundaries (typically 1MB) for SSD performance, so no manual adjustment is needed.
  4. Confirm your selection and click "Install Now".
  5. Set your timezone and create your user account with a username and password.
  6. The installer copies files and configures the system. When complete, you will be prompted to restart. Remove the USB drive and click "Restart Now".

Configure boot order to prioritize your SSD

After installation, your system may still try to boot from other drives. To ensure it starts directly from your SSD, enter your BIOS or UEFI settings by pressing the appropriate key (often F2, F10, or Del) during startup. Navigate to the boot order or boot sequence section, locate your SSD in the device list, and move it to the top. Save the changes and exit. On the next restart, your computer will boot directly into Ubuntu from the SSD.

Optimize Ubuntu for your SSD after installation

Once Ubuntu is running, a few adjustments will keep your SSD performing well for years. Modern Ubuntu includes a built-in service that runs TRIM automatically on a weekly schedule. TRIM is essential for SSD health because it tells the drive which data blocks are no longer in use, allowing the drive to maintain write speed and longevity. To verify this is active, open a terminal and run systemctl status fstrim.timer; the output should show it as enabled and running. If it isn't, you can enable fstrim and optimize SSD lifespan on Linux after install with a few simple commands. Do not enable the "discard" mount option in /etc/fstab for continuous TRIM, this can degrade performance and interfere with the SSD's wear-leveling algorithms. The periodic TRIM method used by fstrim.timer is the recommended approach.

Swap file size matters for SSD longevity. For systems with less than 2GB of RAM, use a swap file twice the size of RAM. For 2-8GB RAM, use a swap file equal to RAM size. For systems with 8-64GB RAM, a minimum of 4GB swap is sufficient. You can also reduce how aggressively Ubuntu uses swap by adjusting the swappiness kernel parameter. Setting swappiness to a value between 10 and 30 is recommended for desktop installations on SSDs, as it keeps the system from writing to swap unnecessarily. To set this temporarily, run sudo sysctl vm.swappiness=10; to make it permanent, add vm.swappiness=10 to /etc/sysctl.conf. With these optimizations in place, your Ubuntu installation on the SSD will deliver fast boot times, responsive performance, and reliable operation.

For the wider topic, see install Linux on SSD.

Sources

The steps on this page were checked against the following documentation. Last verified 16 September 2026.

  1. Tohttps://dev.to/james_mugambi_494c7da2b07/how-to-install-ubuntu-on-your-laptop-or-desktop-a-step…
  2. Ubuntuhttps://ubuntu.com/desktop/docs/en/latest/tutorial/install-ubuntu-desktop/
  3. Ubuntuhttps://ubuntu.com/desktop/docs/en/latest/tutorial/try-ubuntu-desktop/
  4. Ubuntuhttps://ubuntu.com/tutorials/install-ubuntu-desktop
  5. Linuxteckhttps://www.linuxteck.com/install-ubuntu-24-04-lts-step-by-step/
  6. Nlhttps://handbook.d-centralize.nl/setup/windows/external_drive_ubuntu/

About the author

Nestled in the tech-savvy streets of San Francisco, Malanie Hopson champions the vibrant world of indie gaming with a fervor that's contagious. Her mission at Robots.

View all 80 articles by Malanie Hopson  ·  Our editorial policy

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Stories