---
title: Appendix
slug: aidc/appendix
description: ONIE installation guide and DHCP configuration file example
createdAt: 2026-01-15T06:36:14.143Z
---

## <font color="#1d50a2">ONIE Installation</font>

ONIE installation flowchart:

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/vgdmpVlmDprM-KwRh0vm4-20260116-062315.png" size="70" width="759" height="638" position="center" showCaption="false"}

**Step 1: Make ONIE USB Boot Disk**

- Download the burn file to your computer (**provided by the white-box hardware vendor**).
- Burn the image file using one of the following methods:

**Method 1: Direct Burning**

**1.Find the USB stick to be burned and format the USB stick.**

```null
ubuntu@desktop$ sudo fdisk -l
```

Find the disk drive to be burned,then format it and burn the image file.

:::hint{type="warning"}
**NOTE:**

All information on this disk drive will be cleared, do not misuse it as a computer system drive letter, or any other drive letter. Assuming we need to burn the disk drive as /dev/sdc.
:::

```null
ubuntu@desktop$ sudo mkfs.vfat /dev/sdb -I
```

**2.Burn the file to a USB stick.**

```null
sudo dd if=<onie-image> of=/dev/sdb
```

**Method 2: Using the Rufus Tool**

1. Download Rufus to your computer: [https://rufus.ie/zh/](https://rufus.ie/zh/)
2. Insert the USB drive into the computer. Rufus will automatically recognize it. Open Rufus, select the downloaded burn file, and click **Start**. Wait for the file to be burned to the USB drive.

**Step 2: Install ONIE via USB**

- Insert the USB drive into the device's serial/USB port, power on the device, and immediately connect using a serial communication tool like Minicom.
- Enter the interface shown below and select the **"ONIE: Embed ONIE"** option.

  :::hint{type="info"}
  **NOTE:**

  If you do not directly enter this interface, power cycle the device. During this process, press the Delete key to enter the BIOS and check if the USB drive has the highest boot priority in "Boot Option Priorities". If not, adjust it to the highest priority.
  :::

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/WNC3Q0CII_VgV-5iGKRtI-20260116-062520.png" size="100" width="937" height="118" position="center" showCaption="false" indent="1"}

- When you see **"Info: Sleeping for 20 seconds"**, press Enter, enter the `reboot` command, and then unplug the USB drive.
- After the system reboots, it will default to **ONIE: Install OS** mode, indicating successful ONIE installation.

::Image[]{src="https://api.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/T9pdjyqoFITa5c5JMk0hb-20260116-062730.png" size="100" width="907" height="169" position="center" showCaption="false" indent="1"}

## <font color="#1d50a2">D</font><font color="#1d50a2">hcpd.conf File</font>

Below is a sample DHCP configuration file for AsterNOS installation:

```ini
# Sample configuration file for ISC dhcpd for Debian
# Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as
# configuration file instead of this file.
#
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. we default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style interim;
ignore client-updates;
authoritative;

Allow booting;
allow bootp;
allow unknown-clients;

# option definitions common to all supported networks...
#option domain-name "example.org";
#option domain-name-servers ns1.example.org, ns2.example.org;

default-lease-time 600;
max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
#subnet 10.152.187.0 netmask 255.255.255.0 {
#}

# This is a very basic subnet declaration.
subnet 10.250.0.0 netmask 255.255.255.0 {
  range 10.250.0.200 10.250.0.239; ## IP pool
  default-lease-time 6000; # Default lease time
  max-lease-time 72000; # Maximum lease time
  option subnet-mask 255.255.255.0; # Subnet mask
  option routers 10.250.0.241; # Gateway
  option domain-name-servers 114.114.114.114; # DNS server
  option bootfile-name "AsterNOS_V3.1.bin"; # Boot file
  next-server 10.250.0.241; # TFTP server IP
  filename "pxelinux.0"; # PXE boot file
}
```

