Update 'install.md'

This commit is contained in:
joborun linux 2022-03-03 01:50:28 +00:00
parent 327c05d62f
commit b1ce458edd

View file

@ -30,18 +30,18 @@ One of the key differences with Arch is that joborun and Obarun have a few more
==== Create pacman lib directory in /mnt ====
<html><pre>
<pre>
# mkdir -p /mnt/var/lib/pacman
</pre></html>
</pre>
This is necessary for installing pacman to the target in order to use the current and correct joborun pacman.conf.
==== install joborun's pacman to target ====
<html><pre>
<pre>
# pacman -Sy pacman base linux(***) --config ./pacman.conf -r /mnt
</pre></html>
</pre>
*** You have a choice of joborun's special linux-lts (5.10) or linux (5.15) and if you need linux/linux-lts headers add them to the list. Same for linux-firmware, especially if you have an AMD machine with Radeon gfx card, you will not get anything on screen without it.
@ -51,52 +51,52 @@ If you want additional packages you can either do this later through chroot or a
Select the closest mirrors to your location and remove the comment sign '#' from in front of them. Pacman hits the first uncommented server on the list and only if it fails goes to the next. You do this by editing: /etc/pacman.d/mirrorlist. This is a screened list from Arch to only include https:// mirrors, so some countries' mirrors that only offer an http:// servuce they have been ommitted.
<html><pre>
<pre>
# $EDITOR /mnt/etc/pacman.d/mirrorlist
</pre></html>
</pre>
Initialize pacman, re-populate its gpg-keys and update the database
<html><pre>
<pre>
# arch-chroot /mnt pacman-key --init
# arch-chroot /mnt pacman-key --populate joborun archlinux obarun
# arch-chroot /mnt pacman -Sy
</pre></html>
</pre>
Select the lingual group of your installation by removing the '#' (uncommenting - example: "en_US.UTF-8 UTF-8"
for US English ) and pass the choice into the system:
<html><pre>
<pre>
# $EDITOR /mnt/etc/locale.gen
</pre></html>
</pre>
<html><pre>
<pre>
# arch-chroot /mnt locale-gen
</pre></html>
</pre>
Create an fstab entry of your new installation:
<html><pre>
<pre>
# genfstab -U /mnt >>/mnt/etc/fstab
</pre></html>
</pre>
Create a root password
<html><pre>
<pre>
# arch-chroot /mnt passwd
</pre></html>
</pre>
edit your hosts as per your network needs
<html><pre>
<pre>
# $EDITOR /mnt/etc/hosts
</pre></html>
</pre>
edit your hostname, although it should also be set by configuring your boot module
<html><pre>
<pre>
# $EDITOR /mnt/etc/hostname
</pre></html>
</pre>
=== 7 Misc. optional configurations ===