• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Installed linux Mint to 4GB USB stick. Out of space -- how to free up some?

Ghiddy

Senior member
I installed Linux Mint 11 onto a 4GB USB stick. I let the OS decide how to partition the stick. I believe it created at least two, if not more partitions. I'm not that familiar with Linux but I'm assuming it's like temp space, swap space, and whatever other partitions Linux likes to create by default (Mint is very similar to Ubuntu, so this is probably the same as the default partitions for Ubuntu, in case you aren't familiar with Mint).

I don't really need to store much more data on here. All I want to do is install python, mono, ATI drivers, and a few other basic apps and then let the server run unattended for the most part. But I keep getting errors when trying to install stuff, because it appears the USB stick is out of space.

I already tried "sudo apt-get clean" and I think a variation on that that was "auto-clean". That freed up like 256MB, which allowed me to install one or two additional packages but after that I ran out of space again.

My question is, what can I do to free up some space quickly?

1. Is there any way to resize the partitions without causing trouble?
2. Any way to uninstall a bunch of existing packages without breaking the whole OS? I'm tech savvy but this is my first time using linux in like 10 years so I'd like to know if there's just stuff that is mostly safe to delete/uninstall.
3. Would it be easier to just do a fresh install onto the same USB stick and somehow tell it to install less stuff?

It surprised me that the default install was almost 3.5GB (I think, but not sure, that is how much space is on the main partition). I don't remember seeing any options in the installation wizard that would have allowed me to opt-out of installing any portions of the default install.

If it makes any difference, my home folder is encrypted.
 
Uninstall stuff you don't need. Games, Office suite, media players... You might be better off installing Lubuntu, then adding the bits you need. Alternatively, you could use Ubuntu server, or Debian. Not sure what size your swap partition is, but I'm using 488mb with Ubuntu, and it's more than enough for what I do with 1gb ram.
 
Back
Top