User:Pww/Beginners' guide

From ArchWiki

This document will guide you through the process of installing Arch Linux on T460S and Custom-Desktop, for C Programming Language development environment in 2022 as "Attempt 3".

First the method

Due to at least 3 attempts with no satisfaction, I'll redefine the method to give more chance the next time:

  1. First define the clear goal - lack of clear goal is the first reason of failure, as there is no direction to go
  2. Focusing on the goal - rather than the next step to take is pointless and consumes energy without giving any result,
  3. Too large steps - taking small steps gives the satisfaction of success and allows to carry on, unattainable goals are only a source of frustration, and though pointless.

Attempt 1: Asus F5SL Laptop in 2018

ASUS F5SL Intel Core2 Duo T5550 ATI Radeon HD 3470
Legacy Boot, no encryption, quite a lot of fighting with bringing up the graphic driver to work. Goal: misty, setup everyday use operating system Status: too step learning curve, machine too weak, no goal defined no goal reached

                  -`                 
                 .o+`                 root@Asus-Arch
                `ooo/                 OS: Arch Linux 
               `+oooo:                Kernel: x86_64 Linux 4.18.16-arch1-1-ARCH
              `+oooooo:               Uptime: 15m
              -+oooooo+:              Packages: 692
            `/:-:++oooo+:             Shell: bash 4.4.23
           `/++++/+++++++:            Disk: 8.4G / 168G (6%)
          `/++++++++++++++:           CPU: Intel Core2 Duo T5550 @ 2x 1.826GHz
         `/+++ooooooooooooo/`         GPU: AMD/ATI RV620/M82 [Mobility Radeon HD 3450/3470]
        ./ooosssso++osssssso+`        RAM: 222MiB / 1993MiB
       .oossssso-````/ossssss+`      
      -osssssso.      :ssssssso.     
     :osssssss/        osssso+++.    
    /ossssssss/        +ssssooo/-    
  `/ossssso+/:-        -:/+osssso+-  
 `+sso+:-`                 `.-/+oso: 
`++:.                           `-/+/
.`                                 `/
Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
vSector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 85AB9087-FF2B-6347-BD2F-BC506FC341A4
Device        Start       End   Sectors   Size Type
/dev/sda1      2048      4095      2048     1M BIOS boot
/dev/sda2      4096   1052671   1048576   512M Linux filesystem
/dev/sda3   1052672  18853887  17801216   8.5G Linux swap
/dev/sda4  18853888 312581774 293727887 140.1G Linux filesystem

Attempt 2: Lenovo Thinkpad T460S in 2018

Lenovo ThinkPad T460s i7-6600U/8GB/256SSD
UEFI Boot, Dm-crypt/Encrypting_an_entire_system#LVM_on_LUKS, brough up to configuring i3wm. Goal: misty again, encrypted sdd setup for everyday use, dual boot with windows Status: too step learning curve, afraid of lossing HDD encrypted while windows running side by side, no goal defined no goal reached

                .o+`                 root@PWW-ARCH
                `ooo/                 OS: Arch Linux 
               `+oooo:                Kernel: x86_64 Linux 4.20.7-arch1-1-ARCH
              `+oooooo:               Uptime: 7m
              -+oooooo+:              Packages: 0
            `/:-:++oooo+:             Shell: sudo
           `/++++/+++++++:            Resolution: 1920x1080
          `/++++++++++++++:           WM: i3
         `/+++ooooooooooooo/`         CPU: Intel Core i7-6600U @ 4x 3.4GHz [30.0°C]
        ./ooosssso++osssssso+`        GPU: HD Graphics 520
       .oossssso-````/ossssss+`       RAM: 202MiB / 11864MiB
      -osssssso.      :ssssssso.     
     :osssssss/        osssso+++.    
    /ossssssss/        +ssssooo/-    
  `/ossssso+/:-        -:/+osssso+-  
 `+sso+:-`                 `.-/+oso: 
`++:.                           `-/+/
.`                                 `/
NAME                   MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                      8:0    1  28.9G  0 disk  
└─sda1                   8:1    1  28.9G  0 part  /mnt/usb
nvme0n1                259:0    0   477G  0 disk  
├─nvme0n1p1            259:1    0   549M  0 part  
├─nvme0n1p2            259:2    0 127.3G  0 part  
├─nvme0n1p3            259:3    0   609M  0 part  
├─nvme0n1p4            259:4    0   100M  0 part  
├─nvme0n1p5            259:5    0   550M  0 part  /boot
└─nvme0n1p6            259:6    0 347.9G  0 part  
 └─cryptlvm           254:0    0 347.9G  0 crypt 
   ├─PwwVolGroup-swap 254:1    0    36G  0 lvm   [SWAP]
   ├─PwwVolGroup-root 254:2    0    32G  0 lvm   /
   └─PwwVolGroup-home 254:3    0 279.9G  0 lvm   /home
Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SAMSUNG MZVKW512HMJP-000L7              
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0E1AD23A-2BF9-11E9-9410-448500AD0D7B 

Device             Start        End   Sectors   Size Type
/dev/nvme0n1p1      2048    1126399   1124352   549M Windows recovery environment
/dev/nvme0n1p2   1126400  268106331 266979932 127.3G Microsoft basic data
/dev/nvme0n1p3 268107776  269355007   1247232   609M Windows recovery environment
/dev/nvme0n1p4 269357056  269561855    204800   100M EFI System
/dev/nvme0n1p5 269561856  270688255   1126400   550M EFI System
/dev/nvme0n1p6 270688256 1000215182 729526927 347.9G Linux filesystem 

Disk /dev/mapper/cryptlvm: 347.9 GiB, 373513592320 bytes, 729518735 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
 
Disk /dev/mapper/PwwVolGroup-swap: 36 GiB, 38654705664 bytes, 75497472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes 

Disk /dev/mapper/PwwVolGroup-root: 32 GiB, 34359738368 bytes, 67108864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/PwwVolGroup-home: 279.9 GiB, 300496715776 bytes, 586907648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/sda: 28.9 GiB, 31042043904 bytes, 60628992 sectors
Disk model: USB DISK 3.0    
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3456ad5b

Device     Boot Start      End  Sectors  Size Id Type
/dev/sda1        8064 60628991 60620928 28.9G  c W95 FAT32 (LBA)

Attempt 3: ANTEC ISK300 Intel Atom in 2022

ANTEC ISK300 Intel Atom CPU D525 @ 1.80Ghz 2GB RAM
Goals: Remote server

  1. automation script for installation
  2. graphical server and interface + window manager KDE Plasma
  3. greeter
  4. internet connection with ethernet and fallback wifi connection DHCP Client
  5. SSH access,
  6. remote file-server/accessible storage SFTP + RSYNC,
  7. and also C/C++/Python development environment with VIM.


Next step: Attempt 4: i7 based custom desktop in 2022

UEFI Boot, targeting probably Dm-crypt/Encrypting_an_entire_system#LUKS on a partition, and KDE.