I recently switched my laptop from Windows 11 to Ubuntu Linux. Initially, I set up a dual boot in case I wanted to keep Windows, but I ended up enjoying Ubuntu so much that I decided to completely remove Windows. I used GParted to manage the partitions, but I think I messed it up. Now, more than half of my drive is empty, and a small portion is allocated to Linux. Since the Linux partition is in use, I can't optimize or resize it. I deleted Windows, which left me with a lot of unallocated space, but now I'm struggling to boot GParted from a USB because I can't download anything new due to lack of space on my disk. I can't even install tools like Steam or Google Chrome. How can I resolve this?
4 Answers
Check how much free space you actually have on your laptop. You only need around 600 MB for the GParted live image, and about 100 MB for BalenaEtcher. You could try running `sudo apt-get clean` and `sudo apt autoremove` to clear some space by removing unneeded packages—we often forget those can take up a lot of space!
You might want to boot from a USB stick that has Knoppix on it and then run GParted from there. Knoppix is another Linux distribution, so if you can't download anything on your laptop, you can prepare the USB on another computer and then resize your partitions without needing to be in your main OS.
You can indeed resize and move partitions using GParted, but since you're currently running Linux, you'll need to boot from another OS or live USB to make changes. If you have your original Ubuntu USB drive, you could boot from that and use GParted to adjust your partitions.
Have you tried picking up any leftover files that might be clogging up your space? If you're low on room, maybe clearing your temporary files could free up a bit more. Also, if you still have the original USB from your Ubuntu install, you can boot from it and use GParted to manage your partitions that way!

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures