Replacing Ubuntu with W10 on Laptop


  1. Posts : 40
    W10 Pro 19043.1466
       #1

    Replacing Ubuntu with W10 on Laptop


    Hello All,
    I have a good fairly new laptop running Ubuntu - plenty of RAM, storage etc.
    I have an unused legitimate W10 key and want to replace the Ubuntu OS with a new W10 2004 installation.
    Plenty of W10 installation experience on various PCs before but have never replaced a Linux set up.
    Presumably I create the installation media via another W10 PC, bootable flash drive etc ?
    However I am unsure whether the W10 installation media will find the Ubuntu OS and ask if I want it deleted [which I do] or should I wipe the drive beforehand ?
    Of course any more advice would be appreciated,
    Thanks,
    M Wombat
      My Computer


  2. Posts : 14,022
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #2

    Because Linux uses a different file format for the drive/s you'll have to boot to the Win10 media, DVD or USB thumb drive, and do a fully clean install. I find it best to download the GPARTED Bootable LiveCD .iso file, burn the CD then boot to it and delete all partitions on the intended OS/boot drive first. Since all data will be lost be sure to have a copy of what you don't want to lose, that exists nowhere else. If you have the Ubuntu LiveDVD you can boot it, may have GPARTED on it you can use. My Linux Mint computers and discs plus the Live USB have it.
      My Computers


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

    Or, boot from the Windows 10 USB flash drive. When you get to the first installation screen, press Shift+F10. Since it is a laptop, it may be Shift+Fn+F10. This will open a command prompt. Then run the following commands:

    diskpart
    select disk 0
    clean
    convert mbr
    exit
    exit

    Then you can proceed with installing Windows 10, using the Custom Install option. When you get to the next screen you will see the laptop hard drive or SSD marked as 1 large unallocated space. Click on the unallocated space, then click next.
      My Computer


  4. Posts : 40
    W10 Pro 19043.1466
    Thread Starter
       #4

    Thanks guys for rapid help.
    MWombat
      My Computer


  5. Posts : 7,607
    Windows 10 Home 20H2
       #5

    MWombat said:
    However I am unsure whether the W10 installation media will find the Ubuntu OS and ask if I want it deleted [which I do] or should I wipe the drive beforehand ?
    Last year, I replaced Linux with Windows 10. I used GParted to delete all Linux partitions before installing Windows, while the data partition remained unchanged. As a result, Windows Setup found no Linux as shown below:

    Replacing Ubuntu with W10 on Laptop-6.-select-partition.jpg
      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 07:51.
Find Us




Windows 10 Forums