<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title> – Install on an industrial PC</title>
    <link>/docs/getting-started/install-mcxos/install-rtos/install/usb/</link>
    <description>Recent content in Install on an industrial PC on </description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/docs/getting-started/install-mcxos/install-rtos/install/usb/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Docs: Create the imager stick on Ubuntu</title>
      <link>/docs/getting-started/install-mcxos/install-rtos/install/usb/ubuntu/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/getting-started/install-mcxos/install-rtos/install/usb/ubuntu/</guid>
      <description>
        
        
        &lt;p&gt;Ubuntu writes the image with its Disks tool, through &lt;code&gt;Disk Image Writer&lt;/code&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your file manager, right-click the imager stick image (&lt;code&gt;…mcx-clonezilla….img.xz&lt;/code&gt;) and choose &lt;code&gt;Open With&lt;/code&gt; › &lt;code&gt;Disk Image Writer&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;code&gt;Restore Disk Image&lt;/code&gt; window, set &lt;code&gt;Destination&lt;/code&gt; to your USB drive. Check the size and name: the wrong choice erases another disk.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Press &lt;code&gt;Start Restoring...&lt;/code&gt; and confirm.&lt;/p&gt;
&lt;figure&gt;&lt;img src=&#34;/docs/getting-started/install-mcxos/install-rtos/install/usb/_media/ubuntu-restore-disk-image.png&#34;
         alt=&#34;Restore Disk Image window with the imager stick image selected, the Destination list and the Start Restoring button highlighted&#34; width=&#34;600&#34;/&gt;&lt;/a&gt;
&lt;/figure&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When writing is done, Ubuntu mounts the &lt;code&gt;ImageData&lt;/code&gt; partition of the stick.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;details style=&#34;border:1px solid #f5f5f5; border-radius:0px; background:#f6f6f7; padding:0.7em 1em 0.7em 1em; margin:1em 0;&#34;&gt;
  &lt;summary style=&#34;font-weight:600; cursor:pointer; color:#1976d2; padding:0.2em 0;&#34;&gt;
    Watch it as a video
  &lt;/summary&gt;
  &lt;div style=&#34;margin-top:0.7em;&#34;&gt;
    &lt;iframe src=&#34;https://player.vimeo.com/video/849476876&#34; width=&#34;960&#34; height=&#34;540&#34; frameborder=&#34;0&#34; allow=&#34;autoplay; fullscreen; picture-in-picture&#34; allowfullscreen&gt;&lt;/iframe&gt;

  &lt;/div&gt;
&lt;/details&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Install the image with mci restore</title>
      <link>/docs/getting-started/install-mcxos/install-rtos/install/usb/restore/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/getting-started/install-mcxos/install-rtos/install/usb/restore/</guid>
      <description>
        
        
        


 
 




 



&lt;div class=&#34;alert alert-warning&#34; role=&#34;alert&#34;&gt;&lt;h4 class=&#34;alert-heading&#34;&gt;Warning&lt;/h4&gt;
 &lt;p&gt;Installing the image erases everything on the disk you choose. Back up the controller first if you want to keep its current software or settings.&lt;/p&gt;
&lt;/div&gt;


&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Start the install:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;mci restore
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose the image to install: the Intel image you copied into &lt;code&gt;ImageData&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose the disk to install it on: the controller&amp;rsquo;s internal disk, usually &lt;code&gt;/dev/sda&lt;/code&gt;. The disk must be at least as large as the image.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Wait until the imager is done, which takes a while. It ends with &lt;code&gt;Done:&lt;/code&gt; and the partitions of the disk.&lt;/p&gt;
&lt;figure&gt;&lt;img src=&#34;/docs/getting-started/install-mcxos/install-rtos/install/usb/_media/clonezilla-install-mcx.png&#34;
         alt=&#34;End of the mci restore output: the filesystem on /dev/sda2 is resized, the partition table shows an EFI and a platform partition, followed by Done&#34; width=&#34;700&#34;/&gt;&lt;/a&gt;
