0

I was using Ubuntu 14.04 and Windows 10 in dual boot.

Suddenly there was a problem and I was unable to boot into any of them (both Ubuntu 14.04 and Windows 10). So I reinstalled Windows 10 and then I tried to reinstall Ubuntu. However, while I was reinstalling Ubuntu:

  1. I selected something else
  2. I deleted the existing Ubuntu 14.04 partition by selecting it and clicking -.
  3. It showed free space but when I selected it for installation it again shows Ubuntu 14.04 (name of the disk)
  4. I stopped the installation

My grub menu still shows up old Ubuntu. So how do I install Ubuntu again?

Danibix
  • 2,185

2 Answers2

3

In most cases, deleting a partition doesn't actually destroy filesystem data; it just deletes the pointers to the data. (Partition table data consists mostly of pointers to where filesystems start and stop.) Thus, when you deleted a partition and re-created it in exactly the same way, the original filesystem data became available again.

Instead of trying to delete and re-create the partition, you should be able to use the "Something Else" screens to re-install over the existing system. Be sure to select the check box to "format" the Ubuntu root (/) filesystem. This will quickly delete all the important filesystem data structures. Alternatively, you could use GParted or text-mode tools like mkfs to wipe the original Ubuntu 14.04 partition before launching Ubiquity (the Ubuntu installer). You'd need to boot into the installation medium's "try before installing" mode or use some other emergency tool in order to do this, though.

As a side note, I recommend taking this opportunity to upgrade to Ubuntu 16.04. Although 14.04 is still supported, it's over halfway through its supported period; it will enter unsupported status in less than two years. Ubuntu 16.04 also offers a number of updates and improvements over 14.04.

Rod Smith
  • 45,120
  • 7
  • 66
  • 108
-1

Delete the old Ubuntu 14.04 partition and extend the Windows 10 one using GParted (from the Ubuntu Live CD Session). Then double-click on the "Install Ubuntu 14.04.5 LTS" icon and follow the instructions.

(Remember to select dual-boot with Windows 10 and to resize the partitions.)

na-no.
  • 856
  • 1
  • 10
  • 24