7. Use another system to wake from wlan (Supported tools: wakeonlan, and etherwake).
$ sudo wakeonlan MAC
$ sudo etherwake MAC
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 3: Restoring from boot menu (Edge Gateway 3003 only)
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 15. Start or cancel restoration during system POST
To start 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.
Option 3: Restoring from boot menu
CAUTION:
These steps will delete all the data on your Edge Gateway.
1. Connect a USB keyboard and display to the Edge Gateway.
62
Setting up the operating system
To cancel restoration
● 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.