I installed CentOS 6 into my 4GB flash drive, and everything worked fine until I needed more space. I have another flash drive with 8GB of space (which is all I really need) and so I formatted it with gparted to ext4. Once it was done formatting I went into the Terminal and put this command:
dd if=/dev/sdb of=/dev/sdc bs=512 conv=noerror,sync
Up to this point everything worked correctly, and once the command was finished (took less than an hour), I went ahead and rebooted, removing my old flash drive. Once it booted in with the new flash drive I was extremely happy that everything worked flawlessly until I went to install some packages with YUM, and I only have 12.5 MB of free space remaining!
I went back into gparted and this is the "screen shot" of it:
I am assuming that I somehow need to extend one of the partions and remove the unallocated, but I don't know how. Any help is appreciated, thank you!
/dev/sdb2
bar and there should be an option to Extend Partition.