This knowledge base has moved to the documentation site. Please visit the knowledge base here for the most up to date content. This site is no longer maintained.

Checking ONIE Version on x86 Platforms



At the time of writing this article (March, 2015), switches with x86 processors do not have a Linux command to display the ONIE version. This article describes how to get the same output as fw_printenv onie_version on PowerPC platforms.


  • Cumulus Linux
  • x86 processor


Until this ONIE issue is fixed, follow these steps to get the same version:

  1. Become the root user:
    cumulus@switch:~$ sudo -i
  2. Make directory /tmp/onie:
    root@switch:/# mkdir /tmp/onie 
  3. Mount partition with LABEL=ONIE-BOOT to /tmp/onie:
    root@switch:/# mount LABEL=ONIE-BOOT /tmp/onie
  4. Look for the ONIE version:
    root@switch:/# grep onie_version= /tmp/onie/grub/grub.cfg
    For example:
    root@switch:/# grep onie_version= /tmp/onie/grub/grub.cfg
  5. Unmount /tmp/onie:
    root@switch:/# umount /tmp/onie
  6. Remove the temporary folder:
    root@switch:/# rm -rf /tmp/onie/
  7. Exit root:
    root@switch:/# logout


This support portal has moved

Cumulus Networks is now part of the NVIDIA Networking Business Unit! The NVIDIA Cumulus Global Support Services (GSS) team has merged its operations with the NVIDIA Mellanox support services team.

You can access NVIDIA Cumulus support content from the Mellanox support portal.

You open and update new cases on the Mellanox support portal. Any previous cases that have been closed have been migrated to the Mellanox support portal.

Cases that are still open on the Cumulus portal will continue to be managed on the Cumulus portal. Once these cases close, they will be moved to the Mellanox support portal.

Powered by Zendesk