Users Guide
Restoring Ubuntu Core 16
When the operating system is restored to the factory image, all data on the system is deleted. You can restore Ubuntu Core 16 operating
system to the factory image using one of the following methods:
• Restore Ubuntu Core 16 from USB flash drive
• Restore Ubuntu Core 16 from the recovery partition on the Edge Gateway
– Option 1: Restoring from the operating system
– Option 2: Restoring during system POST
Option 1: Restoring from the operating system
CAUTION: These steps will delete all the data on your Edge Gateway
1. Connect the Edge Gateway remotely or through a KVM session.
2. Log in to the operating system.
3. Run the following command to trigger native eMMC recovery partition:.
$ sudo efibootmgr -n $(efibootmgr | grep "factory_restore" | sed 's/Boot//g' | sed 's/
[^0-9A-B]*//g') ; reboot
Option 2: Restoring during system POST
CAUTION: These steps delete all the data on your Edge Gateway.
1. Connect a USB keyboard to the Edge Gateway.
2. Power on the Edge Gateway.
The Power LED turns solid green while the Cloud LED is off.
3. During the first 20 seconds after applying power, press Ctrl+F repeatedly to trigger the operating system recovery.
4. When the Cloud LED starts blinking green, continue with one of these options:
NOTE: If the Cloud LED does not start blinking after 50 seconds, power off the Edge Gateway and repeat Steps 2 and 3.
Table 16. Start or cancel restoration during system POST
To start restoration To cancel restoration
• Press y, then press Enter.
The Cloud LED changes to solid green indicating that recovery is
in progress. Once restoration is complete, the Cloud LED turns
off and the system reboots. The restoration takes about 2
minutes to complete.
• Press n, then press Enter. Or, if the system does not detect
any key-press within 30 seconds.
The Cloud LED turns off, and the system reboots.
Restore Ubuntu Core 16 from USB flash drive
CAUTION: These steps will delete all the data on your Edge Gateway.
Prerequisites
Create the recovery USB flash drive. For more information, see Creating the recovery USB flash drive.
Procedure
1. Insert the USB flash drive into the USB port on the Edge Gateway.
2. Power on the Edge Gateway.
3. The Edge Gateway boots through the USB flash drive and flashes the Ubuntu Core installation image into storage automatically.
NOTE: When the installation images are being flashed to the storage, the Power LED is solid green and Cloud LED is blinking
green.
59