Software⏱️ 4 min read📅 2026-06-15

How to Fix: How to resolve error: no such partition after removing Ubuntu on a triple boot system?

Error resolving partition after removing Ubuntu on triple boot system.

Quick Answer: Try booting in safe mode or using a live USB to access the Elementary OS installation media and repair the partition.

The error 'no such partition' occurs when the system is unable to detect a specific partition after removing Ubuntu from a triple boot system. This issue affects users who have removed Ubuntu and are now facing difficulties in accessing their Elementary OS or Windows 10 operating systems.

This problem can be frustrating as it prevents users from accessing their preferred operating system, forcing them to log in only to Windows from the BIOS. The goal of this troubleshooting guide is to help users resolve this error and regain access to their desired operating systems.

🔍 Why This Happens

  • The primary reason for this error is that the partition table on the system has become corrupted or is not properly configured after removing Ubuntu. This can happen when the removal process does not correctly update the partition table, leading to a mismatch between the expected and actual partitions.
  • Another possible cause of this error is that the system's boot loader configuration has been affected by the removal of Ubuntu. If the boot loader is not properly updated or configured, it may not be able to detect the remaining partitions, resulting in the 'no such partition' error.

🚀 How to Resolve This Issue

Reinstalling the Boot Loader and Rebuilding the Partition Table

  1. Step 1: Boot into the Windows installation media and open the Command Prompt as an administrator. Type the command `bootrec /fixmbr` to repair the master boot record (MBR) and fix any issues with the boot loader configuration.
  2. Step 2: Next, type the command `bootrec /rebuildbcd` to rebuild the Boot Configuration Data (BCD) store and update the boot loader configuration to reflect the changes made in the previous step.
  3. Step 3: After completing these steps, restart the system and enter the BIOS settings. Set the Windows 10 operating system as the first boot device and save the changes. Then, exit the BIOS settings and restart the system. The system should now boot into Windows 10 correctly.

Using a Live USB to Reinstall the Boot Loader and Rebuild the Partition Table

  1. Step 1: Create a live USB drive for Elementary OS using a tool such as Rufus. Insert the live USB drive and restart the system.
  2. Step 2: Boot into the Elementary OS live USB drive and open the Terminal application. Type the command `sudo update-grub` to update the grub configuration file and rebuild the boot loader.
  3. Step 3: Next, type the command `sudo grub-install /dev/sda` (assuming that the Windows 10 partition is on sda) to reinstall the grub bootloader on the system's first hard drive (sda). After completing these steps, restart the system. The system should now boot into Elementary OS correctly.

💡 Conclusion

To resolve the 'no such partition' error after removing Ubuntu from a triple boot system, users can try either reinstalling the boot loader and rebuilding the partition table or using a live USB to reinstall the boot loader and rebuild the partition table. By following these steps, users should be able to regain access to their desired operating systems.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions