When I installed Linux, I was left no choice but to use the installer's auto-partitioning that would create a partition for the operating system. Since I've ran this installer so many times for troubleshooting purposes, I understand that normally it should give you the ability to resize your partition with a little draggy arrow, but on this occasion, I guess it didn't feel like it, so I had to make a 931.04 GiB partition for Ubuntu called /dev/sdb5, a 'lvm2 pv' file system located under the tree of the extended file system, /dev/sdb2.
My issue here is that I have better things to do with 900 GiB of hard drive space, so I would like to reduce a 931.04 GiB partition down to about 33.0 GiB.
Normally, with Windows, I would open Disk Management and click Shrink Volume and it would work because Windows, with all of it's faults, knows the benefits of putting everything in NTFS on one partition.
Allow me to go through some suggested steps:
- I am currently running a Live CD of Ubuntu (KDE, to be precise) and I have GParted installed
- There are 3 partitions on the hard drive: /dev/sdb1, which is a 487.00 MiB partition that only uses up 78.01 MiB, and the two other partitions mentioned earlier
- There is a lock symbol next to /dev/sdb2 and /dev/sdb5
- I highly doubt that a fresh installation of Kubuntu can take up 931.04 GiB, yet it says that sdb5 has 0.00 B of unused
- When I right click on sdb1, It says I can delete, resize/move, copy, format to, manage flags, check, label file system, new uuid, and information, though I don't see any of this solves my problem
- When I right click on sdb2, it only says manage flags, and information. Again, not pertinent
- When I right click on sdb5, It says I can resize/move, deactivate, manage flags, and information, yet when I open resize/move, I can only change the alignment. Deactivate appears to remove the locks, but the minimum size for sdb5 is still 931 GiB. I should also mention that sdb5 has an 'lvm' flag (No, I don't know what this means)
How do I shrink /dev/sdb?