Install from cdrom and Update repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

I have make a kickstart file to automate the installation from cdrom and another repo.
The kickstart snippet looks like

install 
graphical 
cdrom 
repo --name="Updates" --baseurl="http://mirror.centos.org/centos/6.5/updates/x86_64/"; --cost=98 
selinux --enforcing 

After installation, system boots but kernel crash with the message

Kernel Panic - not syncing: Attempted to kill init!
Pid: 1 comm: init Not tainted 2.6.32-358.6.2.e16.x86_64 #1
Call Trace:
[] ? panic+0xs7/0x16f
[] ? do_exit+0x862/0x870
[] ? fput+0x25/0x30
[] ? do_group_exit+0x58/0xd0
[] ? sys_exit_group+0x17/0x20
[] ? system_call_fastpath+0x16/0x1b

I found a solution on the web, but nobody tell why it happens. If selinux is disabled, it works. The append of this lines in kickstart has no positive effects.

%post --log=/root/postinstall.log
/sbin/restorecon -R -v / 
%end

Some ideas?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux