You can use a USB flash drive to make your device to boot from the freshly-built OS on your network-connected host development machine. Alternatively, you can also direct your device to boot from the OS on the flash drive itself.
To prepare a USB flash drive to be a bootable disk for your device, complete the following steps:
Run the following command to set the build configuration:
fx set core.x64
Run the following command to build the fuchsia image:
Run the following command to create a zedboot key, replacing
DEVICE-PATHwith the path to your target device:
fx mkzedboot DEVICE-PATH
This command requires that you
sudointo your machine. As a result, you will need to enter your password after running
mkzedbootcommand does the following:
- Creates a File Allocation Table (FAT) partition that contains an Extensible Firmware Interface (EFI) System Partition. The EFI System Partitition contains the Gigaboot EFI bootloader and a configuration that specifies that your device always boot into Zedboot.
- Creates a ChromeOS bootable partition with a developer key signed Zedboot kernel partition.
Connect your device to your host through built-in ethernet.
(Optional) To pave your target device with Fuchsia, run:
(Optional) To netboot your target device, run:
Power on your device.
Manually creating an EFI boot key is no longer supported.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-01-02.