Tuesday, March 10, 2026

Running Archinstall and Post installation LVs reconfiguration step via remote SSH connection

Remote connection via ssh is significantly more convenient for cut and paste all set of LVs resizing , creating , removing commands along with fstab's updates then typing all of them manually during local Arch Linux Instance setup with more or less complicated LVs updated layout . This post is actually an immediate follow up for https://lxer.com/module/newswire/view/362786/index.html

On remote Arch Linux Instance as soon root console gets ready :-

 # echo "PermitRootLogin yes" >> /etc/ssh/sshd_config

 # systemctl enable --now sshd

Getting ip of remote Arch Instance (192.168.0.55)

 # ip a 

Setup root's password

 # passwd

===================

 On host machine run:-

===================

$ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@192.168.0.55

 Warning: Permanently added '192.168.0.55' (ED25519) to the list of known hosts.

root@192.168.0.55's password:

To install Arch Linux follow the installation guide:

https://wiki.archlinux.org/title/Installation_guide

For Wi-Fi, authenticate to the wireless network using the iwctl utility. For mobile broadband (WWAN) modems, connect with the mmcli utility. Ethernet, WLAN and WWAN interfaces using DHCP should work automatically. After connecting to the internet, the installation guide can be accessed via the convenience script Installation_guide.

==============

Per Arch Wiki:

==============

The -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null options will prevent verifying and writing the live environment's SSH host keys to ~/.ssh/known_hosts. This will avoid the REMOTE HOST IDENTIFICATION HAS CHANGED warning in case you have ever connected to the IP address before.























































Another way is to run :

# genfstab -U /mnt > /mnt/root/etc/fstab

All folders should be mounted on corresponding /dev/ArchinstallVg/vol-name  devices, otherwise system would fail to reboot .
























Reboot into Arch Instance with LVs layout performed in post-installation phase


You can now make your KDE Plasma ( for instance ) desktop more sensitive to your CPU's capabilities.  




















No comments:

Post a Comment