LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2009, 08:20 AM   #1
omraj
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
repair filesystem


Hi


I ran Photorec and testDisk to recover files from pendrive.
It was not successful. But after i restarted the system, its not coming up.

showing
============
: Is a directory while trying to open /
*** An error occurred during the file system check
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
*** Warning -- SELinux is active
*** Disabling security enforcement for system recovery.
*** run 'setenforce 1' to reenable.
Give root password for maintenance
(or type Control-D to continue);

========
If i type root password, it shows

(Repair filesystem) 1#

if i type CTRL - D, it restarts.

Can any one help how to boot the system and run it normally from here?

OS: Linux AS 4

Thanks.in advance..

Regards...

Last edited by omraj; 08-28-2009 at 08:21 AM.
 
Old 08-28-2009, 08:26 AM   #2
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
Personally I would start with checking any grub entries, to see if anything has changed. Then fsck the drive from another linux install.

See if you can access any log files. And post any error messages. Its dropping to busybox I'm guessing. Maybe because of read errors.

Don't know much about selinux... Try googling the error message.
 
Old 08-28-2009, 09:54 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,868
Blog Entries: 27

Rep: Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163
Hi,

You should be able to use your install CD or a LiveCD to do the repair on the system.
 
Old 08-28-2009, 10:45 AM   #4
mushroomboy
Member
 
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
root filesystem isn't mounting, that's the error. The other users have already stated the ways to figuring out a fix. livecd or grub options
 
Old 08-28-2009, 02:42 PM   #5
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
Dunno what system you're running so we dunno if you're using Lilo or grub and it's possible that the problem is there but I don't think so as / is found but not able to be mounted.
You imply the file system has been repaired but still won't boot.
Based on your information I don't see where anything has been repaired.
I myself have had a similar problem in the past due to broken files.
It may not be necessary to try and repair them from a live cd as the error states you can login as root and do repairs.
It isn't that hard you just have to know where / is mounted and fsck should be a part of your system already.
In my case / is hda2.

Login as root and then type fsck -hda2 [or wherever you have /] and strike the enter key.
Answer the questions with y or n and y is probably going to be the safe choice.
After it completes note again what the error stated...

Quote:
*** Disabling security enforcement for system recovery.
*** run 'setenforce 1' to reenable.
Reboot and let us know if anything worked or not.
 
  


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
repair filesystem Liza Linux - Newbie 4 10-08-2007 01:58 AM
How to repair filesystem vivek8939 Linux - Newbie 1 08-03-2007 01:55 AM
Filesystem Repair borisys Linux - Newbie 3 06-24-2005 10:24 PM
filesystem repair natalia21 Linux - Software 1 02-03-2005 06:50 AM
How to Repair a Filesystem? CatLinuz Linux - Newbie 3 02-24-2004 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration