Boot Arch linux image from USB. Use rufus to burn it windows, balenaetcher or dd in linux.
dd if=~/Download/arch.iso of=/dev/sdb bs=1M status=progress oflag=direct
* Install base packages distro
Partition
mount /dev/sda3 /mnt
Install:
- from arch: pacman -Sy debootstrap
- from debian: apt install debootstrap arch-install-scripts
Install debian: debootstrap --arch amd64 stable /mnt
genfstab /mnt/linux >> /mnt/linux/etc/fstab
Chroot into the new install
arch-chroot /mnt/linux --- this will auto mount /dev /proc etc from current system
Set Time Zone:
ln -sf /usr/share/zoneinfo/Europe/Bucharest /etc/localtime
date
apt install sudo
passwd --- create password for root or you cant login after reboot
copy /usr/lib/modules/uname -r/ /mnt/linux/.... same path
WIFI
nano /etc/apt/sources.list - add non-free-firmware
apt update
apt install firmware-misc-nonfree --- othter wifi boards - realtek asus
apt install firmware-iwlwifi --- mostly intel wifi boards
/etc/resolv.conf
nameserver 1.1.1.1
nano /etc/hostname
* Video system
Xfce4 works with lightdm and xorg/x11.
sudo dpkg-reconfigure gdm3
sudo dpkg-reconfigure lightdm
systemctl start lightdm
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
dpkg -i google.....deb
Change console FONT size
Go to directory /usr/share/kbd/consolefonts - and ls to see all available fonts
then setfont iso01-12x22.psfu.gz
or any other fonts you like from there
dpkg-reconfigure console-setup
https://www.linuxfromscratch.org/
ArchLinux - https://wiki.archlinux.org/title/Installation_guide
https://gist.github.com/myTerminal/4f1d26eaf32cdc5bcc9fb19f594c03d2
https://www.debian.org/releases/stretch/amd64/apds03.html.en
https://wiki.debian.org/Debootstrap
On xfce4 time will not update after sustend on the gui - but time sync works fine
No comments:
Post a Comment