Ubuntu Installer Not Detecting Hard Drive (SATA or NVMe): One of the most frustrating issues when installing Ubuntu is when the installer cannot find your hard drive. This often happens with both SATA HDDs/SSDs and modern NVMe drives. Even if the disk shows up in fdisk -l or GParted, the Ubuntu installer may fail to detect it.

The most common cause? Leftover RAID metadata or incorrect BIOS/UEFI settings. Luckily, the fix is straightforward. This guide will show you how to resolve the Ubuntu installer not detecting hard drive error step by step.
Summary:
If your Ubuntu installer is not detecting your hard drive (SATA or NVMe), this post covers:
- Common causes to investigate, including storage-controller settings such as Intel RST/firmware RAID, missing driver support, or stale RAID metadata.
- Step by step terminal instructions to clean the drive with
wipefsormdadm. - How to investigate storage-controller settings and, only when appropriate, switch from Intel RST/RAID to AHCI after preparing any existing Windows installation to avoid making it unbootable.
- Extra troubleshooting tips if your disk still doesn’t appear.
- Special notes for NVMe SSDs and changes in the Ubuntu 24.04 installer.
By the end, you'll know how to fix the "Ubuntu installer not detecting hard drive" error and complete your installation successfully.
How to Fix Ubuntu Installer Not Detecting Hard Drive
Follow these steps if your Ubuntu installer can't find your SATA or NVMe drive:
- Boot from Ubuntu Live USB: Insert your bootable Ubuntu USB stick and boot into the live environment.
- Open a Terminal: Use Ctrl + Alt + T or find Terminal in the application menu.
- List Drives: Identify your target disk by running:
sudo fdisk -l - Check the storage-controller mode first: If the computer uses Intel Rapid Storage Technology (RST) or firmware RAID, follow the manufacturer’s guidance and Ubuntu’s Intel RST instructions. Do not switch RAID/RST to AHCI blindly: an existing Windows installation may stop booting unless Windows is prepared for the change first. Back up important data before changing storage settings.
- Only consider clearing metadata if you have confirmed the target disk and can erase its existing layout: These are advanced, potentially destructive steps, not the first troubleshooting action. Back up any needed files, disconnect unrelated drives where practical, and verify the exact device name with
sudo fdisk -lbefore proceeding. For example,wipefs --all /dev/sdXremoves visible filesystem, RAID, and partition-table signatures from the selected device; it does not erase all file data, but can make existing volumes inaccessible. Do not run this on a disk containing data you need. RAID arrays may require array-specific recovery or administration instead of signature removal. - Retry the installer: After addressing the confirmed cause, return to the installer and check whether the disk is detected. If it remains missing, check firmware storage settings, drive connections, firmware updates, and whether the live environment can see the device.
Do not use a generic copy-paste cleanup command. The correct action depends on whether the disk is part of an active RAID/RST configuration, contains data you need, or simply is not supported by the current installer. Diagnose the storage-controller mode and confirm the exact device before making any changes.
Other Ways to Fix Ubuntu Not Detecting Hard Drive
If your disk still doesn't show up in the Ubuntu installer, try these fixes:
- Check SATA/NVMe Connections: Reseat cables or try another SATA port.
- Check SATA/NVMe controller mode: Some systems use Intel RST or a vendor RAID mode that Ubuntu cannot access in the current configuration. Consult the computer manufacturer and Ubuntu’s Windows-to-AHCI instructions before changing it. Changing RAID/RST to AHCI without preparing Windows can prevent Windows from booting; back up important data first.
- Update BIOS/UEFI Firmware: An outdated BIOS can cause compatibility issues with modern SSDs.
- Use Boot Parameters: At the GRUB menu, press
e, find thelinuxline, and add:libata.force=noncqThen boot with Ctrl + X.
- Use Latest Ubuntu Version: If you are installing on new hardware, use Ubuntu 24.04 LTS or later for better hardware support.
Ubuntu Not Detecting NVMe SSD
If your system uses an NVMe drive, the device name will look like /dev/nvme0n1. Use this name when running wipefs or mdadm. The steps are otherwise identical to SATA.
Ubuntu 24.04 Installer Note
The Ubuntu installer uses Subiquity in current releases, but a newer installer cannot necessarily access disks hidden behind unsupported Intel RST/VMD or firmware RAID configurations. Manual metadata removal is not automatically required and should not be attempted unless you have identified the cause and confirmed it is safe.
Frequently Asked Questions (FAQ)
Why is the Ubuntu installer not detecting my hard drive?
Possible causes include Intel RST/VMD or firmware RAID settings, unsupported storage-controller configuration, firmware or connection issues, and—in some cases—RAID metadata. First check whether the disk appears in firmware and in the live environment. Do not erase metadata or change RAID/RST to AHCI until you understand the existing disk layout and have backed up important data; an unprepared Windows installation may no longer boot after a controller-mode change.
How do I remove RAID metadata in Ubuntu?
You can remove RAID signatures using one of these commands:
sudo wipefs --all /dev/sdX
sudo mdadm --zero-superblock /dev/sdX
Replace /dev/sdX only after confirming the exact target disk with lsblk or sudo fdisk -l. Use wipefs only when you have diagnosed stale signatures as the cause and have backed up any needed data; it removes signatures and can make existing volumes inaccessible. It is not a general-purpose first step for an undetected drive.
Do I need to use dmraid to fix this problem?
Not necessarily. First identify the storage controller and determine whether the drive belongs to an Intel RST, firmware RAID, or Linux software RAID setup. dmraid, mdadm, and wipefs serve different purposes; none is a universal fix for installer drive-detection problems. Do not remove RAID or filesystem metadata unless you understand the existing storage layout and have a backup.
Why should I use AHCI mode instead of RAID in BIOS?
Ubuntu and other Linux distributions have the best compatibility with AHCI. If your SATA controller is set to RAID, the Ubuntu installer may fail to detect your disk. Switching to AHCI usually resolves this.
Does this issue affect NVMe SSDs too?
Yes, the same problem can happen with NVMe drives. The only difference is the device naming: NVMe drives appear as /dev/nvme0n1 instead of /dev/sda or /dev/sdb.
Will the new Ubuntu 24.04 installer fix this automatically?
Ubuntu 24.04 LTS uses the Subiquity installer, which is more reliable than the old Ubiquity installer. However, it still does not automatically remove RAID or filesystem metadata. Manual cleanup is required.
Conclusion
If you see the error Ubuntu installer not detecting hard drive or your Ubuntu installer can't find SSD, the solution usually involves clearing old RAID metadata and enabling AHCI mode in BIOS/UEFI.
By following the steps in this guide, you can resolve drive detection issues and complete your Ubuntu installation smoothly.