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 am over an almost fully successful Linux installation as a newbie (installed SuSE Linux 6.4 Eval).
I have only two annoying problem to solve:
My system always complains of insufficient free disk space.
Df tells me I have only 3% free space on my Linux partition. There should be more!!!
The size of my Linux partition is 1250 Megs; the installed packages only reserve some 700 Megs; my StarOffice some 150 Megs; apart of these, I only installed Xmms.
So I should have at least some 350 Megs of free space.
What can be reason?
As a newbie I have three suspects:
1. Am I in full charge of all resources (including all disk space) of the system when I login as root? If not, how can I set the system to have all resources as root?.
2. I have only one Linux partition, i.e. have no swap, etc. partitions. Can it be the reason?
3. Are there anything in Linux that can eat up free disk space? (My temp directory is almost empty, but I did some installation/reinstallation of various packages)
My other problem is:
I find that quality of colour photos is worse than in Windows at the same (800x600) screen resolution (with my ancient moniutor and Trident 9000i VGA card I cannot reach more).
I found that the reason can be that the same virtual resolution of 800x600 in Linux results in 75 dpi resolution, while in Windows it results in 96 dpi.
Can I configure Linux to have the same, 96 dpi screen resolution as in Windows? (So far I could not set this by SAX).
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617
Rep:
1.) root can do anything
2.) you should have a swap partition. maybe you have one and that is why you have lost loads of space (swap partitions don;t show up when you use df).
type the following as root in the console
Code:
fdisk -ls /dev/hdb
this will show all the partitions and how many blocks they take up (that should about measure up to the number of megabytes it takes up)
3.)/tmp is the only one really that can get eaten up though the logs in the /var directory can sometimes get pretty long.
try typing
Code:
ls -a
in the /tmp directory
this will show all the files (including hidden files).
Fdisk -ls /dev/hda showed me that I have two partitions:
/hda1 msdos and /hda2 Linux.
It seems that I have no swap partitions.
Actually, things are getting more tough now, as I do not have anything else to remove from my Linux partition (so far from time to time I could get some free space by removing rarely used packages).
Is there a way to get the total size of certain directories (including sub-directories) in Linux?
So far I could only list the size of files, and it would be too hard to count them all.
To make use of your new swap partition you will have to initialize it by running mkswap /dev/hdxx where hdxx is your swap partition for example hda3, third partition on first disk.
Now you will have to tell linux to use it with swapon maybe you will have to use swapon -a
I don't know how your start files are written, if they will start your swap on boot.
Swapon and swapon -a did nothing.
Later, accidentally, I tried swapon /dev/hdb2 and I got a working swap partition.
Now I would like to insert it into /fstab.
Could you help me what is the syntax?
Thank you, I put the corresponding line into /fstab.
I hope it will work.
I am still annoyed because of that lost 100 Megs, as I have 20 Megs of free space again: I could not post messages here with StarOffice (when I tried, I always got an error message about missing thread identifier) so I had to put Netscape back.
Is not there a partition size limitation (1.1G) in SuSE Linux 6.04?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.