Celestica Documentation Portal

Find your product documents here

Installing NOS

This section describes how to install network operation system (NOS) like ONL, SONiC and so on.
  1. Enter ONIE: Install OS mode.
  2. Install manually.
    1. Copy NOS image like sonic-innovium.bin to ONIE rootfs via USB disk or network.

      1. USB:

        ONIE:/ # onie-stop
        ONIE:/ # mount /dev/xxx /mnt/usb
        ONIE:/ # cp /mnt/usb/sonic-innovium.bin /
        
      2. Network:

        1. Get the IP 192.168.10.20 from the console output.

          ONIE: OS Install Mode ...
          Platform  : x86_64-cls_ds3001-r0
          Version   : 2019.02.01.4.0.1
          Build Date: 2024-08-02T08:34+00:00
          Info: Mounting kernel filesystems... done.
          Info: Mounting ONIE-BOOT on /mnt/onie-boot ...
          Info: Mounting EFI System on /boot/efi ...
          Info: BIOS mode: UEFI
          Running init_platform_post_arch routines...
          Info: Making NOS install boot mode persistent.
          Info: Using eth0 MAC address: 0c:48:c6:00:00:00
          Info: eth0:  Checking link... up.
          Info: Trying DHCPv4 on interface: eth0
          ONIE: Using DHCPv4 addr: eth0: 192.168.10.20 / 255.255.255.0
          Starting: klogd... done.
          Starting: dropbear ssh daemon... done.
          Starting: telnetd... done.
          discover: installer mode detected.  Running installer.
          Starting: discover... done.
          
          Please press Enter to activate this console.
          
        2. Use scp to transfer NOS file sonic-innovium.bin to the DUT host. (No default password)

          ~ # scp sonic-innovium.bin root@192.168.10.20:/
    2. Use onie-nos-install sonic-innovium.bin command to install SONiC. After SONiC is installed successfully, unit will reboot automatically.

      ONIE:/ # onie-nos-install sonic-innovium.bin
  3. Install automatically.
    Use ONIE's discovery service to automatically find NOS and install it. For detailed reference, please refer to the following link: https://opencomputeproject.github.io/onie/user-guide/index.html
    Simple example: rename the NOS image to the following name and upload it to a USB disk or TFTP/HTTP server root directory:
    Info: Trying DHCPv4 on interface: eth0
    ONIE: Using DHCPv4 addr: eth0: 192.168.10.20 / 255.255.255.0
    ONIE: Starting ONIE Service Discovery
    Info: Attempting file://dev/sdb1/onie-installer-x86_64-cls_ds3001-r0 ...
    Info: Attempting file://dev/sdb1/onie-installer-x86_64-cls_ds3001-r0.bin ...
    Info: Attempting file://dev/sdb1/onie-installer-x86_64-cls_ds3001 ...
    Info: Attempting file://dev/sdb1/onie-installer-x86_64-cls_ds3001.bin ...
    Info: Attempting file://dev/sdb1/onie-installer-cls_ds3001 ...
    Info: Attempting file://dev/sdb1/onie-installer-cls_ds3001.bin ...
    Info: Attempting file://dev/sdb1/onie-installer-x86_64-bcm ...
    Info: Attempting file://dev/sdb1/onie-installer-x86_64-bcm.bin ...
    Info: Attempting file://dev/sdb1/onie-installer-x86_64 ...
    Info: Attempting file://dev/sdb1/onie-installer-x86_64.bin ...
    Info: Attempting file://dev/sdb1/onie-installer ...
    Info: Attempting file://dev/sdb1/onie-installer.bin ...
    Info: Attempting file://dev/sdb/onie-installer-x86_64-cls_ds3001-r0 ...
    Info: Attempting file://dev/sdb/onie-installer-x86_64-cls_ds3001-r0.bin ...
    Info: Attempting file://dev/sdb/onie-installer-x86_64-cls_ds3001 ...
    Info: Attempting file://dev/sdb/onie-installer-x86_64-cls_ds3001.bin ...
    Info: Attempting file://dev/sdb/onie-installer-cls_ds3001 ...
    Info: Attempting file://dev/sdb/onie-installer-cls_ds3001.bin ...
    Info: Attempting file://dev/sdb/onie-installer-x86_64-bcm ...
    Info: Attempting file://dev/sdb/onie-installer-x86_64-bcm.bin ...
    Info: Attempting file://dev/sdb/onie-installer-x86_64 ...
    Info: Attempting file://dev/sdb/onie-installer-x86_64.bin ...
    Info: Attempting file://dev/sdb/onie-installer ...
    Info: Attempting file://dev/sdb/onie-installer.bin ...
    
    To check the install status inspect /var/log/onie.log.
    Try this:  tail -f /var/log/onie.log
    
    NOTICE: ONIE started in NOS install mode.  Install mode persists
    NOTICE: until a NOS installer runs successfully.
    
    ** Installer Mode Enabled **
    ONIE:/ #
    ONIE:/ # Info: Attempting http://192.168.10.2/onie-installer-x86_64-cls_ds3001-r0 ...
    Info: Attempting http://192.168.10.2/onie-installer-x86_64-cls_ds3001-r0.bin ...
    Info: Attempting http://192.168.10.2/onie-installer-x86_64-cls_ds3001 ...
    Info: Attempting http://192.168.10.2/onie-installer-x86_64-cls_ds3001.bin ...
    Info: Attempting http://192.168.10.2/onie-installer-cls_ds3001 ...
    Info: Attempting http://192.168.10.2/onie-installer-cls_ds3001.bin ...
    Info: Attempting http://192.168.10.2/onie-installer-x86_64-bcm ...
    Info: Attempting http://192.168.10.2/onie-installer-x86_64-bcm.bin ...
    Info: Attempting http://192.168.10.2/onie-installer-x86_64 ...
    Info: Attempting http://192.168.10.2/onie-installer-x86_64.bin ...
    Info: Attempting http://192.168.10.2/onie-installer ...
    Info: Attempting http://192.168.10.2/onie-installer.bin ...
    Info: Attempting http://192.168.10.79/onie-installer-x86_64-cls_ds3001-r0 ...
    Info: Attempting http://192.168.10.79/onie-installer-x86_64-cls_ds3001-r0.bin ...
    Info: Attempting http://192.168.10.79/onie-installer-x86_64-cls_ds3001 ...
    Info: Attempting http://192.168.10.79/onie-installer-x86_64-cls_ds3001.bin ...
    Info: Attempting http://192.168.10.79/onie-installer-cls_ds3001 ...
    Info: Attempting http://192.168.10.79/onie-installer-cls_ds3001.bin ...
    Info: Attempting http://192.168.10.79/onie-installer-x86_64-bcm ...
    Info: Attempting http://192.168.10.79/onie-installer-x86_64-bcm.bin ...
    Info: Attempting http://192.168.10.79/onie-installer-x86_64 ...
    Info: Attempting http://192.168.10.79/onie-installer-x86_64.bin ...
    Info: Attempting http://192.168.10.79/onie-installer ...
    Info: Attempting http://192.168.10.79/onie-installer.bin ...
    Info: Attempting http://[fe80::2a29:86ff:fe39:14af%eth0]/onie-installer-x86_64-cls_ds3001-r0 ...
    Info: Attempting http://[fe80::2a29:86ff:fe39:14af%eth0]/onie-installer-x86_64-cls_ds3001-r0.bin ...
    Info: Attempting http://[fe80::2a29:86ff:fe39:14af%eth0]/onie-installer-x86_64-cls_ds3001 ...
    Info: Attempting http://[fe80::2a29:86ff:fe39:14af%eth0]/onie-installer-x86_64-cls_ds3001.bin ...
    Info: Attempting http://[fe80::2a29:86ff:fe39:14af%eth0]/onie-installer-cls_ds3001 ...
    Info: Attempting http://[fe80::2a29:86ff:fe39:14af%eth0]/onie-installer-cls_ds3001.bin ...
    Info: Attempting http://[fe80::2a29:86ff:fe39:14af%eth0]/onie-installer-x86_64-bcm ...
    Info: Attempting http://[fe80::2a29:86ff:fe39:14af%eth0]/onie-installer-x86_64-bcm.bin ...
    Info: Attempting http://[fe80::2a29:86ff:fe39:14af%eth0]/onie-installer-x86_64 ...
    Info: Attempting http://[fe80::2a29:86ff:fe39:14af%eth0]/onie-installer-x86_64.bin ...
    Info: Attempting http://[fe80::2a29:86ff:fe39:14af%eth0]/onie-installer ...
    Info: Attempting http://[fe80::2a29:86ff:fe39:14af%eth0]/onie-installer.bin ...