Help with removing Ubuntu 18.4.3 and re-install Windows 10


  1. Posts : 57
    Windows 10 Home
       #1

    Help with removing Ubuntu 18.4.3 and re-install Windows 10


    Like the title says i need to remove ubuntu and i already used a windows 10 media creation tool to create a usb installation tool.

    However during the process i get a error saying a drive partition is missing. But for some reason the setup is not detecting my main hard drive.

    I also provided contacted ubuntu forums but there's not much they could do to help.
      My Computer


  2. Posts : 11,246
    Windows / Linux : Arch Linux
       #2

    nocruoro said:
    Like the title says i need to remove ubuntu and i already used a windows 10 media creation tool to create a usb installation tool.

    However during the process i get a error saying a drive partition is missing. But for some reason the setup is not detecting my main hard drive.

    I also provided contacted ubuntu forums but there's not much they could do to help.
    @nocruoro

    Hæ, landa
    Góðan daginn !!

    We have to use eng though on the forum !!

    so 1) boot windows install disk / media and get into command mode
    2) diskpart -->list disk -->select disk nn ==>where disk nn is the target disk you want to install windows on.
    3) clean
    --- next 3 bits are optional but I'd use them
    4) convert gpt
    5) create partition efi size=100M
    6) format quick fs=fat32 ===> needed for efi partition

    7) create partition primary
    8) format fs=ntfs quick
    9) assign
    10) exit.

    Now re-boot mct and install windows --it should work

    skál og gangi þér vel !!!

    Cheers
    jimbo
      My Computer


  3. Posts : 57
    Windows 10 Home
    Thread Starter
       #3

    First of all i don't have a cd or dvd drive.

    I went through all that earlier but i get the message drive is missing.

    I tried also used this command prompt

    bootrec.exe

    bootrec /FixMbr

    bootrec /FixBoot

    bootrec /ScanOs

    bootrec /RebuildBcd
    Is ubuntu causing anything that causes the windows 10 installation to be unable to access my original main hard-drive?.
    Pressing rescan doesn't help either.
      My Computer


  4. Posts : 11,246
    Windows / Linux : Arch Linux
       #4

    nocruoro said:
    First of all i don't have a cd or dvd drive.

    I went through all that earlier but i get the message drive is missing.

    I tried also used this command prompt



    Is ubuntu causing anything that causes the windows 10 installation to be unable to access my original main hard-drive?.
    Pressing rescan doesn't help either.
    Hi there
    try booting a LIVE linux distro --e.g fedora from a USB drive and run gparted. It should see a disk -- then reformat that or even use the linux command mkfs.ntfs -f /dev/sdx where x is the nr of the HDD drive. (Install ntfs-3g if not installed on the live distro --you can install stuff - it's not persistent on next boot but it will work for what you need to do).

    Incidentally RUFUS can make bootable usb's from an ISO image or from linux as root / sudo simply use dd if=<input file or device/partition> of=<output dev / partition > bs=64M status=progress.

    Cheers
    jimbo
      My Computer


  5. Posts : 57
    Windows 10 Home
    Thread Starter
       #5

    jimbo45 said:
    Hi there
    try booting a LIVE linux distro --e.g fedora from a USB drive and run gparted. It should see a disk -- then reformat that or even use the linux command mkfs.ntfs -f /dev/sdx where x is the nr of the HDD drive. (Install ntfs-3g if not installed on the live distro --you can install stuff - it's not persistent on next boot but it will work for what you need to do).

    Incidentally RUFUS can make bootable usb's from an ISO image or from linux as root / sudo simply use dd if=<input file or device/partition> of=<output dev / partition > bs=64M status=progress.

    Cheers
    jimbo
    RUFUS never works for me or my other pc's i only have a windows 10 media creation tool on a friends pc forcreating a viable 64-bit usb
      My Computer


  6. Posts : 18,498
    Windows 11 Pro
       #6

    Is the drive in question listed in BIOS/UEFI settings?
      My Computer


  7. Posts : 14,746
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #7

    The Linux idea with GPARTED is good, I just delete all the partitions on the HDD or SSD, Apply then reboot to the Win10 USB Thumb drive to start installing, let Win10 decide on the partitions it wants to create.

    An issue with changing from one Operating System to another is the formatting of the drive, Windows tends to have problems with the default formatting done by the Linux installation.
      My Computers


 

  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 13:07.
Find Us




Windows 10 Forums