Skip to content

Install ArchLinux

Boot

Boot Computer with ArchLinux Image Disk

 

Format Disk

List devices:

+ lsblk

+ fdisk -l

Format Disk:

+ fdisk /dev/disk?

Layout:

gpt
	disk?p1		efi		200M
	disk?p2		swap		1G
	disk?p3		/		Left
mkfs.fat -F 32 /dev/?p1
mkswap /dev/?p2
mkfs.xfs /dev/?p3

swapon /dev/?p2

Install

mount /dev/?p3 /mnt
pacstrap /mnt base linux linux-firmware

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

arch-chroot /mnt
echo thehostname > /etc/hostname
timedatectl list-timezones
timedatectl set-timezone UTC
passwd

pacman -S dhcpcd
systemctl enable dhcpcd

Install Grub BootLoader

pacman -S grub efibootmgr

mkdir /boot/efi
mount /dev/?p1 /boot/efi
grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi
grub-mkconfig -o /boot/grub/grub.cfg

Reboot

Exit and Reboot

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options

Submitted comments will be subject to moderation before being displayed.

@cppfx.xyz