You are not logged in.

#1 2025-11-02 11:45:25

mghdeth
Member
Registered: 2025-11-02
Posts: 2

Tips / tricks for my Arch installation

I'm trying install Arch on my laptop but it won't start, I tested it on another laptop and it worked fine.

I've already disabled secure boot but even so UEFI partition doesn't appear.

Here are the commands to install:

# Set keyboard layout

loadkeys br-abnt2

# Update system clock

timedatectl

# Partition disks

lsblk
cfdisk

/boot (1gb)
/swap (4gb)
/root

# Format partitions

lsblk
mkfs.ext4 /dev/nvme0n1p3 (root_partition)
mkswap /dev/nvme0n1p2 (swap_partition)
mkfs.fat -F 32 /dev/nvme0n1p1 (efi_system_partition)

# Mount the file systems

mount /dev/nvme0n1p3 /mnt
mount --mkdir /dev/nvme0n1p1 /mnt/boot
swapon /dev/nvme0n1p2

# Install essential packages

pacstrap -K /mnt base linux linux-firmware sudo nano intel-ucode networkmanager

# Fstab

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

# Chroot

arch-chroot /mnt

# Time

ln -sf /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
hwclock --systohc

# Localization

nano /etc/locale.gen
pt_BR.UTF-8 UTF-8
locale-gen

# Create hostname

nano /etc/hostname
archlinux
systemctl enable NetworkManager

# Root password
passwd

# Boot loader

grub efibootmgr
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg´

Last edited by mghdeth (2025-11-06 12:41:51)

Offline

#2 2025-11-02 19:19:02

jonno2002
Member
Registered: 2016-11-21
Posts: 834

Re: Tips / tricks for my Arch installation

try setting default/fallback path in grub
if that doesnt work refer to my post here

Offline

#3 2025-11-06 12:35:59

mghdeth
Member
Registered: 2025-11-02
Posts: 2

Re: Tips / tricks for my Arch installation

jonno2002 wrote:

try setting default/fallback path in grub
if that doesnt work refer to my post here

Thanks, I use "grub-install --target=x86_64-efi --efi-directory=/boot --removable" now installation finished perfectly.

One more thing, do you have any other tips install to recommend or my install if ok ? These are the remaining commands I use.

- User root privileges

/etc/sudoers
USER_NAME   ALL=(ALL:ALL) ALL

# Repositories

nano /etc/pacman.conf

[multilib]
Include = /etc/pacman.d/mirrorlist
pacman -Sy

# Display server

pacman -S xorg-server xorg-apps

# Display drivers

Intel:
pacman -S mesa lib32-mesa vulkan-intel lib32-vulkan-intel

# Desktop environments

pacman -S cinnamon

# Display manager

pacman -S lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings
systemctl enable lightdm

# User directories
pacman -S xdg-user-dirs

# Apps
pacman -S gnome-terminal firefox power-profiles-daemon

 

Offline

#4 2025-11-07 11:39:22

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,482

Re: Tips / tricks for my Arch installation

[multilib]
Include = /etc/pacman.d/mirrorlist
pacman -Sy

# Display server

pacman -S xorg-server xorg-apps

That puts you in a Partial upgrades are unsupported situation .

Never combine pacman -Sy and pacman -S . Use pacman -Syu instead to add/refresh multilib data.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB