LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-21-2006, 03:02 AM   #1
meelmaar
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: Disabled
Problem deleted all files in /tmp as root and can't start fedora 5 in Graphic mode


Hey there! I'm pretty new to linux but was eager to learn and installed fedora 5 on my dell inspiron 1300 laptop dual booting linux and windows XP. All was great! Had to adjust the screen settings a bit but it all worked out of the box and I followed
stanton-finley's site

for installing and configuring all I needed. I recently updated everthing with yum and was happily using my new OS! I never had to mess around questioning and found all I wanted to know at LQ or fedora, just great!

But then suddenly the message appears at startup date the /tmp dir is full. I also had problems downloading small files, as Firefox displayed that there was not enough space in /tmp

Now I checked and deleted all files as a normal user. Got some messages that certain files couldnot be deleted, because of rights and usage. So they were not deleted. All files where in trashbin when I restarted. Bu upon reboot it wasn't possible to login to this account anymore; disk was too full. My guess is that the /tmp/.Trash file fills up the partition too much now and X can't really start up. As a root I could login and I deleted all files in this users .Trash and I think the root's trash as well, but can't really remember.

Now things got worse: Can't login in graphic mode anymore as root or just to a desktop without taskbar and all.
The system can't find files like these anymore...
.ICE-unix/*
.X0-lock
.X11-unix
orbit-*
gconfd-*

Now I've been searching the forums everywhere and see how stupid I've been, deleting all /tmp files in graphic mode. I understand that now. But what to do now? I could never find any post about restoring these files.
SO HERE ARE THE QUESTIONS:

-How can I restore the old files and make a good login possible again?
-My /tmp folder is actually a /tmp partition, which was recommended somewhere.... I'm not sure if I'm still happy with it; it's just 100MB and I want it bigger. And I'll add a script for deleting old files regularly
-Is it a solution to install fedora 5 again then... it would not be a big problem and I like this idea as well, to have everything clean again, although it cost some time... But then... how about grub... will windows still automatically start when I delete all Linux partition with Knoppix; I think not!


Really apreciate your help! JUst a link to a good post somewhere would be great as well! THNX
 
Old 08-21-2006, 12:44 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
Quote:
How can I restore the old files and make a good login possible again
/tmp is tmp. I dont think deleting any files there could have caused a problem. What you could check is if you have not accidentaly deleted /tmp folder itself.

100MB is too small, maybe thats causing the problem.

Quote:
Is it a solution to install fedora 5 again then
just reboot with the FC5 cd and install again, no need for knoppix or anything. use the custom layout this time. Its good for beginners.

if found this somewhere too.
Quote:
If you've got specific applications with very large temporary storage requirements (e.g.: database, analytic tools, multimedia), you're better off allocating storage to these needs specifically. PCMCIA users note that most PCMCIA utilities expect to find /tmp to allow creation of device files.Some software (data analysis, CD/DVD authoring, video) requires large amounts of temporary storage, from 750 MiB to several GiB. Size accordingly.

Last edited by w3bd3vil; 08-21-2006 at 12:46 PM.
 
Old 08-22-2006, 02:05 AM   #3
meelmaar
LQ Newbie
 
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: Disabled
And how about making /tmp a RAM folder with the tmps script

Hey w3bd3vil!!! Thanks a lot. I'll reinstall FC 5 some day soon. But then one more stupid question; what do you think about the option to use the /tmp folder as if it was a RAM module, thus having it cleared on every shutdown? I read this a few times everywhere but can't find any disadvantages! Thanks again. Ciao
 
Old 08-22-2006, 02:33 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
i don't think you really need to reinstall... you could boot a linux cd and then from there mount your root partition and then comment-out or delete the line for /tmp in /etc/fstab... this would then automatically make /tmp reside on the / partition and hence it will enjoy all the free space on it... and if /tmp was deleted just mkdir it...

as for having /tmp in RAM (tmpfs), that's cool sometimes... it will use RAM by expanding and contracting as necessary (unlike a ramdisk) and will also spill-out into swap if needed... personally, i don't like the stuff i do in /tmp to eat my RAM...

Last edited by win32sux; 08-22-2006 at 02:36 AM.
 
  


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
large files under the old root need to be deleted usauom Linux - Newbie 2 10-14-2005 01:31 PM
'funny' files in /tmp/orbit-root/ tom_from_van Linux - Security 5 07-26-2005 02:30 PM
getting files deleted on /tmp ines Linux - General 13 01-28-2005 03:35 AM
/tmp files being deleted new@linux Linux - Newbie 2 12-30-2004 01:51 PM
Redhat Linux doesnot start in Graphic mode after booting doshi_montu Linux - Newbie 1 04-11-2004 12:54 AM

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

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