Will reformatting hard drive remove Linux OS ?

Page 2 of 2 FirstFirst 12

  1. Posts : 18,432
    Windows 11 Pro
       #11

    You should be booting the computer from a Windows 10 installation USB flash drive. You can use the Media Creation Tool and let it make a USB flash drive for you:
    Download Windows 10

    If you have the Windows 10 ISO file already saved you can make your own. Format the USB flash drive as FAT32, mark the FAT32 partition on the flash drive active, mount the Windows 10 ISO file, copy all the files and folders from the mounted ISO file to the USB flash drive.

    Boot the computer from the Windows 10 USB flash drive. When you get the first screen, press shift + F10 to open a command prompt. Run:

    diskpart

    list disk

    select disk # <put the number of the hard drive in the computer in place of #. It is probably going to be select disk 0

    clean <this completely erases the selected disk

    exit

    bootrec /fixmbr

    exit

    Then continue with the install. If it asks you for a product key, click the link for "I don't have a product key". Select the custom install option. Highlight the unallocated space on the hard drive and click next to let Windows set up the drive and install Windows. When the computer reboots, if you go back into the first install screen from the USB flash drive, just pull the flash drive out and reboot the computer.
      My Computer


  2. Posts : 217
    windows 8.1 pro
    Thread Starter
       #12

    Sorry for delay in replying...I have finally managed to install a fresh Windows Creators update on HP pavillion pc.I kept just the basic programs on...however i have noticed 2 partitions i have never come across before ie Buildpart, and E....
    Can these be deleted or are they required for Creators update also the Recovery Partition is a bit big..was it because i kept rebooting and doing a couple of HP Pc factory resets using recovery discs and Recovery Partitions did not get overwritten but recovery partitions just got laid upon each other ?
      My Computer


  3. Posts : 19,518
    W11+W11 Developer Insider + Linux
       #13

    treblefree said:
    Sorry for delay in replying...I have finally managed to install a fresh Windows Creators update on HP pavillion pc.I kept just the basic programs on...however i have noticed 2 partitions i have never come across before ie Buildpart, and E....
    Can these be deleted or are they required for Creators update also the Recovery Partition is a bit big..was it because i kept rebooting and doing a couple of HP Pc factory resets using recovery discs and Recovery Partitions did not get overwritten but recovery partitions just got laid upon each other ?
    Better post a picture of your Disk Management.
      My Computers


  4. Posts : 217
    windows 8.1 pro
    Thread Starter
       #14

    partitions


    Thanks for reply

    attached is snapshot of disc partitions
    Attached Thumbnails Attached Thumbnails Will reformatting hard drive remove Linux OS ?-capture.jpg  
      My Computer


  5. Posts : 19,518
    W11+W11 Developer Insider + Linux
       #15

    You surely got yourself a mess there. Doesn't look like any clean install I have seen. Looks like there are still original HP partitions left. If you don't have any data to keep I would empty whole drive until RAW and do a real clean install.
      My Computers


  6. Posts : 217
    windows 8.1 pro
    Thread Starter
       #16

    Thank you for reply...i have managed delete HP Partitions...reset pc ...and everything looks fine in Partitions using disc management...sorted at last...i have learnt a lot about formatting hard drives,partitions etc.

    Thank you all members that have replied to my initial Linux uninstalling problem
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:54.
Find Us




Windows 10 Forums