Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've just installed last version of Ubuntu on my laptop and faced several problems.
There are three partitions on my hard drive: ~2gb, 70gb, 70gb.
The main partition is the smallest one, as 'space used' in properties of the "file system" is ~2gb.
I've installed a number of necessary programs using add/remove daemon, and then 'free space' in file system's properties appeared to be equal to 0 bytes.
Now there are a lot of difficults: browser doesn't store cookies, history, I can't download any files, krusader doesn't start etc.. Is it somehow linked with 0bytes of free space remaining? Definitely yes.
How can I solve the problem? How do I make OS use one of huge partitions by default or something?
first off, check /var/log to see if there are any large/old log files you can delete to immediately free up some space.
Then use the 'du' command to find out where all your space is being used. Something like:
'du / -h --max-depth=1' #run as root
This will list the top level directories and their size. You can change '/' to each directory listed to "dig deeper" into the file system and fine more unnecessary stuff to remove until you've got about 10% free space.
Then you might consider backing up your drive and using gparted to repartition your drive.
Is this a dual boot (Linux and Windows)? If so, which partition is what.
If not, there is no reason not to repartition during a re-install of Linux. If the 2GB is the root partition, it will always give you problems because of the small size. Use the manual repartition,
create a 20-50GB root partition (/) which will give you sufficient space to install additional programs (I have 25GB and still have 20GB available)
create a swap partition; the size depends on the amount of memory and how you use the laptop; if you want to be able to hybernate, it should be at least the size of the memory, if you're editing massive big files (e.g. videos) it should be the size of the memory and else the rule that you can apply can be 2x size of memory with a max of 1GB
use the remainder for the home partition (/home)
As an alternative to a separate root and home partition, you can only create the root partition (although I advise against it); the home partition will become a home directory in the root partition.
With regards to your remark on Windows: that is not completely true. I have had an 10 GB Windows partition that was full. I could not install any software, even if I tried to install on another partition/drive because to install programs space in the temp directory is required.
PS I have heard a number of complaints about the 'default' partition sizes of the Ubuntu install. Although I use Ubuntu myself, I think that it's quite brain-dead from that perspective.
Thank everybody!
After reading all your suggestions, I've reinstalled Ubuntu, repartitioning hard disk the way Wim Sturkenboom advices, and now everything seems to work properly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.