L I R O N I C S

Setup Arch.

Setting up Arch is more tricky. On the other when you have done, it gives you more knowledge about how Linux is setup. Get Arch from here. After you will have to write it to a USB stick to make it bootable. I prefer to use DD (zie Debian). Boot your USB stick and start installation.
To find out about your partition info use # lsblk. You will find some like /dev/sd*. * can be A B C D. To partion use cmd # sudo fdisk /dev/sd*. on the terminal you see ome up a line # command(m for help):. use the letter n to make new partitions and later the letter t to set the type of partitions. If for example drive is /dev/sda then you partition to 4 partitions like /dev/sda1 = efi/boot, /dev/sda2 = swap, /dev/sda3 = root, /dev/sda4 = home. When partions are set, use the leter w to write the setup in fdisk.

Quit fdisk and format the partitions with,
# mkfs.ext4 /dev/root_partition (/dev/sda3)
# mkfs.ext4 /dev/home_partition (/dev/sda4)
# mkswap /dev/SWAP_partition (/dev/sda2)
# mkfs.fat -F 32 /dev/efi_partition (/dev/sda1)

Mount the formated partitions with,
# mount /dev/root_partition /mnt
# mount --mkdir /dev/home_partition /mnt/home
# mount --mkdir /dev/efi_partition /mnt/boot
# swapon /dev/swap_partition

Use this cmd to istall some baic of linux, a editor and net-tools,
# # pacstrap -K /mnt base base-devel linux linux-firmware nano sudo networkmanager net-tools

Use this cmd to generate file fstab
# genfstab -U /mnt >> /mnt/etc/fstab

change apparant root dir >> # arch-chroot /mnt
set time zone to your location >> # ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
set hardware clock >> # hwclock --systohc
LANG=en_US.UTF-8 >> # nano /etc/locale.gen
set hostname of device >> # nano /etc/hostname
generate locales >> # locale-gen
create initial ramdisk >> # mkinitcpio -P

Install bootloader GRUB
# pacman -S grub os-prober efibootmgr
# grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/
# grub-mkconfig > /boot/grub/grub.cfg

set password for root >> # passwd
create local user
uncomment wheel >> # EDITOR=nano visudo
add a user >> # useradd -m rvd
set passwd user >> # passwd rvd
add group to user >> # usermod -aG wheel rvd
set ahell to bash# chsh --shell /bin/bash rvd

# exit or ctrl-d
# umount -R /mnt
# reboot

Uptime
 05:30:43 up 378 days,  2:06,  0 user,  load average: 0.00, 0.00, 0.00
System Information
Linux lironics 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux
© 2000-heden | Site is served at TRANSIP | CONTACT | MS_certs | C.V.