Other links

Random (Thoughts?)

Although I am working with VDX.TV, I do a lot of pet projects in my spare time. It can include anything. In these works, I gain a lot of experience. Links to such recent experiences are given below.

Installation

Prepare disk

Follow the exact commands provided at the archwiki Installation guide

Install require software

  1. First need to install the required packages. Here we assume that linux is mounted at the /mnt

    # pacstrap /mnt base base-devel linux linux-firmware vim man-pages networkmanager grub efibootmgr sbctl

  2. Follow arch guide to install and setup fstab and chroot to mnt

    # genfstab -U /mnt >> /mnt/etc/fstab
    # arch-chroot /mnt

  3. Install grub and config for uefi

    # grub-install --target=x86_64-efi --efi-directory=/boot/efi/ --bootloader-id="Red Hat Enterprise Linux" --recheck --debug
    # grub-mkconfig -o /boot/grub/grub.cfg
    # systemctl enable netowrkmanager
    # systemctl enable NetworkManager
    # systemctl start NetworkManager

  4. Secure boot

    # grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB --modules="tpm"
    Now follow https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot#Implementing_Secure_Boot

  5. Add user and make it admin

    # useradd -m abhijit -s /bin/bash -c "Abhijit Mondal, email@gmail.com"
    # passwd abhijit
    # usermod -aG sudo abhijit

Installation on ACER S1002

Booting iso

Find 32bit grub (bootia32.efi) somewhere and put inside /EFI/Boot/ in the iso

  1. Disable secure boot
  2. Boot from the flush drive
  3. In the grub shell type the followings:

    linux (hd0)/arch/boot/x86_64/vmlinuz archisobasedir=arch archisolabel=ARCH_202003
    initrd (hd0)/arch/boot/intel_ucode.img
    initrd (hd0)/arch/boot/amd_ucode.img
    initrd (hd0)/arch/boot/x86_64/archiso.img
    boot

    Replace ARCH_202003 with iso label

Configure git with gnome-keyring

  1. Install libsecret
  2. Fire
    $ git config --global credential.helper /usr/lib/git-core/git-credential-libsecret