ks.cfg ( post-installation ) stuck

Report bugs and workarounds
Post Reply
rdh
Posts: 9
Joined: 31 Mar 2015 12:23
Location: NL

ks.cfg ( post-installation ) stuck

Post by rdh »

Hi,

I have try to install efa a couple of time on dell r210 machine and a another r210 but the kickstart script stuck on post-installation.
Waiting for 12 hours and still stuck, then i start another test and stuck again. Then i take another machine and have exactly the same problem.

Image

I not use the basic ks script at http://dl.efa-project.org/build/3.0.0.8/ks.cfg but change two thing into it eth0 to em1 and ext3 to ext4 and nothing more so thats not the problem in my opinion

Code: Select all

#platform=x86, AMD64, or Intel EM64T
#version=DEVEL

# Firewall configuration
firewall --enabled --http --ssh --smtp --port=10000:tcp

# Install OS instead of upgrade
install

# Use network installation
url --url="http://centos.mirrors.efa-project.org/6/os/x86_64/"

# Root password (EfaPr0j3ct) this password will be changed later on.
rootpw --iscrypted $1$IGB3kcef$3CbZE5Gca08Pt5Ld2Ereq0

# System authorization information
auth  --useshadow  --passalgo=sha512

# Use text mode install
text

# System keyboard
keyboard us-acentos

# System language
lang en_US

# SELinux configuration
selinux --enforcing

# Do not configure the X Window System
skipx

# Installation logging level
logging --level=info

# Shutdown after installation
# Needed for building VM images
shutdown

# System timezone
timezone --isUtc Etc/UTC

# Network information
network  --bootproto=dhcp --device=em1 --onboot=on

# System bootloader configuration
bootloader --location=mbr

# Clear the Master Boot Record
zerombr

# Partition clearing information
clearpart --all --initlabel

# Disk partitioning information
part /boot --asprimary --fstype="ext4" --fsoptions noatime --size=500
part swap --size=4096
part pv.01 --size=1 --grow
volgroup vg_00 pv.01
logvol / --vgname=vg_00 --size=8192 --fsoptions noatime --name=lv_root
logvol /tmp --fsoptions nosuid,noexec,noatime --vgname=vg_00 --size=1024 --name=lv_tmp
logvol /var --fsoptions noatime --vgname=vg_00 --size=1 --grow --name=lv_var

# Install basic needed packages.
%packages
@base
@core
gpg
mysql-server
mysql
screen
php
php-gd
php-mysql
httpd
dnsmasq
rrdtool
rrdtool-perl
postfix
cyrus-sasl-md5
#cyrus-sasl-sql
#cyrus-sasl-ldap
ImageMagick
ntp
patch
tree
rpm-build
binutils
glibc-devel
gcc
make
opencv
perl-Archive-Tar
perl-Archive-Zip
perl-Compress-Zlib
perl-Convert-BinHex
perl-Digest-SHA1
perl-DBD-MySQL
perl-DBD-SQLite
perl-CGI
perl-HTML-Parser
perl-IO-stringy
perl-IO-Socket-INET6
perl-IO-Socket-SSL
perl-IO-Zlib
perl-MailTools
perl-MIME-tools
perl-Pod-Escapes
perl-Pod-Simple
perl-Test-Pod
perl-TimeDate
perl-Time-HiRes
perl-Net-DNS
perl-Net-IP
perl-Net-SSLeay
perl-Encode-Detect
perl-Module-Build
mod_ssl
system-config-keyboard
openssl-devel
# Packages not needed
-aic94xx-firmware
-ql2400-firmware
-libertas-usb8388-firmware
-zd1211-firmware
-ql2200-firmware
-ipw2200-firmware
-iwl5150-firmware
-iwl6050-firmware
-iwl6000g2a-firmware
-iwl6000-firmware
-ivtv-firmware
-xorg-x11-drv-ati-firmware
-atmel-firmware
-iwl4965-firmware
-iwl3945-firmware
-rt73usb-firmware
-ql23xx-firmware
-bfa-firmware
-iwl1000-firmware
-iwl5000-firmware
-iwl100-firmware
-ql2100-firmware
-ql2500-firmware
-rt61pci-firmware
-ipw2100-firmware
-alsa-utils
-alsa-lib
%end

%post
mkdir /var/log/EFA
mkdir /usr/src/EFA
/usr/bin/wget -q -O /usr/src/EFA/build.bash -o /var/log/EFA/wget.log https://raw.githubusercontent.com/E-F-A/v3/3.0.0.8/build/build.bash --no-check-certificate
chmod 700 /usr/src/EFA/build.bash
logsave /var/log/EFA/build.log /usr/src/EFA/build.bash
%end
The post-installation part is the %post from the ks.cfg and i think it go there wrong. Before i did the same modification on version 3.0.0.7 and this was no problem.

Thank you very much for your assistance.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: ks.cfg ( post-installation ) stuck

Post by shawniverson »

Scroll to the end of this section and follow instructions to switch screens and view what is (or was) happening.

(Press Alt+F2)

https://efa-project.org/wiki/Building_E.F.A.
rdh
Posts: 9
Joined: 31 Mar 2015 12:23
Location: NL

Re: ks.cfg ( post-installation ) stuck

Post by rdh »

Ok i will restart the process, after hours i will check with alt f2.

I post when i have info.
rdh
Posts: 9
Joined: 31 Mar 2015 12:23
Location: NL

Re: ks.cfg ( post-installation ) stuck

Post by rdh »

Ok we try again and press alt + f2 to enter the console.

The log at /mnt/sysimage/var/log/EFA/build.log are not exist, if i look at /mnt/sysimage/var/log/ the EFA dir named EFA? also at /var/log the efa dir named EFA?

I check also the installation paths on the server and there have no installations.

/etc/*
no MailScanner folder
no postfix folder
no sqlgrey folder
no EFA-Config file
no EFA-Version file

/var/*
no clamav folder
no EFA folder
no /www/html/mailscanner folder
no /www/html/sgwi folder

I think there is something wrong with https://raw.githubusercontent.com/E-F-A ... build.bash
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: ks.cfg ( post-installation ) stuck

Post by shawniverson »

Testing...trying to reproduce issue...
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: ks.cfg ( post-installation ) stuck

Post by shawniverson »

Not seeing issue here...

Using unmodified ks.cfg and CentOS 6.6 NetInstall ISO...
buildtest.png
buildtest.png (44.9 KiB) Viewed 7999 times
rdh
Posts: 9
Joined: 31 Mar 2015 12:23
Location: NL

Re: ks.cfg ( post-installation ) stuck

Post by rdh »

Thanks for testing shawniverson, i have setup a vps to and it works like a charm :D .
That let me think the bios settings are not right, and after checking the bios setting i see the SATA interface settings are standing wrong on AHCI, i change it tot ATA and the server is installed into 40min.

No BUG into script :shifty:

Problem solved :dance:
Last edited by rdh on 09 Oct 2015 20:21, edited 1 time in total.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: ks.cfg ( post-installation ) stuck

Post by shawniverson »

No need to delete, this is helpful info in case someone else runs into same issue :ugeek:
rdh
Posts: 9
Joined: 31 Mar 2015 12:23
Location: NL

Re: ks.cfg ( post-installation ) stuck

Post by rdh »

Always good :dance:
Post Reply