0

So I already have a dual boot of Ubuntu and Windows, but my install of Windows has amassed too many problems and hangs at startup, so I'm going to be reinstalling it. I have a TB hard drive, and about 660GB is allocated to Windows and 210GB to Ubuntu. I already backed up the stuff I need on the Windows partition. I was wondering if there's a way I could wipe the Windows partition to make it unallocated space, then resize Ubuntu to be 660 and reinstall Windows with a 210GB allocation? I'm also a bit concerned that reinstalling Windows will get rid of my grub boot screen. Any help would be appreciated!

1 Answers1

0

assuming you are with UEFI boot mode.

it is better to take the backup of your Ubuntu data also as extending ext4 / partition in GParted will take much time.

boot with bootable USB and logon to live session of Ubuntu.

  1. Open GParted.
  2. leave the sda2 EFI partition as it is.
  3. delete the sda1, sda3, sda4 & sda5
  4. now proceed with go signal to write the changes in GParted.
  5. select sda9 and increase its size, it may take long time in live session.
  6. after the completion of process. reboot the system.
  7. Open GParted again, run in terminal sudo sgdisk -s /dev/sda to sort out the partitioning numbers.
  8. make the unallocated space into NTFS file system.
  9. shutdown the system.
  10. boot with windows10 bootable USB. and do the regular installation.
  11. Once windows is installed, it will directly boots to windows. you need to reinstall Grub.
  12. in windows10 turn of fastboot and secureboot.
  13. boot in live session of Ubuntu and then follow this highly voted Q&A How can I repair grub? (How to get Ubuntu back after installing Windows?)