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.
what are we supposed to say?? delete some stuff you don't need...
if you don't know where the space is, you can run somethign like "du -hx --max-depth=1 /" to see the size of each directory on the / partition, if one looks abnormal, change "/" to that directory and repeat, and you'll quickly track down anything offensively large.
if you don't know where the space is, you can run somethign like "du -hx --max-depth=1 /" to see the size of each directory on the / partition, if one looks abnormal, change "/" to that directory and repeat, and you'll quickly track down anything offensively large.
that's the total of the others. 8.4gb in /usr. have you been building lots of stuff from source and not cleaning it up properly? 900mb in /root is generally too much for a well managed system I think, what are you storing there?
I am doing driver development so somebody told me some packages to install during fedora installation in software development section.
after finishing installation the next thing that i did was compiling kernel.
I think the packages that i installed are very heavy.
so should i reinstall fedora or there is any other way??
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
Rep:
Quote:
so should i reinstall fedora or there is any other way??
First you just checkout the packages which you don't need and remove those packages, then again check the disk usage. Again go through your /usr and / partition and check the unnecessary files. Then think over reinstalling the OS if it need to be.
You've got 9 gig or so of free space that you've locked away for other uses, 2.5G you've reserved for /usr/local but you're using 0.07G and so on.
I suspect you're also doing your development under /usr/src/linux, I do mine in ~/src/linux, make deb-pkg and dpkg -i the result, everything works. Fedora uses rpm, it looks like you'd want to do make binrpm-pkg and install that however fedora likes, anybody who actually knows fedora wants to chime in with details please do.
So assuming I'm right about /usr/src, I'd recommend back up everything, boot up a gparted CD and use it to shrink /opt and /usr/local and /var and eliminate the /tmp partition, put maybe 4G of the 5.5G that freed up into /home and the rest into / (gparted is very easy, it'll move your partitions around for you), edit /etc/fstab to put /tmp on a tmpfs, e.g.
then reboot into your newly-capacious system, move /usr/src/linux to ~/src/linux and be on your merry way. For bonus points you could just fold everything but /home into the root partition, with only 22G to seek across and a single-user system like yours there's basically no benefit to divvying it up like that.
(edit: or you could leave the source tree where it is and put the free space wherever it's needed)
Last edited by jthill; 03-29-2012 at 07:10 AM.
Reason: mention the leave--it-in-/usr option I stupidly ignored
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.