&lt;/figure&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Check the output for errors.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Pull out the imager stick and restart the controller:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;sudo reboot
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The controller now starts MCX-RTOS from its disk.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Open the imager terminal with a keyboard and display</title>
      <link>/docs/getting-started/install-mcxos/install-rtos/install/usb/connect-disp/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/getting-started/install-mcxos/install-rtos/install/usb/connect-disp/</guid>
      <description>
        
        
        &lt;p&gt;Connect a keyboard and a display to the controller. After the stick has booted, the display shows the imager terminal, ready for a command. If it asks you to log in, use the user &lt;code&gt;admin&lt;/code&gt; and the password &lt;code&gt;vectioneer&lt;/code&gt;.&lt;/p&gt;
&lt;figure&gt;&lt;img src=&#34;/docs/getting-started/install-mcxos/install-rtos/install/usb/_media/screen-connect-clonezilla.png&#34;
         alt=&#34;Imager terminal on the controller&amp;#39;s display after booting from the stick&#34; width=&#34;700&#34;/&gt;&lt;/a&gt;
&lt;/figure&gt;


      </description>
    </item>
    
    <item>
      <title>Docs: Back up the controller with mci backup</title>
      <link>/docs/getting-started/install-mcxos/install-rtos/install/usb/backup/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/getting-started/install-mcxos/install-rtos/install/usb/backup/</guid>
      <description>
        
        
        &lt;p&gt;A backup saves the controller&amp;rsquo;s disk as an image on the stick, so you can install it again later with &lt;code&gt;mci restore&lt;/code&gt;. Make sure the stick has enough free space.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Start the backup:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;mci backup
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose the source disk: the controller&amp;rsquo;s internal disk, usually &lt;code&gt;/dev/sda&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose the target directory on the stick. The imager offers a new directory named after the date and time, for example &lt;code&gt;/mnt/usb/2026-01-06_15-44-42_mci-fsa-image&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;Choose Source Device:
1) sda /dev/sda
...
Choose Target Image Directory:
1) /mnt/usb/2026-01-06_15-44-42_mci-fsa-image   (new directory)
...
Done
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Wait until the imager shows &lt;code&gt;Done&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Pull out the imager stick and restart the controller:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;sudo reboot
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The backup is a directory of filesystem archives, not a raw disk image. &lt;code&gt;mci restore&lt;/code&gt; can install it, but a virtual machine such as QEMU cannot start from it.&lt;/p&gt;
&lt;details style=&#34;border:1px solid #f5f5f5; border-radius:0px; background:#f6f6f7; padding:0.7em 1em 0.7em 1em; margin:1em 0;&#34;&gt;
  &lt;summary style=&#34;font-weight:600; cursor:pointer; color:#1976d2; padding:0.2em 0;&#34;&gt;
    Make a raw disk image for QEMU
  &lt;/summary&gt;
  &lt;div style=&#34;margin-top:0.7em;&#34;&gt;
    &lt;p&gt;A raw disk image is one file with the whole disk in it, which QEMU can start. You make it by restoring the backup into an empty image file on the stick. The stick needs room for the backup and for the full image file, 6 GB in this example.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Go to the stick and check it is mounted:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;color:#204a87&#34;&gt;cd&lt;/span&gt; /mnt/usb
ls -lart
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create an empty 6 GB image file:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;truncate -s 6G temp.img
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Attach it as a loop device and see which one it got:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;sudo losetup -fP temp.img
losetup -a
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;/dev/loop1: []: (/mnt/usb/temp.img)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Back up the controller as above with &lt;code&gt;mci backup&lt;/code&gt;, if you have not done so yet.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restore the backup into the loop device. Use the loop device from step 3:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;mci restore -d /dev/loop1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Check that the loop device now has partitions:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;lsblk
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;NAME     MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop1      7:1    0     6G  0 loop
├─loop1p1 259:2    0    34M  0 part
└─loop1p2 259:3    0     6G  0 part
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Detach the loop device:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;sudo losetup -d /dev/loop1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Check the partition table of the image file:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;fdisk -l temp.img
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;Disklabel type: gpt

