add: guide

This commit is contained in:
Kuoi 2023-03-22 17:02:58 +08:00
parent 0b086f7a49
commit c18becdd99

View file

@ -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.