2

I'm trying to install windows 10 again(virus issues) along with ubuntu 18.04. Using windows 10 iso usb drive I've cleared the windows partition but I don't know why Gparted is unable to merge these 2 unallocated space as a single un allocated space. see this

While installing windows I'm also getting the problem that my partitions are MBR and windows only allow GPT partitions so I'm unable to install windows 10 too.

3
  • 1
    askubuntu.com/questions/84501/… provides an answer to the MBR>GPT issue
    – K7AAY
    Commented Jul 12, 2018 at 18:50
  • Welcome to AskUbuntu! If an answer solved your issue, click the checkmark next to it to mark your question as solved. It's not necessary to add [solved] to the title :)
    – Amith KK
    Commented Jul 13, 2018 at 14:27
  • If you found a solution to your problem and it is not contained in an answer here, it is perfectly fine to answer your own question. But please don't link those video tutorials.
    – danzel
    Commented Jul 13, 2018 at 23:54

4 Answers 4

6

This is because the two spaces are not contigious on the drive and hence you cannot merge them. To work around this do the following steps:

  • Boot from a Ubuntu LiveUSB and open gparted
  • Extend /dev/sda1 (might be named differently) into one of the unallocated spaces
  • Perform operations
  • Now resize /dev/sda1 such that the now unallocated space is in the same side as the already existing unallocated space.
  • Perform operations
3

You'll have to add the space to /dev/sda1 (the Extended partition) before adding the space to an adjacent partion contained within the /dev/sda1 Extended partition.

1

To collect the free space together you need to.

  1. Boot off a livecd (you can't do this from within your main ubuntu install because it will involve moving your ubuntu partition)
  2. Launch gparted.
  3. Move the start or end of the extended partition.
  4. Move the partitions inside the extended partition.
  5. Move the other end of the extended partition.
  6. Hit the go button
  7. Wait a while for the data to be moved.
2
  • Would the downvoter care to explain what they think is wrong in this answer? Commented Jul 13, 2018 at 13:53
  • This worked, don't know why someone downvoted your answer. Commented Jul 13, 2018 at 14:14
0

That's impossible because the unallocated spaces are physically before and after the partition in the middle.

1
  • now what should I do mate?? Commented Jul 12, 2018 at 18:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .