Linux boot error during filesystem check

Status
Not open for further replies.

husseinadel

Full Member level 3
Joined
Jan 25, 2006
Messages
156
Helped
19
Reputation
38
Reaction score
6
Trophy points
1,298
Location
EGYPT,CAIRO
Activity points
2,647
Linux problem

while booting to linux this appears to me exactly:

"
Checking root filesystem
/1:unexpected inconsistency ; run fsck manually
(i.e., without –a or –p options)
***An error occurred during filesystem 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 maintainance
( or type control-d to continue)

"

so what can i do?!!!!
NB. i have nearly very poor background in linux,,so please reply in some details,
also ,, when i type my password it says
"repair filesystem? 1#"
when i type y,he said "undefined command
repair filesystem? 2#"

when i type yes, it gives me a long run of letter "y" as follows:
y
y
y
y
y
y
y
y
y
......
please if anyone help it would be great
thanks
 

Re: Linux problem

after giving passsword when u r in root shell type 'fsck' or 'e2fsck' without quote; that will do filesystem check and repair them.
 
Re: Linux problem

jayeshvadgama said:
after giving passsword when u r in root shell type 'fsck' or 'e2fsck' without quote; that will do filesystem check and repair them.
i noticed that i must type fsck ,for every system file ,,and the number of system files exceeds thousands!!,, so is there any way to type only few things instead of that?
thanks
 

Re: Linux problem

hello there,

try the following .. BUT
*** ON YOUR OWN RISK .. AS IT MY LEAD YOUR FILE SYSTEM TO AN UNREPAIRABLE CONDITION AND EVENTUALLY COMPLETE LOST OF YOUR DATA ***

just type in front of "repair filesystem? 1#" - the command "fsck /" .. after writing this command, the whole line on your screen will look like

" repair filesystem? 1# fsck / " (without quotes)

and hit ENTER.

let us know about the result, if you dare to try the above stated command.
 

Re: Linux problem


may be afterthen ,but not now ...i need my linux for at least 2 weeks to complete a job
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…