====== How do I install Voyage so it can be upgraded remotely? ====== ===== Overview ===== The motivation for this is fairly simple, and most likely quite common. One has Voyage installed on a device that one does not have ready physical access to. Technically, if the device running Voyage is connected to the internet, one can log in remotely via ssh and perform whatever upgrades one wishes. However, this approach has two drawbacks: * It is not failsafe - meaning that if something goes wrong or is misconfigured, recovery is only possible through getting physical access to the device. * It is not scalable - upgrading many devices, particularly if one is adding new services and making multiple configuration changes, is time consuming and subject to error. ===== Dual Boot Method ===== One solution is to have a standard image (root filesystem) that can be uploaded to the device, replacing the existing version. The problem here is that one can't upgrade the root filesystem while it is in use. So what we need is a second root filesystem on our device, that we can be using while we upgrade the first. The precise method to do this will depend on the device that Voyage is running on. For instructions for the WRAP, see [[dual_boot_wrap|here]]. One can have a main partition and a smaller 'rescue' system, where one boots into the rescue system, upgrades the main system, and reboots again. Or one can have two 'full versioned' systems on each partition, where the default partition to be booted varies as each upgrade is performed. More discussion on this kind of arrangement can be found [[http://www.applieddata.net/forums/topic.asp?TOPIC_ID=1703|here]].