- NG Firewall firmware versions 4.2.x
After USB-stick-installation of a CCISS machine with kickstart and PAR-file, the box does not boot and the USB-Stick isn't able to boot on another Server.
When installation is done, wrong parameters are written into /etc/lilo.conf .
When you create the kickstart-file with the NG Install, you can edit the pre- and post-install-script.
Please insert the following lines into the scripts:
Pre-Install-Script:
mknod /dev/sda
dd if=/dev/sda of=/tmp/usb.img count=1 bs=512
Post-Install-Script:
Find the line containing the string "exec ./post_install" and insert the following commands directly in front of it:
TARGET=/etc/lilo.conf
/bin/sed -e '
s,boot=/dev/sda,boot=/dev/cciss/c0d0,
s,root=/dev/sda,root=/dev/cciss/c0d0p, ' \$TARGET > \$TARGET.1
/bin/cp -f \$TARGET \$TARGET.2
/bin/cp -f \$TARGET.1 /etc/lilo.conf
chmod 0600 /etc/lilo.conf
/sbin/lilo
dd if=/tmp/usb.img of=/dev/sda count=1 bs=512
Please boot the server from the USB-Stick with the new ks.cfg and start the installation again. After the installation, the box will boot normal.
Note:
During the installtion process, the first 512 bytes of the USB-Stick MBR will be overwritten. As reason a usage of the stick for second time is not possible. For each installation process the USB-Stick must be prepared new via phion.i .