forked from nihilist/blog-contributions
212 lines
6.2 KiB
HTML
212 lines
6.2 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>Arch Install</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-cis 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-cis" 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="cis2">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-8 col-lg-offset-2">
|
|
<a href="../index.html">Previous Page</a></br></br><p><img src="../../assets/img/user.png" width="50px" height="50px"> <ba>nihilist - 27 / 09 / 2020</ba></p>
|
|
<h1>Arch Installation</h1>
|
|
<p> First flash the arch iso on your usb stick:</p>
|
|
<img src="0.png" class="imgRz">
|
|
<p>Then just boot onto it from your BIOS.</p>
|
|
|
|
</div>
|
|
</div><!-- /row -->
|
|
</div> <!-- /container -->
|
|
</div><!-- /grey -->
|
|
|
|
<!-- +++++ Second Post +++++ -->
|
|
<div id="cis3">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-8 col-lg-offset-2">
|
|
<h2><b>Manual beginning </b></h2>
|
|
<p>This is the annoying part since i can't script it. If it doesn't work for you just use <a href="https://anarchyinstaller.org/">Anarchy installer</a>, install arch on your
|
|
hard drive in a minimal way (with no DE (Desktop Environment) and no WM (Window Manager)).</p>
|
|
<pre><code class="nim">
|
|
######################## MANUAL !!! ############################
|
|
|
|
loadkeys fr
|
|
timedatectl set-ntp true
|
|
ping -c3 archlinux.org
|
|
|
|
pacman -Syy
|
|
pacman -S reflector
|
|
reflector -c "France" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
|
|
|
|
fdisk -l | grep /dev/sd | grep Disk
|
|
#/dev/sda 64gb
|
|
cfdisk /dev/sda
|
|
################EFI################
|
|
#gpt
|
|
#delete existing partitions
|
|
#select freespace
|
|
#first partition : 1G (EFI)
|
|
#last partition : 499G (Linux Root x86_64)
|
|
#hit write
|
|
#hit quit
|
|
mkfs.vfat /dev/sda1
|
|
mkfs.ext4 /dev/sda2
|
|
|
|
mount /dev/sda2 /mnt
|
|
mkdir /mnt/boot/
|
|
mount /dev/sda1 /mnt/boot/
|
|
|
|
pacstrap /mnt base base-devel linux linux-firmware sudo nano wget
|
|
genfstab -U /mnt >> /mnt/etc/fstab
|
|
arch-chroot /mnt
|
|
#welcome to chroot, use the first script!
|
|
|
|
</code></pre>
|
|
<p>This will setup your /dev/sda1 as a bootable linux partition, and makes the last 8GB as the swap partition.</p>
|
|
</div>
|
|
</div><!-- /row -->
|
|
</div> <!-- /container -->
|
|
</div><!-- /white -->
|
|
|
|
<div id="cis2">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-8 col-lg-offset-2">
|
|
<h2><b> First Script: Chroot Script</b></h2> </br> </br>
|
|
<p></p>
|
|
<pre><code class="nim">
|
|
wget https://blog.nowhere.moe/servers/Arch/1.sh
|
|
chmod +x 1.sh
|
|
nano 1.sh
|
|
./1.sh
|
|
|
|
</code></pre>
|
|
<p>Just edit whatever you want in this script using nano and then execute it with ./1.sh</p>
|
|
|
|
</div>
|
|
</div><!-- /row -->
|
|
</div> <!-- /container -->
|
|
</div><!-- /white -->
|
|
|
|
|
|
<!-- +++++ Second Post +++++ -->
|
|
<div id="cis1">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-8 col-lg-offset-2">
|
|
<h2><b>Post Install Script</b></h2> </br> </br>
|
|
<p>After you've rebooted into your arch installation, you can configure your arch install however you want, but here's how i do it:</p>
|
|
<pre><code class="nim">
|
|
wget https://blog.nowhere.moe/servers/Arch/2.sh
|
|
chmod +x 2.sh
|
|
nano 2.sh
|
|
./2.sh
|
|
|
|
</code></pre>
|
|
|
|
<p>Post-booting:</p>
|
|
<pre><code class="nim">
|
|
wget https://blog.nowhere.moe/servers/Arch/3.sh
|
|
chmod +x 3.sh
|
|
nano 3.sh
|
|
./3.sh
|
|
|
|
</pre></code>
|
|
<img src="1.png" class="imgRz">
|
|
</div>
|
|
</div><!-- /row -->
|
|
</div> <!-- /container -->
|
|
</div><!-- /white -->
|
|
|
|
<!-- +++++ Footer Section +++++ -->
|
|
|
|
<div id="cisb">
|
|
<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@contact.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>
|