<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Posts on SMITUX</title>
        <link>https://www.smitux.com/site/posts/</link>
        <description>Recent content in Posts on SMITUX</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <copyright>was made by &lt;a href=&#34;http://schmidt2.de&#34;&gt;Michael H.G. Schmidt&lt;/a&gt;. Released under the &lt;a href=&#34;http://smitux.com/site/license&#34;&gt;MIT license&lt;/a&gt;</copyright>
        <lastBuildDate>Fri, 01 May 2020 00:00:00 +0000</lastBuildDate>
        <atom:link href="https://www.smitux.com/site/posts/index.xml" rel="self" type="application/rss+xml" />
        
        <item>
            <title>Installation</title>
            <link>https://www.smitux.com/site/posts/2020/05/installation/</link>
            <pubDate>Fri, 01 May 2020 00:00:00 +0000</pubDate>
            
            <guid>https://www.smitux.com/site/posts/2020/05/installation/</guid>
            <description>Download Get it from HERE
8.1.x versions (master) SMITUX is written to disk using the script &amp;ldquo;stx2disk&amp;rdquo;.
Installation can be done with any Smitux version or with some other Linux (we recommend SystemRescueCd - if you have a dedicated Hetzner server use the rescue system).
We DO NOT support installations using Windows or MacOS!
Download the .tar.gz file and copy it to your linux box (Example: &amp;ldquo;scp root@linuxbox:/root&amp;rdquo;). Download the install script (&amp;ldquo;stx2disk&amp;rdquo;) and copy it to your linux box (Example:&amp;ldquo;scp stx2disk root@linuxbox:/root&amp;rdquo;).</description>
            <content type="html"><![CDATA[<h2 id="download">Download</h2>
<p>Get it from <strong><a href="http://smitux.com/release">HERE</a></strong></p>
<h2 id="81x-versions-master">8.1.x versions (master)</h2>
<p>SMITUX is written to disk using the script &ldquo;stx2disk&rdquo;.</p>
<p>Installation can be done with any Smitux version or with some other Linux (we recommend <a href="https://www.system-rescue.org/Download">SystemRescueCd</a> - if you have a dedicated Hetzner server use the rescue system).</p>
<p>We <strong>DO NOT</strong> support installations using Windows or MacOS!</p>
<ol>
<li>Download the .tar.gz file and copy it to your linux box (Example: &ldquo;scp <!-- raw HTML omitted --> root@linuxbox:/root&rdquo;).</li>
<li>Download the install script (&ldquo;stx2disk&rdquo;) and copy it to your linux box (Example:&ldquo;scp stx2disk root@linuxbox:/root&rdquo;).</li>
<li>Connect a USB stick or a disk to your box (or use one of the internal disks).</li>
<li>Login as root(ssh root@linuxbox) or become root on your box (to do this execute: &ldquo;sudo su -&rdquo;).</li>
<li>Use the command &ldquo;fdisk -l&rdquo; to determine the target drive:</li>
</ol>
<pre tabindex="0"><code>Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3411b46d
 
 Device     Boot    Start       End   Sectors  Size Id Type
 /dev/sda1           2048   8798207   8796160  4.2G 82 Linux swap / Solaris
 /dev/sda2  *     8798208  79198207  70400000 33.6G 83 Linux
 /dev/sda3       79198208 234440703 155242496   74G 8e Linux LVM
  
   
   Disk /dev/sdc: 14.3 GiB, 15376000000 bytes, 30031250 sectors
   Units: sectors of 1 * 512 = 512 bytes
   Sector size (logical/physical): 512 bytes / 512 bytes
   I/O size (minimum/optimal): 512 bytes / 512 bytes
   Disklabel type: dos
   Disk identifier: 0x00966661
    
    Device     Boot Start      End  Sectors  Size Id Type
    /dev/sdc1  *     2048 30031249 30029202 14.3G  c W95 FAT32 (LBA)
</code></pre><ol start="6">
<li>In this case we can use the /dev/sdc device (which is a 16 GB USB-stick). Assuming you have copied your tarfile and the stx2disk script to /root issue the following commands to install SMITUX to the USB drive:</li>
</ol>
<pre tabindex="0"><code>cd /root
chmod 755 stx2disk
./stx2disk /dev/sdc stx-image-8.1.18.tar.gz
</code></pre><ol start="7">
<li>The script will ask several questions:</li>
</ol>
<pre tabindex="0"><code>Hostname [stx] ? 
Domainname [localdomain] ? 
Swapspace in GB [4] ? 1
ROOT filesystem in GB [32] ? 8
IP address [] ? 192.168.89.40
Netmask [24] ? 
Gateway [0.0.0.0] ? 192.168.89.10
DNS [8.8.8.8] ? 192.168.89.1
---------------------------------------------
HINT:for old machines choose &#34;dos&#34; partition!
Partition TYPE (msdos OR gpt) [msdos] ? 
---------------------------------------------
Hostname            = stx
Domainname          = localdomain
SWAP in GB          = 1
ROOT filesystem[GB] = 8
IP address          = 192.168.89.40
Netmask             = 24
Gateway             = 192.168.89.10
DNS                 = 192.168.89.1
Partition TYPE      = msdos
---------------------------------------------
READY (Yy/Nn) y
</code></pre><p><em>HINT: Please keep in mind to use different IP adresses and names (this is just an example)!</em></p>
<p><em>HINT: Do not use sizes for root or swap that exceed the size of your medium.<br>
Doing this will result in strange partitioning errors!</em></p>
<p><strong>WARNING:</strong> The script will DELETE ALL data on your drive after entering &ldquo;y&rdquo;!<br>
We are not responsible for any data loss! You have been warned.</p>
<p>Script output (end):</p>
<pre tabindex="0"><code>
[...]

INFO: installing grub to [ /dev/sdc ].
Installing for i386-pc platform.
Installation finished. No error reported.
INFO: unmounting [ /tmp/ROOTFS.3296/dev ] ...
INFO: unmounting [ /tmp/ROOTFS.3296/proc ] ...
INFO: unmounting [ /tmp/ROOTFS.3296/sys ] ...
INFO: setting root password to ---&gt; 49eb4505 &lt;---
INFO: trying to unmount [ /tmp/ROOTFS.3296 ] ...
INFO: cleaning up ...
READY.
</code></pre><p>After writing all data to the target drive the script ends with a ready message and <strong>prints</strong> the root password. Please WRITE down this root password. This happens only ONCE!</p>
<p>Reboot your system and set the BIOS to boot from the fresh installed drive.<br>
<em>Thats all folks.</em></p>
<h2 id="install-smitux-in-3-minutes">Install SMITUX in 3 minutes</h2>
<p>This little video shows an installation using SystemRescueCD.</p>


<video width="640" height="480" controls>
  <source src="/site/video/SMITUX-install-8.1.24.mp4" type="video/mp4">
</video>



]]></content>
        </item>
        
    </channel>
</rss>
