LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-14-2004, 11:29 AM   #1
dave111
Member
 
Registered: Aug 2004
Posts: 48

Rep: Reputation: 15
Corrupted root partition?


I suddenly became unable to load X or KDE, am getting a warning that the root partition is full. The partition has 6 GB allotted, and generally contains about 1 GB of data. The only things I had just done were to activate KMail, which I'd never used before; and then run a backup using Mandrake's backup utility, which I used once before, and it seemed to work fine.

System is Mandrake 9.2, 256 MB RAM.

I can get to a command prompt, and under my username, I can see all my files, and access them. Under Root though, I get different responses each time I reboot. One time it will list a few of the usual files, along with a boatload of files named "code.****" where **** is a 4 digit number. These files can't be deleted. Other times when I log on as root, I see the usual files, but nonetheless, I can't access any programs, or X, or KDE.

Is the root partition corrupted beyond repair?

Thanks.

Last edited by dave111; 11-14-2004 at 11:46 AM.
 
Old 11-14-2004, 12:02 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,333

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
" am getting a warning that the root partition is full."

You can check how much space is actually being used in the root partition with the du command:
du -s -h -x /

Another useful command is:
df

See man du and man df.

"Is the root partition corrupted beyond repair?"

You should check whether the root partition is corrupted or not with the fsck command. Boot a rescue CD and issue the fsck command against the root partition. Be sure to specify the correct file system type. If you use knoppix you will have to umount the root partition first. Here is an example fsck command:
fsck -t ext3 /dev/hda1

------------------------------
Steve Stites
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root partition gets full when using cp -a on another partition timsch75 Linux - General 2 10-02-2005 07:41 AM
Root Partition anjanesh Fedora 10 10-13-2004 11:05 PM
root partition petercool Linux - General 5 09-29-2003 03:01 PM
/boot partition corrputed vinay_r99 Linux - Hardware 5 03-04-2003 12:26 AM
no root partition? mkzmonkeylagger Linux - General 5 07-15-2002 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:35 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