Device     Start      End  Sectors Size Type
temp.img1   2048    71615    69568  34M EFI System
temp.img2  71616 12582847 12511232   6G Linux filesystem
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;code&gt;temp.img&lt;/code&gt; is now a raw disk image. You can start it in QEMU: see &lt;a href=&#34;/docs/getting-started/install-mcxos/install-rtos/install/virtual-machine/&#34;&gt;Run a virtual machine&lt;/a&gt;.&lt;/p&gt;

  &lt;/div&gt;
&lt;/details&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Create the imager stick on Windows</title>
      <link>/docs/getting-started/install-mcxos/install-rtos/install/usb/windows/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/getting-started/install-mcxos/install-rtos/install/usb/windows/</guid>
      <description>
        
        
        &lt;p&gt;Windows has no built-in tool to write a disk image, so you use a separate one such as 
&lt;a href=&#34;https://rufus.ie/en&#34; target=&#34;_blank&#34;&gt;Rufus&lt;/a&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Install and start the disk image writer.&lt;/li&gt;
&lt;li&gt;Select your USB drive and the imager stick image (&lt;code&gt;…mcx-clonezilla….img.xz&lt;/code&gt;). Check that you picked the USB drive: the wrong choice erases another disk.&lt;/li&gt;
&lt;li&gt;Start writing and wait until it is done.&lt;/li&gt;
&lt;li&gt;The stick now shows up as a drive called &lt;code&gt;ImageData&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Open the imager terminal over SSH</title>
      <link>/docs/getting-started/install-mcxos/install-rtos/install/usb/connect-ssh/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/getting-started/install-mcxos/install-rtos/install/usb/connect-ssh/</guid>
      <description>
        
        
        &lt;p&gt;With &lt;span class=&#34;mcx-term&#34; tabindex=&#34;0&#34;&gt;SSH&lt;span class=&#34;mcx-term-tip&#34; role=&#34;tooltip&#34;&gt;SSH (Secure Shell) opens a terminal on another computer over the network. Ubuntu, macOS and Windows 10 and later have the &lt;code&gt;ssh&lt;/code&gt; command built in.&lt;/span&gt;&lt;/span&gt;
 you open the imager terminal from your PC, without a keyboard or display on the controller.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Connect your PC to the controller&amp;rsquo;s network port with a network cable.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Give your PC&amp;rsquo;s network adapter an address in the &lt;code&gt;192.168.2.x&lt;/code&gt; range, for example &lt;code&gt;192.168.2.10&lt;/code&gt;: see &lt;a href=&#34;/docs/getting-started/connect-your-pc/configure-your-network/&#34;&gt;Configure your network&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open a terminal on your PC and connect to the controller at &lt;span class=&#34;mcx-ip&#34; tabindex=&#34;0&#34;&gt;&lt;code&gt;controller_ip_address&lt;/code&gt;&lt;span class=&#34;mcx-ip-tip&#34; role=&#34;tooltip&#34;&gt;The IP address of your controller. In most cases 192.168.2.100.&lt;/span&gt;&lt;/span&gt;:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;ssh admin@controller_ip_address
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Log in with the password &lt;code&gt;vectioneer&lt;/code&gt;. The terminal shows the imager&amp;rsquo;s welcome text.&lt;/p&gt;
&lt;figure&gt;&lt;img src=&#34;/docs/getting-started/install-mcxos/install-rtos/install/usb/_media/ssh-connect-clonezilla.png&#34;
         alt=&#34;Terminal after ssh admin@192.168.2.100: Clonezilla with motorcortex imaging scripts, quickstart mci restore or mci backup, more information mci-help&#34; width=&#34;700&#34;/&gt;&lt;/a&gt;
&lt;/figure&gt;

&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Run &lt;code&gt;mci-help&lt;/code&gt; for more information on the imager commands.&lt;/p&gt;

      </description>
    </item>
    
  </channel>
</rss>
