my centos can not boot ~~

General support questions
Post Reply
luCk
Posts: 4
Joined: 2012/02/13 02:44:13
Location: Hong Kong , China

my centos can not boot ~~

Post by 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]

saleh
Posts: 97
Joined: 2011/02/18 18:35:11
Location: ~/egypt/alexandria
Contact:

Re: my centos can not boot ~~

Post by 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 ?

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

Re: my centos can not boot ~~

Post by luCk » 2012/02/13 05:35:24

[quote]
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 ?[/quote]




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".

:-( :-( :-( :-( :-(

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

my centos can not boot ~~

Post by pschaff » 2012/02/13 12:26:34

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

[quote]
luCk wrote:
...
The same as i do "append 1 or single to the kernel at boot".[/quote]
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 [b]nothing[/b] when attempting to boot in single user mode.

r_hartman
Posts: 711
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: my centos can not boot ~~

Post by 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'.

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

Re: my centos can not boot ~~

Post by 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 ~~

Post by 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~~

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: my centos can not boot ~~

Post by pschaff » 2012/02/14 16:41:59

Afraid your happiness is premature. :-) Disabling a major security feature of an Enterprise Linux distribution is [b]not[/b] 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

Post Reply