This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Astaro Network Installation

Is it possible to extract the Astaro security gateway software ISO and install it using a PXE server over/with NFS or HTTP? If so how?

Which kernel and initrd files plus which options should I append to the pxe default configuration file?

As it stands I have a FreeBSD 8.2 server using gPXE for multiple Linux and Window installs. The server runs: Apache22, TFPT, NFS, DHCP, DNS, NAT, IPFW, Samba, SSH, and Binlsrv. I would like to add Astaro to the list but I can't get it to boot and install properly.

The default PXE file looks like this for Astaro:

label Astaro v8
kernel http://192.168.255.254/images/astaro/isolinux/bzImage
initrd http://192.168.255.254/images/astaro/isolinux/initramfs.gz

This boots Astaro and begins the install stall process. During the formatting step it fails at step 2 of 6 asking for install.tar. the exact error is: Error install.tar wasn't found on the installation media. How do I the installer to be seen correctly.

I downloaded the current Astaro V8 ISO from the ftp.astaro.... website to my FreeBSD server. I created a directory /usr/tftpboot/images/astaro. Mounted the Astaro ISO to /mnt. Used rsync -a to make an exact copy of the ISO to the directory astaro. From there is where I have the PXE server loading the files to the end-users for installation. The install.tar is located at /usr/tftpboot/astaro/install. I don't know how to communicate that along with the kernel and initrd file.

I do not want to burn a CD/DVD, USB stick, USB-CDdrive. I want to be able to do it over the network.


This thread was automatically locked due to age.
Parents Reply Children
  • It _is_ possible, but of course not supported! [[:D]] Internally at Astaro we use a completely automated and (according to its users) very convenient installation environment for Testing etc. that uses PXE netboot.

    It is based on DHCP, tftp, pxelinux, an installer.ini file and extracted kernel & initrd. At least ASG v8.0 is required.

    The pxelinux config file must look similar to this:

    LABEL Astaro Security Gateway
    KERNEL bzImage
    APPEND ini=installer.ini dhcp=$MAC vga=normal initrd=initramfs.gz load_ramdisk=1 root=/dev/ram0

    $MAC should be the MAC address of the desired interface that should be used to request an IP via DHCP in format AA:BB:CC[[:D]]D:EE:FF.

    The installer.ini file must look similar to this:

    [global]
    iso = nfs://192.168.0.254/var/nfs/isos?asg-8.200-5.1.iso
    finish = reboot
    checksum = on
    nfsproto = udp
    restore = off

    [network]
    interface = eth0
    ipaddr = 192.168.0.1
    netmask = 255.255.255.0
    gateway = 192.168.0.254

    [regional]
    timezone = Europe/Berlin
    utc = on
    keyboard = US


    The .ini makes the installer running in unattended (AUTO) mode.

    Of course you have to put the ISO into the corresponding NFS share and it must be world readable. There are many more options & possibilities but I don't like to go into more details for now.
  • Good afternoon.
    And greetings from Russia.
    Translated by means of the translator.
    We are your clients, has seen at your forum interesting possibility of loading.
    Very necessary.

    Prompt please, in what a loading error.
    Зугрузка passes to installer.ini
    log - alt+F4
    bootstrap: var.c:250: ERROR: installer.ini: invalid URI to the ini file

    alt+F2
    ifconfig - eth0 down

    Changed:
    dhcp=08:00:27:7C:25:45
    dhcp = $08:00:27:7C:25:45
    3 months I can not already find an error.
    It can is necessary to start interactive loading

    initramfs.gz - Files from 8.102, 8.103, 8.200 and so on.

    Loading files.



    default
    default default

    LABEL default

    KERNEL bzImage

    APPEND ini=installer.ini dhcp=$08:00:27:7C:25:45 vga=normal initrd=initramfs.gz load_ramdisk=1 root=/dev/ram0