We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda NextGen Firewall X

Installing CCISS Machines with a USB-Stick

  • Type: Knowledgebase
  • Date changed: 9 years ago
Solution #00005191 
 
Scope:
This solution replies to:
- NG Firewall firmware versions 4.2.x
- netfence firmware versions 4.2.x
 
 
Symptoms:

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.


 

Solution:

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 .

 

 

Link to This Page:
https://campus.barracuda.com/solution/50160000000IKZkAAO