---
title: ONIE Check and Preparation
slug: aidc/onie-check-and-preparation
description: ONIE environment verification and preparation guidelines
createdAt: 2026-01-15T06:33:13.637Z
---

This section provides guidelines for completing the ONIE environment verification and preparation prior to AsterNOS installation. ONIE (Open Network Install Environment) is the standard installation and boot environment for white-box switches, designed for deploying AsterNOS and other compatible network operating systems.

## <font color="#1d50a2">Operation Flowchart</font>

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/9dMcMQ0QIemxk89CECAGO-20260115-105643.png" size="80" width="796" height="1525" position="center" showCaption="false"}

## <font color="#1d50a2">Environment Check and Preprocessing</font>

### <font color="#1d50a2">ONIE Not Pre-installed</font>

If the ONIE environment is not pre-installed on the device from the factory, the ONIE image must be provided and installed by the white-box hardware vendor or through their official channels. If technical assistance is required during installation, or to confirm whether the device is within the scope of support (refer to **[Hardware Compatibility List](https://v1.docs.asternos.com/aidc/hardware-compatibility-list)**), please contact our technical support.

- Successful ONIE Installation: After the system reboots, it will enter the **ONIE: Install OS** mode by default.

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/3pypkntgHZXU189aLFLtV-20260115-110216.png" size="100" width="1302" height="616" position="center" showCaption="false" indent="1"}

### <font color="#1d50a2">ONIE Pre-installed</font>

Connect a server or laptop to the switch's serial port using a serial debugging tool. Power on the switch. If the ONIE environment is already pre-installed, it will automatically enter the ONIE GRUB menu page, with ONIE: Install OS selected by default.

![](https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/8lhHq6YlmPKPn5WDxdFY8-20260116-030007.png)

### <font color="#1d50a2">ster NOS Installed</font>

:::hint{type="danger"}
**NOTE:**&#x20;

If a third-party NOS is already installed on the device, it is necessary to **uninstall all existing systems via ONIE** first. Directly installing AsterNOS without this step may lead to installation failures due to partition conflicts, system anomalies, and other risks.
To retain the original system or deploy a dual-system configuration, please contact technical support for compatibility assessment.
:::

**Step:**

- Log in to the switch via the serial port and execute a reboot or power-cycle operation.

:::CodeblockTabs{indent="1"}
```none
admin@sonic:~$ sudo reboot
```
:::

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/_N1gf1l4DpRCjJxaFX7LP-20260116-031459.png" size="100" width="1000" height="142" position="center" showCaption="false" indent="1"}

- After a moment, a system selection interface will appear. Select **ONIE** within 10 seconds; otherwise, the system will default to booting into the original NOS.

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/__26rq6YazTMil4MFqAiJ-20260116-031641.png" size="100" width="1213" height="576" position="center" showCaption="false" indent="1"}

- The ONIE GRUB menu will appear shortly. Select **ONIE: Uninstall OS**. This process will take some time to clear all existing systems and format their partitions.

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/YPEl56Cc0N1g33KztmRrd-20260116-031714.png" size="100" width="584" height="340" position="center" showCaption="false" indent="1"}

- Wait for the process to complete. Upon successful clearance, the system will automatically reboot and enter the **ONIE: Install OS** page.

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/gV6tEUtVDfQsMGqvmHL2a-20260116-032015.png" size="100" width="455" height="301" position="center" showCaption="false" indent="1"}

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/JT-NV6XmkjVF5yzTHLIuA-20260116-031804.png" size="100" width="835" height="395" position="center" showCaption="false" indent="1"}

## <font color="#1d50a2">Hardware Platform Information Check</font>

Before installation, it is mandatory to confirm that the hardware platform identifier in ONIE matches the current device model. Incorrect platform information will cause driver loading failures and prevent the system from booting.

- After completing the environment confirmation and selecting **INSTALL\_NOS**, press Enter to enter the ONIE command-line page.

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/hGLraZktoeoh5jTYTX8z2-20260116-032136.png" size="100" width="865" height="634" position="center" showCaption="false" indent="1"}

- Execute the following command to check the platform information:

:::CodeblockTabs{indent="1"}
```none
cat /etc/machine.conf
```
:::

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/i-028zih4BJwWZjDQhBq4-20260116-032807.png" size="100" width="746" height="462" position="center" showCaption="false" indent="1"}

:::Paragraph{indent="1"}
If the **onie\_platform** and **onie\_machine** fields do not match the current hardware platform, they must be manually modified using the `vi` command. Details are provided in the table below:
:::

<font color="#1d05a2">Table 1 Hardware Platform Mapping</font>

| **Product Name** | **Onie\_machine**          | **Onie\_platform**                   |
| ---------------- | -------------------------- | ------------------------------------ |
| AS7726\_32X      | `accton_as7726_32x`        | `x86_64-accton_as7726_32x-r0`        |
| DCS6500-48Z8C    | `muxi_dcs6500_48z8c`       | `x86_64-muxi_dcs6500_48z8c-r0`       |
| DS2000           | `cel_ds2000`               | `x86_64-cel_ds2000-r0`               |
| DS3000           | `cel_ds3000`               | `x86_64-cel_ds3000-r`                |
| CX308P-48Y-N-V2  | `asterfusion_cx308p_48y_n` | `x86_64-asterfusion_cx308p_48y_n-r0` |
| CX532P-N         | `asterfusion_cx532p_n`     | `x86_64-asterfusion_cx532p_n-r0`     |
| CX532P-N-V2      | `asterfusion_cx532p_n`     | `x86_64-asterfusion_cx532p_n-r0`     |
| CX564P-N         | `asterfusion_cx564p_n`     | `x86_64-asterfusion_cx564p_n-r0`     |
| CX664D-N         | `asterfusion_cx664d_n`     | `x86_64-asterfusion_cx664d_n-r0`     |
| CX732Q-N         | `asterfusion_cx732q_n`     | `x86_64-asterfusion_cx732q_n-r0`     |
| CX732Q-N-V2      | `asterfusion_cx732q_n`     | `x86_64-asterfusion_cx732q_n-r0`     |
| CX864E-N         | `asterfusion_cx864p_n`     | `x86_64-asterfusion_cx864e_n-r0`     |

After completing the check, proceed with the AsterNOS installation.
