greeklooki.blogg.se

Mount arch linux
Mount arch linux





mount arch linux
  1. #Mount arch linux install#
  2. #Mount arch linux driver#
  3. #Mount arch linux manual#
  4. #Mount arch linux password#

Passwd Finish structuring file systems # Verify fstab entriesįindmnt -verify -verbose crypttab echo "crypt UUID= $(blkid /dev/sda2 -s UUID -o value) none luks" > /etc/crypttabĮcho "vault UUID= $(blkid /dev/sdb1 -s UUID -o value) none luks" > /etc/crypttabĬat /etc/crypttab Remote unlocking pacman -S -needed mkinitcpio-systemd-tool openssh cryptsetup tinyssh busybox mc python3 Sed '/# Misc/a ILoveCandy' -i /mnt/etc/nf Chroot into the installation # Chroot Sed '/#ParallelDownloads/a ParallelDownloads = 5' -i /mnt/etc/nf Genfstab -U /mnt > /mnt/etc/fstab Tweak pacman # Optimize mirrorlist (replace `country` params with your nearest countries)Ĭurl -s '' | sed -e 's/#//' -e '/#/d' | rankmirrors -n 10 - > /mnt/etc/pacman.d/mirrorlist Pacstrap /mnt base linux-lts linux-firmware \ītrfs-progs xfsprogs vim man-db man-pages Generate fstab # Generate fstab based on current /mnt structure

#Mount arch linux install#

Mount -m /dev/sdc1 /mnt/mnt/backups Install Linux kernel # This is necessary for older Arch ISO image Mount -m /dev/mapper/vault /mnt/mnt/vault Mount -m -o log /dev/mapper/crypt /mnt/var/log Mount -m -o /dev/mapper/crypt /mnt/var/cache See Discard/TRIM support for solid state drives (SSD) - Dm-crypt - ArchWiki for the reasoning behind these cryptsetup flags.

mount arch linux

Mount /dev/mapper/crypt /mnt # Temporary mounted to create subvolumes # btrfs bvolume eateītrfs su cr # Home for Docker Compose stacksītrfs su set-default 256 /mnt # Required for remote unlocking Should the need for swap comes up later, consider swap file (no perf difference in general)Ĭryptsetup luksDump /dev/sdN # Dump LUKS2 headerĭmsetup table # Show flags for the currently opened devices # Also, backup the LUKS headers to safe storageĬryptsetup luksHeaderBackup /dev/sdN -header-backup-file /path/to/luks_header_sdN NOTE: Since my server has 128GB of physical memory, I would rather let OOM Killer do its job than creating a swap partition. You can confirm it by running sfdisk -d /dev/sda.

mount arch linux

This command will calculate optimal sector alignments correctly. # or # Write (random then zeroes) to the device (takes longer but more secure, suitable when selling a disk) shred -v -n 1 -z /dev/sdN Create partitions Setup Wipe a disk # Erase file-system magic strings (insecure but super fast, suitable when reusing a disk)

#Mount arch linux manual#

Why XFS for analytical database storage? Refer to Production Notes - MongoDB Manual and Configure Scylla | Scylla Docs. /dev/sde1 - XFS mounted on /mnt/analytics./dev/sde - SSD for analytical database (intensive write-ops)./dev/sdc1 - Btrfs mounted on /mnt/backups./dev/sdb1 - LUKS partition contains Btrfs mounted on /mnt/vault.Docker stacks directory (nginx-proxy, Mail, Nextcloud, Minio, JupyterHub, Weights & Biases, etc)./dev/sda2 - LUKS partition contains Btrfs subvolumes./dev/sda1 - EFI system partition mounted on /boot (systemd-boot).

#Mount arch linux password#

Incorrect password while password is correct.Annoying systemd-homed is not available messages flooding journald logs.Make SSH forwarding work with tmux + sudo.Bruce-force attack mitigation (fail2ban).Monitor (Telegraf + InfluxDB + Grafana).Auth gateway and identity provider (Authelia).

#Mount arch linux driver#

Tips: Use journald log driver in Docker Compose.Cross-platform build support (BuildKit, QEMU).Automated disk health check-ups and reporting.PSA: Also published cfddns ( AUR), a Cloudflare DDNS client written in Rust.

mount arch linux

PSA: I published a toolchain for creating/testing PKGBUILD in a clean-room Docker container This is all the commands I typed when I set up Arch Linux on my new compute server.







Mount arch linux