"An error occurred during the file system check."
Greetings. I'm a Linux n00b who's found himself in a fix. It started with a full partition. Doing a "df -h" I could see that /dev/hdc2 had 0% available. I tried a few things I found here and ended up not being able to boot at all.
I tried "apt-get clean" but said I didn't have it. Now I boot and at some point get to: Quote:
I tried the Control-D and it just ended up here again. So next time I entered the root password. Quote:
(Repair filesystem) nn # fdisk -l Quote:
Quote:
At "(Repair filesystem) nn #" I "cd /" and "ls" to see that there is a proc directory but "cd proc" then "ls" shows nothing. Is that significant? Thanks in advance. |
Hi,
You should boot the system as 'single' or use a Livecd to boot then do your repair on the filesystem in question. |
Quote:
Awesome. I'm downloading an ISO now. Can you give me some direction on repairing the filesystem? |
Hi,
Once you boot either as single or with the Livecd of choice you can do a 'fsck' on the filesystem in question. Do a 'man fsck'; Code:
excerpt from 'man fsck' 'man' is your friend so use it! These links and others can be found at 'Slackware-Links' . More than just SlackwareŽ links! |
I'm having some trouble getting going here from a Live CD. I downloaded both Ubuntu and SLAX. Something seems wrong with the Ubuntu but that isn't the problem. The SLAX loaded just fine. So what's the problem? I can't do an fsck where I want to (on the hdc1 and hdc2 is where I think I want to work).
Okay so now my Live CD. I boot, get a lovely SLAX desktop open shell-Konsole and go to root (cd /) the prompt is root@slax:~# I can see the directories but these are the ones loaded from my CD right? The ones I want to fsck are on my HD. How do I get there? There is one important detail I have forgotten until recently, so I haven't listed it in my experiences above. I had a few unclean shutdowns immediately before being unable to boot. It's also worthy to restate that the file the filecheck fails to find "proc/partitions" doesn't seem to exist. In fact the proc dir is quite empty. Thanks again in advance for your help if you can provide any. EDIT for update: Update: I still haven't been able to do any fsck that has the kind of outcome I'm hoping for but I've made some progress. Using the GUI I've been able to find my partitions on the HD. I've deleted a bunch of stuff i have copies of elsewhere and am 88% finished copying some website and forum stuff i really didn't want to lose. Happily my Mac has a nice little FTP server running on it. :-) I wonder if it's grub I'm supposed to fix? Oh well. |
Hi,
Make sure to check the md5 sums for the downloads you do. That way you know the iso image is valid for the Livecd you burn. You are going to be working on the filesystem in question in a single user mode. That way you know there won't be others touching the filesystem. You can do a fsck on a device if that is the way wish to go. You should read the 'man fsck'. Do a 'fdisk -l' to find the desired device that contains your filesystem in question. Remember that the possibility of device reassignment exists. You could mount the device to confirm it is the one to 'fsck' on by what contents are within the filesystem. As I stated you can 'fsck' on a device that contains the filesystem. Read the man! You could look at '19.5 File System Repair: fsck' part of the 'Rute Tutorial & Exposition' for a detailed explanation. These links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links! |
All times are GMT -5. The time now is 09:00 AM. |