[CentOS] Install from cdrom and Update repo

Fri Mar 14 21:24:40 UTC 2014
Eero Volotinen <eero.volotinen at iki.fi>

Please provide complete kickstart, not just a snippet of it.
14.3.2014 22.47 kirjoitti "EljiUdia" <eljiudia at yahoo.com>:

> 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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>