From c18becdd995438bf0cddd048fe01855019861c09 Mon Sep 17 00:00:00 2001 From: Kuoi Date: Wed, 22 Mar 2023 17:02:58 +0800 Subject: [PATCH] add: guide --- README.md | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 61 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c385bb9..9a1819a 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,66 @@ Download [iso image file](https://repo.bioarchlinux.org/iso) from [any mirror](h ## Release -This iso is released monthly. +This iso is released monthly and built by mkarchiso. -## Build +# Installation guide + +## Pre-installation + +### Partition the disks + +Check the partitions, usually, you need one boot partition and one / partition. + +``` +# fdsik -l +``` + +If you want to create partitions use + +``` +# fdisk /dev/the_disk_to_be_partitioned +``` + +### Format partitions + +Following commands format the boot partition as fas, the root partition as ext4. + +``` +# mkfs.ext4 /dev/root_partition +# mkfs.fas /dev/boot_partition +``` + +### Mount + +``` +# mount /dev/root_partition /mnt +# mount --mkdir /dev/boot_partition /mnt/boot +``` + +## Installation + +### Select the mirrors + +you can edit `/etc/pacman.d/mirrorlist` and `/etc/pacman.d/mirrorlist.bio`, and put the mirror you want at the top of the file. + +### Install essential packages + +The example commands will let you use the Linux kernel, you can replace it with other kernels. + +``` +# pacstrap -K /mnt base-bio linux linux-firmware +``` + +### pacman.conf + +You can use the `pacman.conf` from live cd, or you should manually add `bioarchlinux` repo to `pacman.conf` + +``` +# cp /etc/pacman.conf /mnt/etc/pacman.conf +``` + + +## Configure the system, Reboot & Post-installation + +You can view a[rchlinux wiki](https://wiki.archlinux.org/title/Installation_guide), totally the same as Arch Linux. -This is build by mkarchiso.