Thursday, October 30, 2025

Fedora 43 KVM Hypervisor && bring CachyOS KDE Plasma 6.5.1 along with kernel to Arch Linux VM

UPDATE as of 11/27/2025

Would you experience any issues with  cachyos-rate-mirrors, just remind that cachyos-rate-mirrors is a wrapper script for the rate-mirrors tool, specifically configured to rank and update both Arch Linux and CachyOS  mirrors for the user's mirror list file. It automatically tests available mirrors based on speed and synchronization status to ensure pacman downloads are optimized. It's a wrapper: It is not a replacement for rate-mirrors but rather a specific version or a script that uses rate-mirrors's underlying functionality. See man pages for rate-mirrors.

END UPDATE 

Following below is procedure which allows to install on Arch Linux CachyOS v3 repositories along with pacman fork belongs to CachyOS. Proceed as advised in post on Arch Linux KVM Guest deployed via F43/42 KVM Hypervisor .  Upgraded Arch Instances have successfully passed  via `sudo pacman -Syyu` multiple times during several recent days. Re-sync of v3 repos and core && extra works pretty stable ( u,u^interrupted,sudo pacman -Syyu ) - the same commands as described in post after first reboot Arch VM into CachyOS kernel. I also have to confirm that Re-sync might be randomly required.  The hack step below is scp cachyos-rate-mirrors script from remote native CachyOS Instance to the target one.

$ sudo pacman-key --init

$ sudo pacman-key --populate

$ sudo pacman-key --recv-keys F3B607488DB35A47 --keyserver keyserver.ubuntu.com

$ sudo pacman-key --lsign-key F3B607488DB35A47

$ curl https://mirror.cachyos.org/cachyos-repo.tar.xz -o cachyos-repo.tar.xz

$ tar xvf cachyos-repo.tar.xz && cd cachyos-repo

The step in particular installs pacman's fork belongs to CachyOS

$ sudo ./cachyos-repo.sh

$ cd

Scp binary cachyos-rate-mirrors  from native CachyOS box to target one

$ vim .bashrc

Add at bottom of .bashrc function u() from [1]

 u() {

   sudo cachyos-rate-mirrors && yay --noconfirm

   # Clear pacman cache completely (drops all cached packages, except last 3)

   sudo paccache -rk3 <<< y

   # Remove orphaned packages without prompt

   sudo pacman -Rns $(pacman -Qtdq) --noconfirm || true

}

:wq

$ source ~/.bashrc

$ u

 Right after successful u() completion install Cachyos kernel and reboot Arch Linux VM into CachyOS kernel

$ sudo pacman -S linux-cachyos linux-cachyos-headers

$ sudo grub-mkconfig -o /boot/grub/grub.cfg

$ sudo reboot

 On Arch VM rebooted into Cachyos kernel

$ u

Run u() again and interrupt when  message «Done [arch] /etc/pacman/mirrorlist» pops up and script is  waiting for message «Ranking mirrors for cachyos repositories»

$ u <<and interrupt>>

Attempt to run `sudo pacman -Syyu` is supposed to perform final repositories synchronization .

Next step is running `yay -S pamac-aur` and perform another one preferences/refresh sync v3 repos, extra, core and AUR using Add/Remove programs interface.

Now make sure that pacman been installed on Arch Linux instance was a CachyOS pacman fork.

ssh boris@192.168.0.16
boris@192.168.0.16's password:  
Permission denied, please try again.
boris@192.168.0.16's password:  
                 ╭───────────╮  
     /\          │  user       boris
    /  \         │ 󰇅 hname   ArchTestify
   /    \        │ 󰅐 uptime   53 mins
  /      \       │  distro     Arch Linux x86_64
 /   ,,   \      │  kernel    Linux 6.17.5-2-cachyos
