The translation is temporarily closed for contributions due to maintenance, please come back later.

Source string Read only

(itstool) path: sect3/title
Context English State
The update process of <application>NanoBSD</application> is relatively simple:
Build a new <application>NanoBSD</application> image, as usual.
Upload the new image into an unused partition of a running <application>NanoBSD</application> appliance.
The most important difference of this step from the initial <application>NanoBSD</application> installation is that now instead of using <filename>_.disk.full</filename> (which contains an image of the entire disk), the <filename>_.disk.image</filename> image is installed (which contains an image of a single system partition).
Reboot, and start the system from the newly installed partition.
If all goes well, the upgrade is finished.
If anything goes wrong, reboot back into the previous partition (which contains the old, working image), to restore system functionality as fast as possible. Fix any problems of the new build, and repeat the process.
To install new image onto the running <application>NanoBSD</application> system, it is possible to use either the <filename>updatep1</filename> or <filename>updatep2</filename> script located in the <filename>/root</filename> directory, depending from which partition is running the current system.
According to which services are available on host serving new <application>NanoBSD</application> image and what type of transfer is preferred, it is possible to examine one of these three ways:
Using <citerefentry><refentrytitle>ftp</refentrytitle><manvolnum>1</manvolnum></citerefentry>
If the transfer speed is in first place, use this example:
<prompt>#</prompt> <userinput>ftp myhost
get _.disk.image "| sh updatep1"</userinput>
Using <citerefentry><refentrytitle>ssh</refentrytitle><manvolnum>1</manvolnum></citerefentry>
If a secure transfer is preferred, consider using this example:
<prompt>#</prompt> <userinput>ssh myhost cat _.disk.image.gz | zcat | sh updatep1</userinput>
Using <citerefentry><refentrytitle>nc</refentrytitle><manvolnum>1</manvolnum></citerefentry>
Try this example if the remote host is not running neither <citerefentry><refentrytitle>ftpd</refentrytitle><manvolnum>8</manvolnum></citerefentry> or <citerefentry><refentrytitle>sshd</refentrytitle><manvolnum>8</manvolnum></citerefentry> service:
At first, open a TCP listener on host serving the image and make it send the image to client:
myhost<prompt>#</prompt> <userinput>nc -l <replaceable>2222</replaceable> &lt; _.disk.image</userinput>
Make sure that the used port is not blocked to receive incoming connections from <application>NanoBSD</application> host by firewall.
Connect to the host serving new image and execute <filename>updatep1</filename> script:
<prompt>#</prompt> <userinput>nc myhost <replaceable>2222</replaceable> | sh updatep1</userinput>


No matching activity found.

Browse all component changes

Source information

Source string comment
(itstool) path: sect3/title
Source string location
String age
a year ago
Source string age
a year ago
Translation file
articles/nanobsd.pot, string 87