So, I decided to try out ubuntu on a dual boot with windows. The way I did everything was:
I shrunk my OS drive in windows disk manager, then using live boot Ubuntu and gparted I made 3 partitions for root, home and swap from the unasigned space. I proceeded to install Ubuntu with the "something else" option where i set up everything and it worked. I started using it etc. But, I wanted to test different DEs so they took up space in my root partition which was 20 gb, and I read I can just expand it using free space somehow. So because I was on windows I used its drive management tool to shrink some more space for it.
Before I did anything I saw that all the space I used for my ubuntu stuff was still labeled as unallocated. I didn't think much of it and just shrunk some more space that merged with the rest. Then I wanted to follow some tutorial to add space to the root using gparted from a live boot, but there I saw that my partitions also became just one block of unasigned, which before wasn't the case in here.
I got worried and tried to boot my ubuntu but GRUB didn't really work. It only showed "Minimal BASH like line editing is supported" and stuff. I tried to fix GRUB but gave up.
Now I'm wondering:
- What the hell actually happened?
- Is the unasigned data now actually a merged mess of free space and linux data or something?
- Or was it just wiped and I can use the data normally like empty space, make new partitions again and install Ubuntu again?
As you can see am a total noob, was too bold with messing around with all this and got lost, so I am sorry if the post doesn't contain all of the important info and such.
I was using Ubuntu 22.04.3 LTS