Just a quick headnote: I'm a complete Ubuntu & Linux noob. I've given it a go as I'd love to learn how to use Linux as effectively as I use Windows, but I've ran into some rather glaring issues that I was hoping somebody could assist me with resolving.
I've recently installed Ubuntu on my Windows PC. I had originally intended to install it to a separate partition on my sole internal drive (running Windows 10) and had shrunk my Windows partition by 40GB and created a blank one in its space for Ubuntu. This was so that I could easily wipe it out if it became corrupt or I lost interest in using Ubuntu on that machine.
Now when installing Ubuntu (I used the 17.10 version) it offered me the chance to install inside the same partition as my Windows installation. Being drawn in by the possibility of booting up into Ubuntu at the point of power-on instead of booting first into Windows and then booting into the partition via the Recovery Menu, I accepted without considering the consequences.
Having done that, I booted back into Windows 10 and decided to expand my main partition (now dual-booted with Windows 10 and Ubuntu 17.10 via the Windows Bootloader) back into the 40GB empty partition which I had originally intended to install Ubuntu within.
Following this, I tried booting back into Ubuntu but was met with a CLI titled 'GNU GRUB'. Being totally unfamiliar with this, I attempted a couple of online fixes (one from this site, matter of fact) within the GNU GRUB interface which involved attempting to locate the Ubuntu directory within the partitions listed via the ls command.
Unfortunately, this was to no avail and so now I appear to be stuck with a corrupted Ubuntu installation that I cannot remove but has reserved around 50GB of my Windows partition's space for itself, which I also cannot seem to recover.
Any assistance with this would be greatly appreciated as, like I said, I'm very new to Ubuntu and would be really put off getting to grips with it if my only option is to format my drive and install Windows again.