From a4c0dbe01d809ba135fbcbaeb357171f26c57596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerardo=20Marx=20Ch=C3=A1vez-Campos?= Date: Fri, 23 Jun 2023 04:29:46 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f2c396e..f78d7af 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,20 @@ Modify the packages to your liking, make the script executable with `chmod +x sc Remember that the first part of the Arch Linux install is manual, that is you will have to partition, format and mount the disk yourself. Install the base packages and make sure to include `git` so that you can clone the repository in `chroot`. -A summary of the steps to follow are: +A small summary: + +1. If needed, load your keymap +2. Refresh the servers with pacman -Syy +3. Partition the disk +4. Format the partitions +5. Mount the partitions +6. Install the base packages into /mnt (pacstrap /mnt base linux linux-firmware git vim intel-ucode (or amd-ucode)) +7. Generate the FSTAB file with genfstab -U /mnt >> /mnt/etc/FSTAB +8. Chroot in with arch-chroot /mnt +9. Download the git repository with git clone https://gitlab.com/eflinux/arch-basic +10. cd arch-basic +11. chmod +x install-uefi.sh +12. run with ./install-uefi.sh ## Basic keymap configuration ``` @@ -91,6 +104,26 @@ $ cgdisk /dev/sda - 3. (your desicion), Linux filesystem(8300), arch - 4. (rest of disk), 8300, home +## Format the partitions + +For EFI partitions use: +``` +mkfs.vfat /dev/sda1 +``` + +For swap partitions use: +``` +mksawp /dev/sda2 +swapon /dev/sda2 +``` + +For ext4 partitions use: +``` +mkfs.ext4 /dev/sda3 +mkfs.ext4 /dev/sda4 +mkfs.ext4 /dev/sda5 +``` + ## Mount and install system ```