blog-contributions/servers/linux/index.html

257 lines
14 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="../../../../../../assets/img/favicon.png">
<title>How to install Linux from a Windows PC </title>
<!-- Bootstrap core CSS -->
<link href="../../assets/css/bootstrap.css" rel="stylesheet">
<link href="../../assets/css/xt256.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="../../assets/css/main.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Static navbar -->
<div class="navbar navbar-inverse-anon navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand-anon" href="\index.html">nihilist`s Blog</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="/about.html">About</a></li>
<li><a href="/blog.html">Categories</a></li>
<li><a href="https://blog.nowhere.moe/donate.html">Donate</a></li>
<li><a href="/contact.html">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
<!-- +++++ Posts Lists +++++ -->
<!-- +++++ First Post +++++ -->
<div id="anon2">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<a href="../anon.html">Previous Page</a></br></br><p><img src="../../assets/img/user.png" width="50px" height="50px"> <ba>nihilist@mainpc - 2024-06-16</ba></p>
<h1>How to install Linux from a Windows PC </h1>
<img src="0.png" style="width:250px">
<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><h2><u>OPSEC Recommendations:</u></h2></p>
<ol>
<li><p>Hardware : (Personal Computer / Laptop)</p></li>
</ol>
<p>I recommend using this setup on your main PC, laptop, but also as a home server or a remote server. For <a href="../privacy/index.html">Privacy use</a>, and potentially <a href="../anonymityexplained/index.html">Anonymous use</a> if you implement the correct technology for it later on, as per the <a href="../opsec4levels/index.html">4 basic OPSEC levels</a>.</p>
</div>
</div><!-- /row -->
</div> <!-- /container -->
</div><!-- /grey -->
<!-- +++++ Second Post +++++ -->
<div id="anon3">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2><b>Why should Bob install Linux? </b></h2>
<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>
<img src="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>
<img src="../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 <a href="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>
<img src="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 -->
<div id="anon2">
<div class="container">
<div class="row">
<div class="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>
<img src="3.png" class="imgRz">
<p>He sees there are many options like Linux Mint, Ubuntu, etc</p>
<img src="4.png" class="imgRz">
<p>But he settles on <a href="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> <a href="https://www.debian.org/vote/2022/vote_003">[1]</a> <a href="https://forums.debian.net/viewtopic.php?t=158876">[2]</a> <a href="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 <a href="https://www.gnu.org/distros/free-distros.en.html">[4]</a> (but it will be at the expense of having your peripherals not working <a href="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 <a href="https://pureos.net/download/">PureOS</a> instead of debian.</p>
<img src="5.png" class="imgRz">
<p>Now Bob has the Debian ISO image.</p>
<img src="6.png" class="imgRz">
<p>But now he needs to put that ISO image on a USB stick. To do so he can use <a href="https://rufus.ie/en/">Rufus</a> or <a href="https://etcher.balena.io/#download-etcher">Balena Etcher</a>:</p>
<img src="7.png" class="imgRz">
<img src="8.png" class="imgRz">
<p>So Bob installs BalenaEtcher:</p>
<img src="9.png" class="imgRz">
<img src="10.png" class="imgRz">
<p>Once installed, he selects the ISO image in balenaetcher:</p>
<img src="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>
<img src="12.png" class="imgRz">
<p>Then, Bob selects his USB stick from balenaetcher:</p>
<img src="13.png" class="imgRz">
<p>Then he clicks "Flash", that way Balenaetecher will put the ISO image on the USB stick.</p>
<img src="14.png" class="imgRz">
<img src="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>
<img src="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 +++++ -->
<div id="anon1">
<div class="container">
<div class="row">
<div class="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 <a href="https://www.tenorshare.com/faq/bios-settings-for-windows-boot.html">this blogpost</a> for examples).</p>
<p>Now Bob restarts his computer:</p>
<img src="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>
<img src="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>
<img src="19.png" class="imgRz">
<p>Boot > CSM settings > Launch CSM Auto</p>
<img src="20.png" class="imgRz">
<p>Boot device Selection > <b>his USB stick</b></p>
<img src="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>
<img src="22.png" class="imgRz">
<p>And from there, Bob installs linux as per his needs:</p>
<img src="23.png" class="imgRz">
<img src="24.png" class="imgRz">
<img src="25.png" class="imgRz">
<img src="26.png" class="imgRz">
<img src="27.png" class="imgRz">
<img src="28.png" class="imgRz">
<img src="29.png" class="imgRz">
<img src="30.png" class="imgRz">
<img src="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>
<img src="32.png" class="imgRz">
<img src="33.png" class="imgRz">
<img src="34.png" class="imgRz">
<img src="35.png" class="imgRz">
<img src="36.png" class="imgRz">
<img src="37.png" class="imgRz">
<img src="38.png" class="imgRz">
<img src="39.png" class="imgRz">
<img src="40.png" class="imgRz">
<img src="41.png" class="imgRz">
<img src="42.png" class="imgRz">
<img src="43.png" class="imgRz">
<img src="44.png" class="imgRz">
<img src="45.png" class="imgRz">
<img src="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>
<img src="47.png" class="imgRz">
<img src="48.png" class="imgRz">
<img src="49.png" class="imgRz">
<img src="50.png" class="imgRz">
<img src="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>
<img src="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>
<img src="53.png" class="imgRz">
<img src="54.png" class="imgRz">
<p>Then he logs in using the password he set earlier:</p>
<img src="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>
<img src="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>
<img src="2.png" class="imgRz">
<p>From there, Bob can update his linux distribution and install new packages, following this tutorial <a href="../linuxprograms/index.html">here</a>. </p>
</div>
</div><!-- /row -->
</div> <!-- /container -->
</div><!-- /white -->
<!-- +++++ Footer Section +++++ -->
<div id="anonb">
<div class="container">
<div class="row">
<div class="col-lg-4">
<h4>Nihilism</h4>
<p>
Until there is Nothing left.
</p>
</div><!-- /col-lg-4 -->
<div class="col-lg-4">
<h4>My Links</h4>
<p>
<a target="_blank" rel="noopener noreferrer" href="http://blog.nowhere.moe/rss/feed.xml">RSS Feed</a><br/><a target="_blank" rel="noopener noreferrer" href="https://matrix.to/#/#nowheremoe:nowhere.moe">Matrix Chat</a><br/>
</p>
</div><!-- /col-lg-4 -->
<div class="col-lg-4">
<h4>About nihilist</h4>
<p style="word-wrap: break-word;"><u>Donate XMR:</u> 8AUYjhQeG3D5aodJDtqG499N5jXXM71gYKD8LgSsFB9BUV1o7muLv3DXHoydRTK4SZaaUBq4EAUqpZHLrX2VZLH71Jrd9k8</p></br><p><u>Contact:</u> nihilist@nowhere.moe (<a href="https://nowhere.moe/nihilist.pubkey">PGP</a>)</p>
</div><!-- /col-lg-4 -->
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
</body>
</html>