It looks like / and /home are on sdb, so I don't know why you would need to reinstall the OS? What's on sda? And why are you switching to UEFI?
You can switch a disk to GPT in 5 seconds
Then just delete and re-create the partition, again using parted or gparted, not fdisk.