my centos can not boot ~~

General support questions

my centos can not boot ~~

Postby luCk » 2012/02/13 02:51:34

My centos was installed in the virtualBox , since last week, it can not boot any more which i could not find the reason :(..



And it still keep in this process and halting ...




Even I could chroot into it by using live CD, but ,what is the path of the crash log and stop booting? :-( :-(

Anyone could help me fix it , thank you very much!!!!!! 8-) 8-)


[img align=left]http://img1.imagehousing.com/23/dfe8238114f0d9c5ec578cb66d239607.jpg[/img]
luCk
 
Posts: 4
Joined: 2012/02/13 02:44:13
Location: Hong Kong , China

Re: my centos can not boot ~~

Postby saleh » 2012/02/13 04:27:06

Can you press "F1" to see all processes that are being initialized, and tell me at which process the system halt?

In the other hand, you can append 1 or single to the kernel at boot (by click 'e'), boot at run level 1, and tell me what is in
"/var/log/messages" log file ?
saleh
 
Posts: 97
Joined: 2011/02/18 18:35:11
Location: ~/egypt/alexandria

Re: my centos can not boot ~~

Postby luCk » 2012/02/13 05:35:24

saleh wrote:
Can you press "F1" to see all processes that are being initialized, and tell me at which process the system halt?

In the other hand, you can append 1 or single to the kernel at boot (by click 'e'), boot at run level 1, and tell me what is in
"/var/log/messages" log file ?





When press "F1" , just a cursor and the black background in the vmbox..

The same as i do "append 1 or single to the kernel at boot".

:-( :-( :-( :-( :-(
luCk
 
Posts: 4
Joined: 2012/02/13 02:44:13
Location: Hong Kong , China

my centos can not boot ~~

Postby pschaff » 2012/02/13 12:26:34

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

luCk wrote:
...
The same as i do "append 1 or single to the kernel at boot".

That is all you see? Sounds virtually impossible that you would get as far as the screen shot shows in normal boot mode, and see nothing when attempting to boot in single user mode.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: my centos can not boot ~~

Postby r_hartman » 2012/02/13 14:07:56

Once the progress bar starts progressing, hit the Escape key and see at what service the boot 'stops'.
r_hartman
 
Posts: 701
Joined: 2009/03/23 15:08:11
Location: Netherlands

Re: my centos can not boot ~~

Postby luCk » 2012/02/14 01:30:28

Thank you all guys replying

I got the reason now it can show the process when i remove "quiet" tag and add "single" at the end of kernel.

Here is the machine halting....

But what may cause it ??


[img]http://img1.imagehousing.com/49/2fc6baa9c96291b334e5c302ca657cbb.jpg[/img]
luCk
 
Posts: 4
Joined: 2012/02/13 02:44:13
Location: Hong Kong , China

Re: my centos can not boot ~~

Postby luCk » 2012/02/14 02:38:48

Thank you all of guys who help me.

It can normally run after disable the selinux... 8-)


vi /etc/selinux/config
SELINUX=disabled

Haha...happy~~
luCk
 
Posts: 4
Joined: 2012/02/13 02:44:13
Location: Hong Kong , China

Re: my centos can not boot ~~

Postby pschaff » 2012/02/14 16:41:59

Afraid your happiness is premature. :-) Disabling a major security feature of an Enterprise Linux distribution is not recommended. It is not clear how the problem occurred but the recommended approach is to use Permissive rather than Disabled mode to debug and fix the problem so you can then go back to enforcing.

Be sure all available errata updates have been applied. Rebooting in Permissive mode with a relabel ("touch /.autorelabel"), followed by a return to Enforcing mode may be sufficient to fix the issue.

If not, see the Wiki articles:
http://wiki.centos.org/HowTos/SELinux
http://wiki.centos.org/TipsAndTricks/SelinuxBooleans
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America


Return to CentOS 6 - General Support

Who is online

Users browsing this forum: No registered users and 6 guests