so i had a dual boot PC with windows 7 and 8 with 5 partitons , i shrinked one partition and left 50 gb of space unallocated using disk mangaement of windows 7 while installing ubuntu it gave me an option to install ubuntu alongside windows 8 so i clicked next and it installed automatically without choosing any partition , everything is fine but now i want to uninstall ubuntu but i dont know which partition it has installed when i open disk management it shows an unnamed drive of 50 gb which is mostly free, please guide in uninstalling ubuntu 12.04 , thanks in advance!
Take windows 8 dvd. Boot with it. Then run a repair.
After reboot you should be prompted with windows 8 bootloader.
Now goto disk manager and delete the partition that is marked as "unknown file system". It should be side by side of windows 8 partition. You can merge the free space after deleting to adjacent driver or create a new one.
Usually ubuntu must be installed on ext4 partition.You can't access this ext4 partition on Windows normally.So to delete the Ubuntu partition or to uninstall ubuntu follow the below steps,
Boot Ubuntu live disk and then open gparted.
Locate and format the partition where ubuntu is installed to ntfs filesystem.
Then open up the terminal and run