Showing results for 
Search instead for 
Did you mean: 
New member
1 0 0 0
Message 1 of 2
Flag Post

How to delete entire hard disk include os

HP Recommended
Example:Hp Pavilion g6
Microsoft Windows 10 (64-bit)


iam using HP G6 pavilion unexpectedly install dule boot but after instal Ubuntu it’s not going back to windows 10 I’m tried to repare it’s not opening help me.

Level 16
Level 16
32,636 32,536 2,958 7,269
Message 2 of 2
Flag Post
HP Recommended


When you install a Linux distro in dual-boot mode, you modify the drive boot record so that it reads the first Linux partition, instead of the first Windows partition, by default.  If you just then uninstall the Linux distro, you did not change the default boot -- so it will still try to boot Linux.  You should have restored the Windows boot BEFORE removing the Linux distro.


If you have access to another Windows PC, you can create USB media on that PC that you can use to repair YOUR PC so it boots into Windows again.


1) Download and install Macrium Reflect (MR) from this link on a working PC:
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.

If this worked, the boot repair succeeded and you will have your PC back.


***If my post helped, click the thumbs-up symbol to say thanks***

***Please mark Accept As Solution if my post solved your problem***

I am a volunteer and I do not work for, nor represent, HP
0 Kudos
Warning Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation