LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-15-2011, 12:14 PM   #1
tuxandpucks
LQ Newbie
 
Registered: Mar 2011
Distribution: Ubuntu, Arch
Posts: 24
Blog Entries: 4

Rep: Reputation: 1
Can't Log in, Root Partition Full. Help Please.


Hey everyone,

I am having trouble logging into my ubuntu 11.04 desktop. When I type my username and password to login my screen goes blue, as if it is going to next show my desktop wallpaper, but then it loops back to the login screen. I had no idea why and so I went to ALT-F1 and typed in "df" and it turns out that my root partition is full. This is strange since I set aside 40GB for it and I didn't install anything or that many programs that would fill it up. Anyhow, is this fixable by booting to a live cd and using gparted to make root bigger or is there a better way to fix this?

Thanks,
Randy
 
Old 06-15-2011, 12:20 PM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

You could try to boot in maintenance mode (single user), login as root and find out what's occupying space on your hard disk and solve the problem. In a normal situation there's always 5% of the disk space reserved for root to be able to solve this kind of things. To start in single user mode, when you come to the Grub boot screen type any key, next go to your boot option and type 'e', go to the line that boots your kernel (normally the second one if I'm not mistaking), type 'e' again and add the word 'single' at the end of that line. Then press enter to confirm and 'b' to boot.

Kind regards,

Eric
 
Old 06-15-2011, 03:36 PM   #3
tuxandpucks
LQ Newbie
 
Registered: Mar 2011
Distribution: Ubuntu, Arch
Posts: 24

Original Poster
Blog Entries: 4

Rep: Reputation: 1
Thanks EricTRA I will give it a try.
 
Old 06-15-2011, 04:24 PM   #4
tuxandpucks
LQ Newbie
 
Registered: Mar 2011
Distribution: Ubuntu, Arch
Posts: 24

Original Poster
Blog Entries: 4

Rep: Reputation: 1
No luck with your information. I also tried this from the ubuntu docs:

This hasn't changed. Choose the "(recovery mode)" option from GRUB; add "-s", "S" or "single" to the kernel command-line; or from a running machine, run "telinit 1" or "shutdown now".

Any other ideas?
 
Old 06-15-2011, 05:01 PM   #5
tuxandpucks
LQ Newbie
 
Registered: Mar 2011
Distribution: Ubuntu, Arch
Posts: 24

Original Poster
Blog Entries: 4

Rep: Reputation: 1
OK, I had to do some searching for what the problem was and this command helped a ton:

~ > sudo du -ch --max-depth 1 /


the problem was a /var/log folder that was FULL!
 
Old 06-15-2011, 06:30 PM   #6
zelda32
LQ Newbie
 
Registered: Aug 2009
Posts: 29

Rep: Reputation: 0
Don't you rotate your log ?

If your log can easily full, rotate it everyday.
 
Old 06-16-2011, 12:21 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Glad you got it fixed. As pointed out by zelda32, look into logrotate and configure it so that this doesn't block you again. Have fun with Linux.

Kind regards,

Eric
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root partition full redhawk1973 Ubuntu 8 03-10-2009 10:07 AM
root partition full trashbird1240 Slackware 10 05-27-2008 09:04 PM
root partition full laan97ac Mandriva 6 07-23-2007 01:09 PM
root ('/') partition is FULL inon^ Linux - Hardware 2 08-08-2005 01:19 PM
Root partition is full, what now? Joe Soap Linux - Newbie 30 03-31-2005 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration