I tried to install Ubuntu 2 times, but I failed. The first time, I installed Ubuntu alongside Windows, but it never booted! Still, it occupied about 44 gigabytes of disk space. The second time I gave my laptop to my friend and she installed it again (alongside Windows 10) but she failed to boot it after the install too. Now, for the third time, I want to install it but not alongside Windows.
If I select Erase the disk and install Ubuntu, would it then delete the previous failed Ubuntu install files or not? And if it doesn't, then how can I delete them and free up the disk space they occupy?