> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aviatrix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installing Aviatrix Edge OS Using USB

> Install Aviatrix Edge OS on Dell hardware by creating and using a USB installer.

This topic provides instructions for installing the Aviatrix Edge OS on Dell
hardware using USB.

If Edge OS is installed using iDRAC and an ISO file, Aviatrix recommends that
you use the virtual media functions offered by the remote console to configure a
static IP on the device. For details, see

<a href={"/docs/enterprise/" + "8.2" + "/guides/connectivity/edge/edge-device-os-idrac"}>Installing Aviatrix Edge OS Using iDRAC Remote Console and ISO</a>
.

## 1. Prerequisites

* Before you start to onboard and install the Edge OS on the edge device, make
  sure these

  <a href={"/docs/enterprise/" + "8.2" + "/guides/connectivity/edge/edge-device-onboarding#edge-device-prerequisites"}>prerequisite steps</a>
  are completed.

* Download and install a software on your laptop which you can use to Flash an
  OS to a USB drive or SD card, like
  [balenaEtcher - Flash OS images to SD cards & USB drives](https://etcher.balena.io/).

## 2. Prepare a USB Installer with Aviatrix Edge OS

Prepare a USB installer with Aviatrix Edge OS.

1. Download the latest Aviatrix Edge OS from
   [Aviatrix Support](https://support.aviatrix.com/downloads).

2. Connect a USB drive to a laptop.

3. Open Balena Etcher
   1. Select the Aviatrix Edge OS image

   2. Select the USB drive

   3. Flash

The USB installer is ready to use.

## 3. Onboard Edge Device onto Aviatrix Edge Platform

Onboard the edge device onto the Aviatrix Edge Platform.

1. In Aviatrix CoPilot, go to **Cloud Fabric** > **Hybrid Cloud** > **Devices**
   tab.
2. Click **Onboard Device**, then provide the following information.

| **Field** | **Description** |
| - | - |
| Name | A name to identify the edge device. |
| Platform | The Aviatrix Edge Platform Account where to onboard the device. |
| Device Configuration | Dell HW with single ethernet controller for Edge Spoke Gateway, select: **DELL Poweredge 1x E810**. Dell HW with two ethernet controller for Edge Spoke or Transit Gateway, select: **DELL Poweredge 2x E810**. |
| Serial Number | The serial number of the edge device. |

3. Expand **Device Interface Configuration** and configure the device's
   **Function MGMT** (Management) interface.
   1. If you plan to use DHCP for the device Management interface, turn **DHCP**
      toggle to **On**.

   2. If you plan to configure a Static IP address for the device Management
      interface, leave **DHCP** toggle to **Off**.

   3. If **DHCP** is **Off**, enter the Static IP address for the Management
      interface.

| **Field** | **Description** |
| - | - |
| Interface CIDR | The Static IP address of the Management interface. |
| Gateway IP | The Management Default Gateway IP address. |
| Primary DNS | The primary DNS server IP address. |
| Secondary DNS | (Optional) The secondary DNS server IP address. |

4. If you are using a proxy server to route internet traffic, from **Proxy
   Profile** dropdown menu, select the profile to upload to the edge device.

5. Under **Advanced**, specify the Edge Management CIDR that will be used on the
   Edge gateway interface. If a CIDR is not specified, the system auto assigns
   10.100.101.0/24 CIDR range and assigns 10.100.101.2 IP address on the
   interface.

<Tip>
  If the auto assigned CIDR is used, ensure that this range does not overlap
  with any other network.
</Tip>

<img src="https://mintcdn.com/aviatrix-14b37c43/DtLW-mqMRi95qZN9/images/guides/connectivity/edge/edge-onboard-mgmt-static-ip.png?fit=max&auto=format&n=DtLW-mqMRi95qZN9&q=85&s=b85eb6621f239c60be5cfca359539acd" alt="edge-onboard-mgmt-static-ip.png" width="670" height="690" data-path="images/guides/connectivity/edge/edge-onboard-mgmt-static-ip.png" />

5. Save the configuration.
   * When DHCP is selected for MGMT interface, click **Save**.
   * When Static IP is selected for MGMT interface, from the **Save and Download
     Config** drop-down menu, click **Save**.

This will download a **bootstrap-config.img** file (for example,
3QDDWX3-bootstrap-config.img). Your device will show up as **Provisioned** in
Copilot.

<img src="https://mintcdn.com/aviatrix-14b37c43/DtLW-mqMRi95qZN9/images/guides/connectivity/edge/edge-onboard-device-provisioned.png?fit=max&auto=format&n=DtLW-mqMRi95qZN9&q=85&s=72ca87d0d33af4fad40cb9d964df68f8" alt="edge-onboard-device-provisioned.png" width="3088" height="444" data-path="images/guides/connectivity/edge/edge-onboard-device-provisioned.png" />

6. Connect a USB drive to your laptop.

<Tip>
  This USB drive should be different from the one which was Flashed with the
  Aviatrix Edge OS image.
</Tip>

7. Open Balena Etcher.
   1. Select the device's **bootstrap-config.img** image file.
   2. Select the USB drive.
   3. Flash

## 4. Install Aviatrix Edge OS with a USB Installer

Install Aviatrix Edge OS on the edge Device using the USB installer.

<Note>
  This procedure is based on the Aviatrix OS installer on a USB drive. When an
  iDRAC license is available to enable virtual media functions, you can use an
  ISO installer file over a network.
</Note>

1. Connect VGA/serial and keyboard to Dell server, and power it on.

2. From the Dell server's VGA/serial console, from **iDRAC Settings > Network**
   to setup iDRAC with Static IP address or desired IP address settings, apply
   the new settings and then reboot the system.

<img src="https://mintcdn.com/aviatrix-14b37c43/DtLW-mqMRi95qZN9/images/guides/connectivity/edge/edge-usb-idrac-settings.png?fit=max&auto=format&n=DtLW-mqMRi95qZN9&q=85&s=5347e8f4a48d97a90133fe52a7c04e7e" alt="edge-usb-idrac-settings.png" width="1138" height="856" data-path="images/guides/connectivity/edge/edge-usb-idrac-settings.png" />

3. Identify the Dell server's face panel with dual USB ports and plug in
   Aviatrix OS installer USB disk to the USB port labeled with **SS**; then
   browse to iDRAC's IP address to login to the iDRAC UI with default
   credentials, which can be found from the Dell service tag label.

<Tip>Do not reset the root password when prompted to do so.</Tip>

<img src="https://mintcdn.com/aviatrix-14b37c43/DtLW-mqMRi95qZN9/images/guides/connectivity/edge/edge-usb-idrac-login.png?fit=max&auto=format&n=DtLW-mqMRi95qZN9&q=85&s=e21055d3fceec02b57976b706db720a6" alt="edge-usb-idrac-login.png" width="2578" height="1500" data-path="images/guides/connectivity/edge/edge-usb-idrac-login.png" />

4. After you login to iDRAC UI, go to **IDRAC Settings > Users** add a default
   login user account.

<img src="https://mintcdn.com/aviatrix-14b37c43/DtLW-mqMRi95qZN9/images/guides/connectivity/edge/edge-usb-idrac-user-settings.png?fit=max&auto=format&n=DtLW-mqMRi95qZN9&q=85&s=c08ec1e7fd9aec3303f680ac724f3afc" alt="edge-usb-idrac-user-settings.png" width="1914" height="574" data-path="images/guides/connectivity/edge/edge-usb-idrac-user-settings.png" />

5. From iDRAC9 UI **Configuration > BIOS Settings**, follow Aviatrix's
   recommended BIOS configuration in
   <a href={"/docs/enterprise/" + "8.2" + "/reference/gateways/edge/edge-device-bios-config"}>Dell PowerEdge BIOS Configuration</a>
   .

Apply BIOS setting changes, go to the bottom of the page and click **Apply AND
Reboot** and **OK**.

<img src="https://mintcdn.com/aviatrix-14b37c43/DtLW-mqMRi95qZN9/images/guides/connectivity/edge/edge-usb-bios-config.png?fit=max&auto=format&n=DtLW-mqMRi95qZN9&q=85&s=6c2435a71875cb6ce59a35e1abb5cc4f" alt="edge-usb-bios-config.png" width="3414" height="1756" data-path="images/guides/connectivity/edge/edge-usb-bios-config.png" />

6. Go to **Maintenance > Job Queue**, you can see current Job queue and task
   status.

<img src="https://mintcdn.com/aviatrix-14b37c43/DtLW-mqMRi95qZN9/images/guides/connectivity/edge/edge-usb-idrac-maintenance.png?fit=max&auto=format&n=DtLW-mqMRi95qZN9&q=85&s=b9406ce02c7dc5345ea2b15055d1be2c" alt="edge-usb-idrac-maintenance.png" width="3438" height="868" data-path="images/guides/connectivity/edge/edge-usb-idrac-maintenance.png" />

7. Login to iDRAC9 console using SSH.

```bash theme={null}
ssh admin@idrac9_mgmt_ip
```

and issue the following command to enter Eve device console:

```bash theme={null}
console com2
```

<img src="https://mintcdn.com/aviatrix-14b37c43/DtLW-mqMRi95qZN9/images/guides/connectivity/edge/edge-usb-idrac-ssh-console.png?fit=max&auto=format&n=DtLW-mqMRi95qZN9&q=85&s=cd5b581bbd701731f7e3b17b86413c0c" alt="edge-usb-idrac-ssh-console.png" width="1022" height="304" data-path="images/guides/connectivity/edge/edge-usb-idrac-ssh-console.png" />

Wait 5 to 10 minutes until the installation is done and you should see the log
below log from iDRAC9 console.

<img src="https://mintcdn.com/aviatrix-14b37c43/DtLW-mqMRi95qZN9/images/guides/connectivity/edge/edge-usb-idrac-install-log.png?fit=max&auto=format&n=DtLW-mqMRi95qZN9&q=85&s=4feb4e2cc95cf41b9f539576b93d4c76" alt="edge-usb-idrac-install-log.png" width="1556" height="384" data-path="images/guides/connectivity/edge/edge-usb-idrac-install-log.png" />

8. Detach the USB installer from the Dell R450 and power it on from
   **Configuration > Power Management**, from **Power Control** dropdown, choose
   **Power On System** and click **Apply**.

<img src="https://mintcdn.com/aviatrix-14b37c43/DtLW-mqMRi95qZN9/images/guides/connectivity/edge/edge-usb-idrac-power-on.png?fit=max&auto=format&n=DtLW-mqMRi95qZN9&q=85&s=8cdf9048b1b3ae746a12c7552d800fe4" alt="edge-usb-idrac-power-on.png" width="2210" height="740" data-path="images/guides/connectivity/edge/edge-usb-idrac-power-on.png" />

Wait 5 to 10 minutes while Aviatrix OS boots up.

9. The device will power off once the installation is done. At this stage,
   connect the USB drive which has the static IP information to the device and
   power on the device. Aviatrix Edge OS will read the static IP information
   from the USB and configure the device. To view the configuration logs, you
   can SSH to the device and connect to the serial console.

<Note>
  If you power on the device without inserting the USB drive which has the
  static IP information, you can do it at a later time. Connect the USB to the
  device and reset the system (warm boot). Aviatrix Edge OS will read the
  information from the USB and configure the device.
</Note>

10. After the static IP is configured, the device should be able to dial out to
    AEP (controller.edge.aviatrix.com) and register with the service. The device
    should show up as **Connected** in CoPilot and can now be used to launch an
    Edge gateway. For details on how to launch an Edge Transit or Edge Spoke
    Gateway, see
    [Hybrid Cloud Connectivity](https://legacy.docs.aviatrix.com/documentation/latest/network/edge-connectivity.html).

<img src="https://mintcdn.com/aviatrix-14b37c43/DtLW-mqMRi95qZN9/images/guides/connectivity/edge/edge-device-connected.png?fit=max&auto=format&n=DtLW-mqMRi95qZN9&q=85&s=954ef3364f1e3cfd85ff9b0717389666" alt="Edge device showing Connected status in CoPilot" width="3582" height="806" data-path="images/guides/connectivity/edge/edge-device-connected.png" />


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.