Do What I Mean
June 18th, 2021
My laptop has 16GB RAM and 512GB SSD storage. I ran Windows 10 and Ubuntu in dual-boot mode for years, but switching back-and-forth drove me crazy, so about a year ago I started using Windows on Linux in a virtual machine.
But I still kept my Windows 10 dual-boot as fall-back, which meant Windows and Ubuntu had to share my 512GB storage. Windows was getting the lion share, because I had been unable to shrink its partition to less than about 270GB and I had the Windows VM on Linux which was gobbling up over 40GB extra of the Ubuntu partition (and growing), which left Ubuntu about 200GB.
The storage limitation was starting to annoy me. Mostly, because it kept me from installing Visual Studio on the Windows VM, without freeing space first. So, I decided to wipe my Windows partition and grow the Ubuntu one:
partedFAQ didn't solve it, but it did allow me to explore my file system. I found that I somehow trashed my
grub.cfg(probably when I played around with
grub-install), which left grub without a clue what to do. Restoring a backup solved that problem.
Ubuntu now lives on a whopping 500GB partition, which hopefully extends the life-span of my laptop with at least another year or so.