LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-19-2005, 09:15 PM   #1
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
Messed up my fs, repairing it?


ok, here's the scenario. I thought I could clean my localhost inbox by deleting the /home/jake/mbox file. Then I started getting errors about something being readonly. So I rebooted and fsck caught something in my file system, so I had to log in as root (or hit ctrl-d) and fix it. So i did that and ran e2fsck -p /dev/hda3. That quit saying I had to do it manually. So I did e2fsck /dev/hda3 and held 'y' down for a long time, got tired of that and hit ctrl-c. I then ran e2fsck -yv /dev/hda3, and that seemed to fix it. I then rebooted, and /var was completely missing, my hostname was not being recognized, and /proc was empty. I booted into knoppix, and ran e2fsck -p again, and it said that everything was clean. Thoughts on fixing my filesystem? I really don't want to reinstall, but I will. Oh yeah, and when I rebooted into debian, nothing mounted except / and that mounted as read only. Thoughts?
 
Old 04-20-2005, 03:56 AM   #2
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
I once ran into one of these problems on a Debian Sarge I maintained... out of maybe 15GB of data only 80MBs or so was saved. Only way I could fix this was a clean reinstall.
 
Old 04-20-2005, 09:32 PM   #3
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
yeah, I did that today. I got my stuff I needed, and I reinstalled. Oh well. It was my fault to begin with, but I was hoping I could fix it. Thanks anyway
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Repairing KDE 3.3? msie02 Fedora 1 10-17-2004 01:23 AM
Repairing the MBR artistikone Linux - Hardware 3 06-26-2004 06:13 PM
Repairing XF86Config martina-cz Linux - Newbie 5 11-08-2003 01:55 PM
Need help repairing GRUB! Please! DJSpaceMouse Linux - Software 19 05-27-2003 01:44 PM
Repairing? cjnkns Linux - Hardware 4 03-19-2003 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:28 AM.

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