Skip to content

This is a basic repo form myself about the installation ,using and building of my arch linux

Notifications You must be signed in to change notification settings

TheLostLeo/Linux-Manual

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

Linux-Manual

This is a basic repo form myself about the installation ,using and building of my arch linux

iso file download link :https://archlinux.org/download

The code used to check the version of the linux iso:

$ pacman-key -v archlinux-version-x86_64.iso.sig

partition the drive(ssd,usb etc)

for finding the list of the drive use: lsblk

The partition should have three partition (boot,swap and the main os)

/boot - /dev/efi -efi system partition -1gb (fat32)

[swap] -/dev/swap -linux swap- 4gb (swap)

/ root -/dev/root -linux root - 32gb (ext4)

The code for partition is:

mkswap /dev/(swap_partition)

mkfs.fat -F 32 /dev/(efi_partition)

mkfs.ext4 /dev/(root_partition)

mounting the partition

Mount the root volume to /mnt

mount /dev/root_partition /mnt

For UEFI systems, mount the EFI system partition

mount --mkdir /dev/efi_system_partition /mnt/boot

for swap

swapon /dev/swap_partition

Then do the installation

we install mirrors

do the code in order

to install base packages and git if needed

pacstrap -K /mnt base linux linux-firmware neovim nano

to make usure the file are there on bootup

genfstab -U /mnt > /mnt/etc/fstab

changing root

arch-chroot /mnt

open the arch_start.sh on nvim and update the hostname ,username, disk, grub install and save the file

run the arch_start.sh using

bash filename

About

This is a basic repo form myself about the installation ,using and building of my arch linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages