-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Operating System and Recovery
- Uninstallation of ubuntu and recovering storage

Create an account on the HP Community to personalize your profile and ask a question
09-06-2021
01:25 AM
- last edited on
09-06-2021
07:05 AM
by
MayS
hello, product name: HP Laptop 14s-cr2xxx, Product number: 8LY18PA#ACJ, Serial number: [Personal Information Removed].
My laptop OS is windows 10 64-bit. I have installed Ubuntu by making partitions like half storage for windows and half storage for Ubuntu. While installing Ubuntu there was an error in installation. Later Ubuntu was not installed but the half of the storage was not seen(it was occupied by ubuntu). Now I want to get back the storage by uninstalling Ubuntu from the laptop.
Thank you.
09-06-2021 09:21 AM
You don't "uninstall" an OS; instead, you remove it.
This needs to have two steps:
1) Force boot default back to Windows
2) Remove the Linux partitions.
In terms of 1), the easiest way to do this is with a Windows utility known as Macrium Reflect:
Windows PCs use two different sets of files to get you to a working desktop.
In terms of the first, Windows boot files, you need to follow the instructions below to create boot media from Macrium Reflect (MR) that can be used to rewrite/repair the boot files on your PC:
1) Download and install Macrium Reflect (MR) from this link on a working PC: http://www.macrium.com/reflectfree.aspx
2) Use the option to create a boot USB stick or CD
That will create MR bootable media. Then, you can boot your PC into WinPE using that media.
Have patience, as that can take a while to start and bring up the screen.
Once the screen is there, select the option to Fix Windows boot problems. It will then search for the OSs installed and list them, Select the one you want to repair and click Next.
It will now do the repairs, listing the things it has done.
When finished, select the option to Restart the PC.
---------------------------
In terms of 2) you should install this partitioning tool and remove the Linux partitions: https://www.partitionwizard.com/download.html
I am a volunteer and I do not work for, nor represent, HP
09-11-2021 01:15 AM
Hello,
I have installed macrium software, followed all the steps that mentioned but it did not show any linux partition in my drive, but half of the storage is showing as unallocated space in drive(dynamic).
I also tried with minitool partition wizard to restore the storage but I could not do.
How to get back the unallocated space from a dynamic drive?
Thank you.
09-11-2021 10:51 AM
When you forced the installation of Ubuntu, you converted the "basic volumes" to "dynamic disks" -- basically, trashing your PC in the process. You should NOT have done that -- and should have research it BEFORE you forced Ubuntu on it.
There is nothing we can do for you to fix the Dynamic Disks issue -- and there is nothing you can do NOW to recover the data.
You would need to use external media to attempt to rebuild the PC from scratch:
If your PC is a 2016 model or newer, you should see if you can make a bootable USB recovery drive using the HP cloud recovery tool on a working PC.
The recovery drive can then be used to install Win10 and the HP drivers and utilities that originally came with your PC.
Here is the link: https://support.hp.com/us-en/document/c06162205
I am a volunteer and I do not work for, nor represent, HP