/   |  |   \      |  wm         │ KWin (Wayland)
/_-''    ''-_\ | 󰇄 desktop │ KDE Plasma 6.5.1
                 │  term      /dev/pts/2
                 │  shell       bash 5.3.3
                 │ 󰍛 cpu        8 x Intel(R) Xeon(R) E5-2690 v3 (8) @ 2.59 GHz
                 │ 󰉉 disk      13.47 GiB / 56.91 GiB (24%) - ext4
                 │  memory  │ 3.23 GiB / 15.24 GiB (21%)
                 ├───────────┤  
                 │  colors   ● ● ● ● ● ● ● 
                 ╰───────────╯  
~
 sudo pacman -Syyu
[sudo] password for boris:  
:: Synchronizing package databases...
cachyos-v3                                                 136.4 KiB   300 KiB/s 00:00 [##################################################] 100%
cachyos-core-v3                                            101.1 KiB  88.2 KiB/s 00:01 [##################################################] 100%
cachyos-extra-v3                                             4.2 MiB  3.96 MiB/s 00:01 [##################################################] 100%
cachyos                                                    506.8 KiB   810 KiB/s 00:01 [##################################################] 100%
core                                                       117.4 KiB   284 KiB/s 00:00 [##################################################] 100%
extra                                                        8.0 MiB  5.67 MiB/s 00:01 [##################################################] 100%
:: Starting full system upgrade...
warning: archlinux-keyring: local (20251027-3) is newer than cachyos (20251027-2)
there is nothing to do

~
 pacman -Qi pacman
Installed From  : None
Name            : pacman
Version         : 7.0.0.r7.g1f38429-2
Description     : A library-based package manager with dependency support. CachyOS fork.
Architecture    : x86_64
URL             : https://www.archlinux.org/pacman/
Licenses        : GPL-2.0-or-later
Groups          : None
Provides        : libalpm.so=15-64
Depends On      : bash  coreutils  curl  libcurl.so=4-64  gawk  gettext  glibc  gnupg  gpgme  libgpgme.so=45-64  grep  libarchive
                 libarchive.so=13-64  openssl  libcrypto.so=3-64  pacman-mirrorlist  systemd
Optional Deps   : base-devel: required to use makepkg [installed]
                 perl-locale-gettext: translation support in makepkg-template
Required By     : appstream-glib  archlinux-keyring  base  base-devel  libpamac-aur  pacman-contrib
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 10.04 MiB
Packager        : CachyOS <admin@cachyos.org>
Build Date      : Sun 19 Oct 2025 12:10:57 PM UTC
Install Date    : Fri 31 Oct 2025 11:13:32 AM UTC
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Thus KVM Hypervisor's packages would be installed from CachyOS *_v3 repositories as well as Hyprland with ML4W Dotfiles 2.9.9.3 packages installed via Dotfiles Installer 0.10.0.  Both procedures were verified on Arch Linux upgraded virtual instances






















At this point you may also perform a complete upgrade system to CachyOS
$ pacman -Qqn | sudo pacman -S -


Verification step

$ pacman -Qs cachyos
local/cachyos-kernel-manager 1.16.1-1 (cachyos)
   Simple kernel manager
local/cachyos-keyring 20240331-1 (cachyos)
   CachyOS keyring
local/cachyos-mirrorlist 22-1 (cachyos)
   CachyOS repository mirrorlist
local/cachyos-v3-mirrorlist 22-1 (cachyos)
   CachyOS repository mirrorlist
local/cachyos-v4-mirrorlist 22-1 (cachyos)
   CachyOS repository mirrorlist
local/chwd 1.16.1-1 (cachyos)
   CachyOS Hardware Detection Tool
local/linux-cachyos 6.17.8-2
   The Linux BORE + LTO + AutoFDO + Propeller Cachy Sauce Kernel by CachyOS with other patches and improvements. kernel and modules
local/linux-cachyos-headers 6.17.8-2
   Headers and scripts for building modules for the Linux BORE + LTO + AutoFDO + Propeller Cachy Sauce Kernel by CachyOS with other patches and
   improvements. kernel
local/pacman 7.0.0.r7.g1f38429-2
   A library-based package manager with dependency support. CachyOS fork.
local/scx-manager 1.15.7-1 (cachyos)
   Simple GUI for managing sched-ext schedulers via scx_loader

References


No comments:

Post a Comment