<p>In this tutorial, we're going to look at the first and foremost thing anyone can do to remove surveillance from their digital lives, by installing a free and open source software (FOSS) host operating system: Linux, in this case we're going to setup the latest Debian.</p>
<p>I recommend using this setup on your main PC, laptop, but also as a home server or a remote server. For <ahref="../privacy/index.html">Privacy use</a>, and potentially <ahref="../anonymityexplained/index.html">Anonymous use</a> if you implement the correct technology for it later on, as per the <ahref="../opsec4levels/index.html">4 basic OPSEC levels</a>.</p>
<p>So here we are Bob, and we have decided that having an entire crowd watching what we were doing with out computer was no longer acceptable. What can we do from here ?</p>
<imgsrc="1.png"class="imgRz">
<p>Bob, after searching for a while on the web, Bob realized that Windows was the problem here. Because it is closed-source (meaning the source code is not available) he couldn't know what Windows was doing in the background. Because that is so, Bob is now certain that his Operating System could be used for surveillance, without him being aware of it.</p>
<p>"What the hell can I do on Windows privately then ?", Bob thought for a while.</p>
<imgsrc="../privacy/1.png"class="imgRz">
<p>"... Nothing!", He realized. While he was using windows, he would never have any privacy with his digital life.</p>
<p><u>Allegory:</u> You have a house, and you have an annoying neighbor (Jack) that wants to know everything you do in your House. <b>If you have windows installed on your computer as a host OS, it is the same as leaving the front door wide open for Jack to enter and watch what you're doing in your house, no matter how much you try to barricade the windows, or the doors.</b> It makes more sense to try and barricade the front door first, before trying to barricade the windows and other rooms in your house, isn't it ?</p>
<p>So Bob looked for an open source operating system to replace Windows, and <ahref="https://github.com/torvalds/linux">he found the Linux sourcecode</a>, he read the entire code and found no spyware in it. Then he decided that he would use that instead of using Windows.</p>
<imgsrc="1.5.png"class="imgRz">
<p><b>Because it is through Windows, that Microsoft employees are able to spy on what Bob was doing so far!</b> By removing windows from the equation, he is also removing Microsoft's surveillance from his digital life!</p>
<p>Bob has decided that he would use Linux from now on, because he is no longer tolerating being watched by an entire crowd, without his consent.</p>
</div>
</div><!-- /row -->
</div><!-- /container -->
</div><!-- /white -->
<divid="anon2">
<divclass="container">
<divclass="row">
<divclass="col-lg-8 col-lg-offset-2">
<h2><b>How to create a Debian USB installer from Windows?</b></h2></br></br>
<p>First Bob, goes on the web to find a Linux distribution he likes, that is Open Source:</p>
<imgsrc="3.png"class="imgRz">
<p>He sees there are many options like Linux Mint, Ubuntu, etc</p>
<imgsrc="4.png"class="imgRz">
<p>But he settles on <ahref="https://www.debian.org/download">Debian</a>. <b>(Disclaimer: if you use closed-source hardware, like 99.9999999999% of people out there, you will invariably have to use non-free firmware too</b><ahref="https://www.debian.org/vote/2022/vote_003">[1]</a><ahref="https://forums.debian.net/viewtopic.php?t=158876">[2]</a><ahref="https://forums.debian.net/viewtopic.php?t=154837">[3])</a>. If you want a purely FOSS host OS, and you are willing to not have firmware for your CPU, GPU, Motherboard, Ethernet/wifi, check out the OSes recommended by the Free Software Foundation <ahref="https://www.gnu.org/distros/free-distros.en.html">[4]</a> (but it will be at the expense of having your peripherals not working <ahref="https://forums.puri.sm/t/non-free-firmware-for-pureos/20053">[5]</a>). <b>The status of Open source Hardware is not even competitive in this closed-source hardware domination of the market.</b>, hopefully this will change in the future, but for now that's how it is. <u>TLDR:</u> If you don't want to install proprietary firmware, check out <ahref="https://pureos.net/download/">PureOS</a> instead of debian.</p>
<imgsrc="5.png"class="imgRz">
<p>Now Bob has the Debian ISO image.</p>
<imgsrc="6.png"class="imgRz">
<p>But now he needs to put that ISO image on a USB stick. To do so he can use <ahref="https://rufus.ie/en/">Rufus</a> or <ahref="https://etcher.balena.io/#download-etcher">Balena Etcher</a>:</p>
<imgsrc="7.png"class="imgRz">
<imgsrc="8.png"class="imgRz">
<p>So Bob installs BalenaEtcher:</p>
<imgsrc="9.png"class="imgRz">
<imgsrc="10.png"class="imgRz">
<p>Once installed, he selects the ISO image in balenaetcher:</p>
<imgsrc="11.png"class="imgRz">
<p>Then, Bob plugs in his USB stick in his computer, to be able to put the ISO image into it:</p>
<imgsrc="12.png"class="imgRz">
<p>Then, Bob selects his USB stick from balenaetcher:</p>
<imgsrc="13.png"class="imgRz">
<p>Then he clicks "Flash", that way Balenaetecher will put the ISO image on the USB stick.</p>
<imgsrc="14.png"class="imgRz">
<imgsrc="15.png"class="imgRz">
<p>Bob waits a few minutes, and now he has a USB stick with the latest Debian OS on it.</p>
<imgsrc="16.png"class="imgRz">
<p>Bob will now be able <b> to use it to install Linux and replace Windows with it.</b></p>
</div>
</div><!-- /row -->
</div><!-- /container -->
</div><!-- /white -->
<!-- +++++ Second Post +++++ -->
<divid="anon1">
<divclass="container">
<divclass="row">
<divclass="col-lg-8 col-lg-offset-2">
<h2><b>How to use the Debian USB stick to overwrite Windows ?</b></h2></br></br>
<p>This is where it gets a bit technical for Bob. But here are the steps he needs to do:</p>
<ol>
<li><p>He needs to plug his USB stick in his computer</p></li>
<li><p>He needs to restart his computer</p></li>
<li><p>As his computer restarts, <b>he needs to repeatedly press the F1 or F2 or DEL or F10 key in order to enter his computer's BIOS</b> (depending on which brand his computer is)</p></li>
<li><p>once he is in the BIOS, he then needs to boot on his USB stick that has the Debian image</p></li>
<li><p>Then once he boots on his USB stick, he can install debian on his computer</p></li>
</ol>
<p>The key that Bob needs to press to enter his computer's BIOS depends on what brand his computer is (see <ahref="https://www.tenorshare.com/faq/bios-settings-for-windows-boot.html">this blogpost</a> for examples).</p>
<p>Now Bob restarts his computer:</p>
<imgsrc="17.png"class="imgRz">
<p>And now, as he has an ASUS motherboard, <b>he repeatedly presses the F2 key</b> to enter his computer's BIOS:</p>
<imgsrc="18.png"class="imgRz">
<p>and from there, Bob needs to navigate the BIOS to boot on his USB key. <b>Be aware that the Steps may vary, feel free to research how to change the boot options of your computer's BIOS settings</b>. In Bob's example below, he is on an ASUS computer/motherboard, so he has these specific BIOS steps to do:</p>
<p>Boot > OS Type > Other OS</p>
<imgsrc="19.png"class="imgRz">
<p>Boot > CSM settings > Launch CSM Auto</p>
<imgsrc="20.png"class="imgRz">
<p>Boot device Selection > <b>his USB stick</b></p>
<imgsrc="21.png"class="imgRz">
<p>Once he selects his USB Stick, Bob can now boot from it, and he is greeted by Debian's welcome screen:</p>
<imgsrc="22.png"class="imgRz">
<p>And from there, Bob installs linux as per his needs:</p>
<imgsrc="23.png"class="imgRz">
<imgsrc="24.png"class="imgRz">
<imgsrc="25.png"class="imgRz">
<imgsrc="26.png"class="imgRz">
<imgsrc="27.png"class="imgRz">
<imgsrc="28.png"class="imgRz">
<imgsrc="29.png"class="imgRz">
<imgsrc="30.png"class="imgRz">
<imgsrc="31.png"class="imgRz">
<p>Here Bob decides that he wants to encrypt his whole harddrive too. That way, if someone were to steal his computer, without knowing his password, they would have no way to access Bob's local data.</p>
<imgsrc="32.png"class="imgRz">
<imgsrc="33.png"class="imgRz">
<imgsrc="34.png"class="imgRz">
<imgsrc="35.png"class="imgRz">
<imgsrc="36.png"class="imgRz">
<imgsrc="37.png"class="imgRz">
<imgsrc="38.png"class="imgRz">
<imgsrc="39.png"class="imgRz">
<imgsrc="40.png"class="imgRz">
<imgsrc="41.png"class="imgRz">
<imgsrc="42.png"class="imgRz">
<imgsrc="43.png"class="imgRz">
<imgsrc="44.png"class="imgRz">
<imgsrc="45.png"class="imgRz">
<imgsrc="46.png"class="imgRz">
<p>Here Bob can select his window manager. Gnome is the default option, but he chooses Cinnamon to keep the feel similar to how it was on windows.</p>
<imgsrc="47.png"class="imgRz">
<imgsrc="48.png"class="imgRz">
<imgsrc="49.png"class="imgRz">
<imgsrc="50.png"class="imgRz">
<imgsrc="51.png"class="imgRz">
<p>And there, Bob finished the Debian installation, he can unplug his USB stick, and click Continue to reboot his computer:</p>
<imgsrc="52.png"class="imgRz">
<p>As he reboots his computer, he is greeted by the Debian boot screen, and he then types his password to unlock his harddrive encryption:</p>
<imgsrc="53.png"class="imgRz">
<imgsrc="54.png"class="imgRz">
<p>Then he logs in using the password he set earlier:</p>
<imgsrc="55.png"class="imgRz">
<p>And now that Bob is logged in, he is greeted by the Cinnamon window manager, the feel of his OS remains similar to what he previously had on Windows, but now it's all open source! </p>
<imgsrc="56.png"class="imgRz">
<p>And that's it! Bob has managed to get privacy from Microsoft's constant surveillance by replacing Windows with a Linux distribution.</p>
<imgsrc="2.png"class="imgRz">
<p>From there, Bob can update his linux distribution and install new packages, following this tutorial <ahref="../linuxprograms/index.html">here</a>. </p>