Leaving by Hand
This path needs no Admiral Cloud, no Admiral agent and no command from Admiral. You need the device in front of you and an image for the operating system you want.
Everything on the device's disk is lost, including the workload volume and every Admiral partition. Get your data off first. If the main partition is encrypted, reveal the recovery key while the device is still in your organisation.
Admiral writes four things to a disk, and the by-hand path replaces all of them: the boot slots, the small identity partition, the main storage partition and, on some boards, the bootloader. See the partition layout.
x86 PCs and Servers
Admiral on x86 is a normal UEFI machine with GPT partitions, so any operating system installer works.
- Write the installer for your operating system to a USB drive.
- Boot the device from the USB drive. Open the firmware boot menu (typically F12, F2, F11, or DEL) and select the drive.
- When the installer asks where to install, choose the internal disk and let it remove the existing partitions: the ESP, BOOT-A, BOOT-B, ADMRL-DATA and ADMRL-MAIN. Use the installer's "erase disk" or "use entire disk" option.
- Finish the install and reboot.
If the installer will not start, or the firmware refuses to boot it, the cause is almost always Secure Boot. Read the next section.
Secure Boot
Admiral devices enrol Secure Boot keys in the firmware. The Admiral root key is the platform key (PK) on every enrolled board. What else is trusted depends on the enrolment profile the device uses.
| Profile | Trusted to boot (db) | What boots after you leave |
|---|---|---|
microsoft (default) | The Admiral intermediate certificate, Microsoft UEFI CA 2011, Microsoft UEFI CA 2023, Windows UEFI CA 2023 and the Microsoft Option ROM UEFI CA 2023. | Installers and loaders signed by the Microsoft third-party UEFI CA, which is how stock Ubuntu, Debian and Fedora boot with Secure Boot on, and Windows media signed by the Windows UEFI CA 2023. No firmware change is needed. |
admiral-only | The Admiral intermediate certificate only. | Nothing you did not sign with a key that is in db. Stock installers are refused until you change the firmware keys. |
Both profiles also install the current Microsoft revocation list (dbx), so use current installation media. A loader that Microsoft has since revoked is rejected, even on the microsoft profile. This includes older shim builds and boot managers signed only by the Windows Production PCA 2011 certificate, which is revoked.
If your device uses admiral-only
The firmware will not run a stock installer. Pick one:
- Turn Secure Boot off in firmware setup. This is the shortest route.
- Clear the enrolled keys in firmware setup. This puts the firmware in setup mode, where you can enrol your own keys or your new operating system's. Because Admiral's key is the platform key, Admiral's
dbcannot be edited without clearing it first.
Most x86 firmware offers both options. The menu names differ by vendor, for example Secure Boot, Key Management, Clear Secure Boot Keys or Restore Factory Keys. If you are not sure which profile a device uses, try the stock installer first. If the firmware rejects it, follow the steps above.
An encrypted main partition is sealed to the device's Secure Boot state. Clearing or replacing keys changes that state, so the device no longer unlocks the disk by itself. The recovery key still opens it. See Getting your data off.
NVIDIA Jetson
A Jetson module keeps its boot firmware in on-module flash (QSPI), separate from the disk. Admiral does not replace that firmware with its own: it holds NVIDIA's stock Jetson Linux (L4T) firmware, and Admiral updates it with NVIDIA's own firmware capsules. There is no Admiral-specific firmware to restore.
You have two ways to put a stock system back.
Full recovery-mode flash
This is the reliable path. It rewrites both the firmware and the disk to a matching NVIDIA release.
- Put the module in recovery mode and connect it to an x86 Linux host over USB. The way to enter recovery mode depends on the carrier board; see your carrier's documentation.
- On the host, use NVIDIA's flashing tools for the JetPack release you want:
flash.shfrom the Jetson Linux package, or NVIDIA SDK Manager. - Let the tool write the firmware and the root filesystem to the boot disk.
NVIDIA documents the tools in the Jetson Linux Developer Guide. For a worked example on real hardware, with the recovery-mode steps, USB device IDs and a full JetPack flash, see Admiral on Unitree Robots, which flashes a Jetson Orin NX in place.
Write a JetPack disk image only
If the module's firmware already matches the release you want, you can write a JetPack disk image to the NVMe or SD card and leave the firmware alone. The image's L4T major version must match the firmware's. A mismatch can leave the module unable to boot, and then you need the full flash above.
Check what the device is running before you pick an image, while it is still in your organisation:
admrl state device my-device -o json
Under boot, the firmware section reports l4tRelease, the Jetson Linux release the device runs, and the esrt entries the firmware reports. Match the major number of l4tRelease (the 36 in 36.4.3). Admiral can update firmware with capsules, so the firmware may be newer than the release the module shipped with. If you are unsure, use the full recovery-mode flash.
ARM Single-Board Computers
Write the operating system to the board's SD card or eMMC exactly as you would for a new board, using the board vendor's image and instructions.
- SD card. Remove the card, write it on another computer, and put it back.
- eMMC. Use the vendor's flashing method for the board, or boot from an SD card and write the eMMC from there.
- Bootloader. On Admiral's U-Boot boards the bootloader is stored inside the SD or eMMC image itself, so a new image replaces it. The R36S is one example.
Flashing steps for specific boards, such as the Admiral Box and R36S, are the same as for the first install. See Download & Install and replace the Admiral image with yours.
After the Reflash
Remove the device from your organisation if it is still there. See Removing the device.