https://www.reddit.com/r/MotoG/comments/1im8eue/fedora_linux_41_server_operating_system/
created by throwaway16830261 on 10/02/2025 at 15:16 UTC*
3 upvotes, 3 top-level comments (showing 3)
~ $ fastfetch --pipe --logo none | grep -E 'OS:|Host:' OS: Android REL 14 aarch64 Host: motorola moto g play - 2024 ~ $ ~ $ termux-info | grep -E 'TERMUX_APP__APK_RELEASE|TERMUX_APP__APP_VERSION_NAME' TERMUX_APP__APK_RELEASE=GITHUB TERMUX_APP__APP_VERSION_NAME=0.119.0-beta.1 ~ $
1: https://dl.fedoraproject.org/pub/fedora/linux/releases/41/Server/x86_64/images/
2: https://alpinelinux.org/downloads/
* Verify the downloads
* Convert from qcow2 to raw in Termux: "qemu-img convert -O raw Fedora-Server-KVM-41-1.4.x86_64.qcow2 Fedora-Server-KVM-41-1.4.x86_64.raw"
* "usb-storage.quirks=VendorID:ProductID:u", "usb-storage.quirks=0x0000:0x0000:u", https://www.smartmontools.org/wiki/SAT-with-UAS-Linux[3]
3: https://www.smartmontools.org/wiki/SAT-with-UAS-Linux
* CTRL-h (^H)
* Very important, especially "systemd.default_device_timeout_sec=20m udev.children_max=1": audit=0 selinux=0 enforcing=0 mitigations=off systemd.default_device_timeout_sec=20m udev.children_max=1
* Change "/media/fedora-boot/loader/entries/db88cf6525d14e94888ec5d86cacc722-6.11.4-301.fc41.x86_64.conf"
* Unlock root: Change "/media/fedora-home/etc/passwd"
* Change "/media/fedora-home/etc/authselect/nsswitch.conf
* cd $HOME ; qemu-system-x86_64 -nodefaults -vga std -device virtio-rng-pci -m 1500M -machine q35 -nographic -serial mon:stdio -accel tcg,tb-size=256 -drive if=ide,id=vm1,format=raw,file=alpine-virt-3.21.2-x86_64.iso,index=0 -virtfs local,security_model=none,id=termux,mount_tag=termux,path=/data/data/com.termux/files/home -virtfs local,security_model=none,id=internal-card,mount_tag=card,path=/storage/FF5F-B5F1
Welcome to Alpine Linux 3.21 Kernel 6.12.8-0-virt on an x86_64 (/dev/ttyS0) localhost login: root SNIP localhost:~# localhost:~# uptime -s | awk -F ' ' '{print $2}' 20:19:05 localhost:~# localhost:~# cat /var/log/messages | grep '/dev/tty1' | awk -F ' ' '{print $3}' 20:21:04 localhost:~# localhost:~# mkdir /media/termux localhost:~# mkdir /media/card localhost:~# mkdir /media/fedora-home localhost:~# mkdir /media/fedora-boot localhost:~# localhost:~# cp /etc/apk/repositories /etc/apk/BACKUP-repositories localhost:~# cat /etc/apk/repositories /media/sda1/apks localhost:~# echo '/media/card/alpine/v3.21/community' >> /etc/apk/repositories localhost:~# echo '/media/card/alpine/v3.21/main' >> /etc/apk/repositories localhost:~# localhost:~# echo 'HISTFILESIZE=100000' >> /root/.bash_profile localhost:~# echo 'HISTSIZE=100000' >> /root/.bash_profile localhost:~# echo 'set enable-bracketed-paste off' >> /root/.inputrc localhost:~# localhost:~# mount -t 9p -o trans=virtio,version=9p2000.L,msize=1048576 termux / media/termux localhost:~# mount -t 9p -o trans=virtio,version=9p2000.L,msize=1048576 card /me dia/card localhost:~# localhost:~# apk update 3.21.2 [/media/sda1/apks] v3.21.2-176-g1004afdbfb9 [/media/card/alpine/v3.21/community] v3.21.2-172-gbdd0c9a11dc [/media/card/alpine/v3.21/main] OK: 25407 distinct packages available localhost:~# localhost:~# apk --quiet add bash rng-tools lvm2 btrfs-progs btrfs-progs-extra btrbk btrfs-progs-doc rpm darkhttpd archivemount coreutils util-linux util-linux-misc e2fsprogs e2fsprogs-extra bash cryptsetup dmesg usbutils losetup lsof lsblk fuse tree fscrypt fscrypt-doc fscryptctl libpwquality libpwquality-doc pwgen sfdisk dos2unix gptfdisk sgdisk parted bash-doc haveged davfs2 f2fs-tools f2fs-tools-doc lsof-doc cpio whois unzip mount umount libarchive-tools libarchive-doc binutils binutils-doc sudo sshfs sharutils file apk-tools apk-tools-doc mandoc man-pages mandoc-apropos docs hdparm util-linux-login fuse-exfat fuse-exfat-utils fuse-exfat-doc nfs-utils less smartmontools grep gawk sed utmps procps-ng findutils ntfs-3g ntfs-3g-progs xz zip 7zip net-tools vsftpd vsftpd-doc socat curl ncurses shadow abuild vim nano dosfstools tar wget rsync lftp links android-tools iproute2 iproute2-ss pciutils ethtool localhost:~# localhost:~# bash localhost:~# localhost:~# losetup --find --partscan --show /media/termux/Fedora-Server-KVM-41-1.4.x86_64.raw /dev/loop1 localhost:~# localhost:~# blkid /dev/loop1p2: UUID="ef2f0d52-3a93-48fc-9e01-4b9b7c8c7783" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="80c6bdb8-14ec-4e05-a23b-779ecd464959" /dev/loop1p3: UUID="BD21kE-r21R-NKaB-pECl-mHae-it0G-TIq53b" TYPE="LVM2_member" PARTUUID="11f7ccb0-40a3-449e-a121-4875454e8e66" /dev/loop1p1: PARTUUID="78536879-0a2f-4155-aef6-aeab9a1c3764" /dev/loop0: BLOCK_SIZE="131072" TYPE="squashfs" /dev/sda2: SEC_TYPE="msdos" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="1ee88886-02" /dev/sda1: BLOCK_SIZE="2048" UUID="2024-12-30-07-04-03-00" LABEL="alpine-virt 3.21.2 x86_64" TYPE="iso9660" PTUUID="1ee88886" PTTYPE="dos" PARTUUID="1ee88886-01" localhost:~# localhost:~# vgscan Found volume group "sysvg" using metadata type lvm2 localhost:~# localhost:~# vgchange --activate y 1 logical volume(s) in volume group "sysvg" now active localhost:~# localhost:~# lvdisplay --- Logical volume --- LV Path /dev/sysvg/root LV Name root VG Name sysvg LV UUID meqcHI-U4mr-KYd8-bGQg-jBg6-lvjE-Lfy5vB LV Write Access read/write LV Creation host, time fedora, 2024-10-24 14:47:44 +0000 LV Status available # open 0 LV Size <6.00 GiB Current LE 1535 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 localhost:~# localhost:~# mount /dev/sysvg/root /media/fedora-home localhost:~# mount /dev/loop1p2 /media/fedora-boot localhost:~# ls -l /media/fedora-home total 16 dr-xr-xr-x 2 root root 6 Jul 17 2024 afs lrwxrwxrwx 1 root root 7 Jul 17 2024 bin -> usr/bin drwxr-xr-x 2 root root 6 Oct 24 14:47 boot drwxr-xr-x 2 root root 6 Oct 24 14:47 dev drwxr-xr-x 117 root root 8192 Oct 24 14:52 etc SNIP localhost:~# localhost:~# ls -l /media/fedora-boot total 56836 -rw-r--r-- 1 root root 9968458 Oct 20 00:00 System.map-6.11.4-301.fc41.x86_64 SNIP drwxr-xr-x 3 root root 4096 Oct 24 14:50 loader drwx------ 2 root root 16384 Oct 24 14:47 lost+found -rw-r--r-- 1 root root 182584 Oct 24 14:51 symvers-6.11.4-301.fc41.x86_64.xz -rwxr-xr-x 1 root root 16296296 Oct 20 00:00 vmlinuz-6.11.4-301.fc41.x86_64 localhost:~# localhost:~# ls -l /media/fedora-home/etc/nsswitch.conf lrwxrwxrwx 1 root root 29 Oct 24 14:50 /media/fedora-home/etc/nsswitch.conf -> /etc/authselect/nsswitch.conf localhost:~# localhost:~# cp -p /media/fedora-home/etc/passwd $HOME/BACKUP-passwd localhost:~# localhost:~# cp -p /media/fedora-boot/loader/entries/db88cf6525d14e94888ec5d86cacc722-6.11.4-301.fc41.x86_64.conf $HOME/BACKUP-db88cf6525d14e94888ec5d86cacc722-6.11.4-301.fc41.x86_64.conf localhost:~# localhost:~# cp -p /media/fedora-home/etc/authselect/nsswitch.conf $HOME/BACKUP-nsswitch.conf localhost:~# localhost:~# cat /media/fedora-home/etc/passwd | grep 'root:x' root:x:0:0:Super User:/root:/bin/bash localhost:~# localhost:~# # vi /media/fedora-home/etc/passwd localhost:~# # root::0:0:Super User:/root:/bin/bash localhost:~# localhost:~# sed -i -e '/^root:x:/s/:x:/::/' /media/fedora-home/etc/passwd localhost:~# localhost:~# grep '^root:' /media/fedora-home/etc/passwd root::0:0:Super User:/root:/bin/bash localhost:~# localhost:~# cat /media/fedora-boot/loader/entries/db88cf6525d14e94888ec5d86cacc722-6.11.4-301.fc41.x86_64.conf | grep '^options ' options root=/dev/mapper/sysvg-root ro console=tty1 console=ttyS0,115200n8 rd.lvm.lv=sysvg/root localhost:~# localhost:~# # vi /media/fedora-boot/loader/entries/db88cf6525d14e94888ec5d86cacc722-6.11.4-301.fc41.x86_64.conf localhost:~# # localhost:~# localhost:~# sed -i -e '/^options /s/$/ audit=0 selinux=0 enforcing=0 mitigations=off systemd.default_device_timeout_sec=20m udev.children_max=1 systemd.mask=systemd-oomd.socket systemd.mask=chronyd.service systemd.mask=avahi-daemon.service systemd.mask=avahi-daemon.socket systemd.mask=dnf-makecache.service systemd.mask=dnf-makecache.timer systemd.mask=raid-check.service systemd.mask=raid-check.timer systemd.mask=pcscd.service systemd.mask=pcscd.socket systemd.mask=firewalld.service systemd.mask=systemd-homed systemd.mask=fwupd-refresh.service systemd.mask=fwupd-refresh.timer systemd.mask=fwupd.service systemd.mask=iscsid.socket systemd.mask=iscsiuio.socket systemd.mask=initial-setup systemd.mask=cockpit.service systemd.mask=cockpit-motd.service systemd.mask=cockpit.socket /' /media/fedora-boot/loader/entries/db88cf6525d14e94888ec5d86cacc722-6.11.4-301.fc41.x86_64.conf localhost:~# localhost:~# cat /media/fedora-boot/loader/entries/db88cf6525d14e94888ec5d86cacc722-6.11.4-301.fc41.x86_64.conf title Fedora Linux (6.11.4-301.fc41.x86_64) 41 (Server Edition) version 6.11.4-301.fc41.x86_64 linux /vmlinuz-6.11.4-301.fc41.x86_64 initrd /initramfs-6.11.4-301.fc41.x86_64.img options root=/dev/mapper/sysvg-root ro console=tty1 console=ttyS0,115200n8 rd.lvm.lv=sysvg/root audit=0 selinux=0 enforcing=0 mitigations=off systemd.default_device_timeout_sec=20m udev.children_max=1 systemd.mask=systemd-oomd.socket systemd.mask=chronyd.service systemd.mask=avahi-daemon.service systemd.mask=avahi-daemon.socket systemd.mask=dnf-makecache.service systemd.mask=dnf-makecache.timer systemd.mask=raid-check.service systemd.mask=raid-check.timer systemd.mask=pcscd.service systemd.mask=pcscd.socket systemd.mask=firewalld.service systemd.mask=systemd-homed systemd.mask=fwupd-refresh.service systemd.mask=fwupd-refresh.timer systemd.mask=fwupd.service systemd.mask=iscsid.socket systemd.mask=iscsiuio.socket systemd.mask=initial-setup systemd.mask=cockpit.service systemd.mask=cockpit-motd.service systemd.mask=cockpit.socket grub_users $grub_users grub_arg --unrestricted grub_class fedora localhost:~# localhost:~# cat /media/fedora-home/etc/authselect/nsswitch.conf ## Generated by authselect ## Do not modify this file manually, use authselect instead. Any user changes will be overwritten. ## You can stop authselect from managing your configuration by calling 'authselect opt-out'. ## See authselect(8) for more details. ## In order of likelihood of use to accelerate lookup. passwd: files systemd shadow: files group: files [SUCCESS=merge] systemd hosts: files myhostname resolve [!UNAVAIL=return] dns services: files netgroup: files automount: files aliases: files ethers: files gshadow: files networks: files dns protocols: files publickey: files rpc: files localhost:~# cat /media/fedora-home/etc/authselect/nsswitch.conf | grep 'systemd' passwd: files systemd group: files [SUCCESS=merge] systemd localhost:~# localhost:~# # vi /media/fedora-home/etc/authselect/nsswitch.conf localhost:~# localhost:~# sed -i -e '/^passwd:/s/systemd//' /media/fedora-home/etc/authselect/nsswitch.conf localhost:~# sed -i -e '/^group:/s/systemd//' /media/fedora-home/etc/authselect/nsswitch.conf localhost:~# cat /media/fedora-home/etc/authselect/nsswitch.conf ## Generated by authselect ## Do not modify this file manually, use authselect instead. Any user changes will be overwritten. ## You can stop authselect from managing your configuration by calling 'authselect opt-out'. ## See authselect(8) for more details. ## In order of likelihood of use to accelerate lookup. passwd: files shadow: files group: files [SUCCESS=merge] hosts: files myhostname resolve [!UNAVAIL=return] dns services: files netgroup: files automount: files aliases: files ethers: files gshadow: files networks: files dns protocols: files publickey: files rpc: files localhost:~# localhost:~# localhost:~# vgchange --activate n 0 logical volume(s) in volume group "sysvg" now active localhost:~# localhost:~# losetup NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE DIO LOG-SEC /dev/loop/1 0 0 0 0 /media/termux/Fedora-Server-KVM-41-1.4.x86_64.raw 0 512 /dev/loop/0 0 0 1 1 /media/sda1/boot/modloop-virt 0 512 localhost:~# localhost:~# losetup --detach /dev/loop1 SNIP localhost:~# poweroff localhost:~# ~ $ ~ $ ~ $ cp Fedora-Server-KVM-41-1.4.x86_64.raw /storage/FF5F-B5F1/BACKUP-Fedora-Server-KVM-41-1.4.x86_64.raw ~ $
* Important qemu-system-x86_64 additional option: "-cpu Nehalem"
* cd $HOME ; QEMU_SOCKET_FILENAME=$HOME/qemu.socket ; touch $QEMU_SOCKET_FILENAME ; qemu-system-x86_64 -nodefaults -vga std -device virtio-rng-pci -m 1500M -machine q35 -nographic -serial mon:stdio -monitor unix:$QEMU_SOCKET_FILENAME,server,wait=off -device e1000,netdev=net0,mac=52:54:12:34:56:78 -netdev user,id=net0,ipv6=off,hostfwd=tcp:127.0.0.1:9080-:80,hostfwd=tcp:127.0.0.1:9022-:22,hostfwd=tcp:127.0.0.1:9445-:445,hostfwd=:127.0.0.1:60021-:21,hostfwd=:127.0.0.1:60001-:60001,hostfwd=:127.0.0.1:60002-:60002,hostfwd=:127.0.0.1:60003-:60003,hostfwd=:127.0.0.1:60004-:60004,hostfwd=:127.0.0.1:60005-:60005,hostfwd=:127.0.0.1:60006-:60006,hostfwd=:127.0.0.1:60007-:60007,hostfwd=:127.0.0.1:60008-:60008,hostfwd=:127.0.0.1:60009-:60009,hostfwd=:127.0.0.1:60010-:60010,hostfwd=:127.0.0.1:60011-:60011,hostfwd=:127.0.0.1:60012-:60012,hostfwd=:127.0.0.1:60013-:60013,hostfwd=:127.0.0.1:60014-:60014,hostfwd=:127.0.0.1:60015-:60015,hostfwd=:127.0.0.1:60016-:60016,hostfwd=:127.0.0.1:60017-:60017,hostfwd=:127.0.0.1:60018-:60018,hostfwd=:127.0.0.1:60019-:60019,hostfwd=:127.0.0.1:60020-:60020 -accel tcg,tb-size=256 -device ich9-usb-ehci1,id=ehci,addr=1d.7,multifunction=on -device ich9-usb-uhci1,id=uhci-1,addr=1d.0,multifunction=on,masterbus=ehci.0,firstport=0 -device ich9-usb-uhci2,id=uhci-2,addr=1d.1,multifunction=on,masterbus=ehci.0,firstport=2 -device ich9-usb-uhci3,id=uhci-3,addr=1d.2,multifunction=on,masterbus=ehci.0,firstport=4 -virtfs local,security_model=none,id=termux,mount_tag=termux,path=/data/data/com.termux/files/home -virtfs local,security_model=none,id=internal-card,mount_tag=card,path=/storage/FF5F-B5F1 -drive if=ide,id=vm1,format=raw,file=Fedora-Server-KVM-41-1.4.x86_64.raw,index=0 -cpu Nehalem
Booting `Fedora Linux (6.11.4-301.fc41.x86_64) 41 (Server Edition)' [00:00:02.984] [ 0.000000] Linux version 6.11.4-301.fc41.x86_64 (mockbuild@9b6b61418589428cb880a7020233b56f) (gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3), GNU ld version 2.43.1-2.fc41) #1 SMP PREEMPT_DYNAMIC Sun Oct 20 15:02:33 UTC 2024 [00:00:37.087] [ 0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.11.4-301.fc41.x86_64 root=/dev/mapper/sysvg-root ro console=tty1 console=ttyS0,115200n8 rd.lvm.lv=sysvg/root audit=0 selinux=0 enforcing=0 mitigations=off systemd.default_device_timeout_sec=20m udev.children_max=1 systemd.mask=systemd-oomd.socket systemd.mask=chronyd.service systemd.mask=avahi-daemon.service systemd.mask=avahi-daemon.socket systemd.mask=dnf-makecache.service systemd.mask=dnf-makecache.timer systemd.mask=raid-check.service systemd.mask=raid-check.timer systemd.mask=pcscd.service systemd.mask=pcscd.socket systemd.mask=firewalld.service systemd.mask=systemd-homed systemd.mask=fwupd-refresh.service systemd.mask=fwupd-refresh.timer systemd.mask=fwupd.service systemd.mask=iscsid.socket systemd.mask=iscsiuio.socket systemd.mask=initial-setup systemd.mask=cockpit.service systemd.mask=cockpit-motd.service systemd.mask=cockpit.socket SNIP [00:01:10.996] Welcome to Fedora Linux 41 (Server Edition) dracut-102-3.fc41 (Initramfs)! SNIP [00:05:05.090] Starting initrd-switch-root.service - Switch Root... SNIP [00:05:11.857] Welcome to Fedora Linux 41 (Server Edition)! SNIP [00:15:14.685] Fedora Linux 41 (Server Edition) [00:15:14.693] Kernel 6.11.4-301.fc41.x86_64 on an x86_64 (ttyS0) [00:15:14.702] [00:15:14.702] Activate the web console with: systemctl enable --now cockpit.socket SNIP [00:16:40.402] localhost login: root [00:17:53.172] login: timed out after 60 seconds[ ***] (2 of 2) Job user@0.servi[ OK ] Started serial-getty@ttyS0.service - Serial Getty on ttyS0. SNIP [00:25:09.585] localhost login: root [00:26:37.873] [root@localhost ~]# SNIP [root@localhost ~]# systemd-analyze time Startup finished in 32.160s (kernel) + 4min 841ms (initrd) + 15min 24.261s (userspace) = 19min 57.262s multi-user.target reached after 13min 40.505s in userspace. [root@localhost ~]# [root@localhost ~]# systemd-analyze --no-pager blame 7min 9.829s sshd-keygen@rsa.service 7min 8.262s dev-ttyS0.device 7min 8.259s sys-devices-pnp0-00:02-00:02:0-00:02:0.0-tty-ttyS0.device 7min 584ms sys-devices-platform-serial8250-serial8250:0-serial8250:0.3-tty-tt… 7min 581ms dev-ttyS3.device 6min 18.454s dev-ttyS2.device 6min 18.450s sys-devices-platform-serial8250-serial8250:0-serial8250:0.2-tty-tt… 5min 53.033s sys-module-fuse.device 5min 52.668s sys-devices-platform-serial8250-serial8250:0-serial8250:0.1-tty-tt… 5min 52.667s dev-ttyS1.device 5min 36.153s sys-module-configfs.device 5min 28.895s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart3.dev… 5min 28.866s dev-disk-by\x2ddiskseq-1\x2dpart3.device 5min 28.864s dev-disk-by\x2did-ata\x2dQEMU_HARDDISK_QM00001\x2dpart3.device 5min 28.860s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0… 5min 28.858s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 5min 28.858s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart3.device 5min 28.857s dev-sda3.device 5min 28.852s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 5min 28.832s dev-disk-by\x2dpartuuid-11f7ccb0\x2d40a3\x2d449e\x2da121\x2d487545… 5min 28.631s dev-sda.device 5min 28.630s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0.device 5min 28.630s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.device 5min 28.626s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0… 5min 28.623s dev-disk-by\x2did-ata\x2dQEMU_HARDDISK_QM00001.device 5min 28.621s dev-disk-by\x2ddiskseq-1.device 5min 27.634s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0… 5min 27.629s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 5min 27.628s dev-disk-by\x2did-ata\x2dQEMU_HARDDISK_QM00001\x2dpart1.device 5min 27.627s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart1.dev… 5min 27.627s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 5min 27.626s dev-disk-by\x2ddiskseq-1\x2dpart1.device 5min 27.625s dev-disk-by\x2dpartuuid-78536879\x2d0a2f\x2d4155\x2daef6\x2daeab9a… 5min 27.624s dev-sda1.device 5min 27.621s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart1.device 5min 25.970s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 5min 25.969s dev-disk-by\x2duuid-ef2f0d52\x2d3a93\x2d48fc\x2d9e01\x2d4b9b7c8c77… 5min 25.968s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0… 5min 25.965s dev-sda2.device 5min 25.964s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart2.device 5min 25.960s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 5min 25.960s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart2.dev… 5min 25.958s dev-disk-by\x2ddiskseq-1\x2dpart2.device 5min 25.956s dev-disk-by\x2dpartuuid-80c6bdb8\x2d14ec\x2d4e05\x2da23b\x2d779ecd… 5min 25.955s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 5min 25.955s dev-disk-by\x2did-ata\x2dQEMU_HARDDISK_QM00001\x2dpart2.device 2min 36.027s sshd-keygen@ed25519.service 2min 29.373s NetworkManager.service 2min 27.837s sshd-keygen@ecdsa.service 2min 16.562s systemd-udev-trigger.service 1min 45.801s modprobe@dm_multipath.service 1min 43.660s modprobe@loop.service 1min 37.940s modprobe@dm_mod.service 1min 37.937s modprobe@efi_pstore.service 1min 34.122s user@0.service 1min 30.072s systemd-hwdb-update.service 1min 24.016s systemd-logind.service 1min 23.013s dracut-initqueue.service 1min 11.675s systemd-journald.service 1min 10.087s systemd-vconsole-setup.service 1min 6.522s systemd-nsresourced.service 1min 2.869s ssh-host-keys-migration.service 57.651s initrd-switch-root.service 53.296s systemd-resolved.service 52.287s gssproxy.service 47.791s NetworkManager-wait-online.service 45.395s systemd-journal-flush.service 41.340s abrtd.service 40.271s lvm2-monitor.service 39.022s rsyslog.service 38.799s systemd-tmpfiles-setup-dev-early.service 34.518s dracut-cmdline.service 33.996s polkit.service 33.838s systemd-remount-fs.service 33.724s systemd-userdbd.service 30.988s systemd-network-generator.service 30.977s systemd-udev-load-credentials.service 30.236s systemd-journal-catalog-update.service 29.997s systemd-modules-load.service 24.576s dracut-shutdown.service 23.860s systemd-tmpfiles-setup.service 22.788s var-lib-nfs-rpc_pipefs.mount 22.389s systemd-sysctl.service 22.311s systemd-sysusers.service 21.973s systemd-tmpfiles-clean.service 21.819s sshd.service 21.677s systemd-update-utmp.service 20.720s ldconfig.service 20.290s systemd-machine-id-commit.service 19.103s systemd-tmpfiles-setup-dev.service 17.886s systemd-random-seed.service 17.182s systemd-update-utmp-runlevel.service 16.353s dev-hugepages.mount 16.034s dev-mqueue.mount 15.853s kmod-static-nodes.service 15.425s sys-kernel-debug.mount 14.643s systemd-zram-setup@zram0.service 14.533s sys-kernel-tracing.mount 13.779s systemd-udevd.service 13.617s systemd-fsck@dev-disk-by\x2duuid-ef2f0d52\x2d3a93\x2d48fc\x2d9e01\… 12.718s rpc-statd-notify.service 12.406s systemd-user-sessions.service 11.440s modprobe@drm.service 10.405s systemd-hostnamed.service 9.968s boot.mount 9.226s dbus-broker.service 7.040s systemd-update-done.service 6.988s selinux-autorelabel-mark.service 6.788s user-runtime-dir@0.service 5.036s initrd-cleanup.service 3.791s dracut-pre-udev.service 3.694s tmp.mount 3.624s modprobe@fuse.service 3.524s modprobe@configfs.service 3.430s dev-zram0.swap 3.137s sys-fs-fuse-connections.mount 3.111s serial-getty@ttyS0.service 2.979s dracut-pre-pivot.service 2.843s initrd-parse-etc.service 2.245s systemd-fsck-root.service 2.166s initrd-udevadm-cleanup-db.service 2.007s dracut-pre-mount.service [root@localhost ~]# [root@localhost ~]# systemd-analyze --no-pager critical-chain The time when unit became active or started is printed after the "@" character. The time the unit took to start is printed after the "+" character. multi-user.target @13min 40.505s └─sshd.service @13min 18.479s +21.819s └─sshd-keygen.target @13min 17.684s [root@localhost ~]# [root@localhost ~]# # swap-on-zram disabled after reboot [root@localhost ~]# ls /etc/systemd/zram-generator.conf ls: cannot access '/etc/systemd/zram-generator.conf': No such file or directory [root@localhost ~]# touch /etc/systemd/zram-generator.conf [root@localhost ~]# [root@localhost ~]# swapon NAME TYPE SIZE USED PRIO /dev/zram0 partition 1.4G 0B 100 [root@localhost ~]# [root@localhost ~]# fallocate --verbose --length 2G /swap1 /swap1: 2 GiB (2147483648 bytes) allocated. [root@localhost ~]# [root@localhost ~]# mkswap --verbose /swap1 mkswap: /swap1: insecure permissions 0644, fix with: chmod 0600 /swap1 Setting up swapspace version 1, size = 2 GiB (2147479552 bytes) no label, UUID=be9bfacc-8e97-4ffe-89cb-817341ab18ae [root@localhost ~]# [root@localhost ~]# chmod 0600 /swap1 SNIP [root@localhost ~]# echo '/swap1 none swap defaults 0 0' >> /etc/fstab SNIP [root@localhost ~]# passwd New password: BAD PASSWORD: The password is shorter than 8 characters Retype new password: passwd: password updated successfully SNIP [root@localhost ~]# ifconfig enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255 inet6 fe80::81c7:9e9d:3665:b3b3 prefixlen 64 scopeid 0x20<link> ether 52:54:12:34:56:78 txqueuelen 1000 (Ethernet) RX packets 2 bytes 1180 (1.1 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 27 bytes 2394 (2.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 SNIP [root@localhost ~]# mkdir /media/termux [root@localhost ~]# mkdir /media/card [root@localhost ~]# mount -t 9p -o trans=virtio,version=9p2000.L,msize=1048576 termux /media/termux [ 5019.756347] 9p: Installing v9fs 9p2000 file system support [ 5020.076944] 9pnet: Limiting 'msize' to 512000 as this is the maximum supported by transport virtio mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload. [root@localhost ~]# [root@localhost ~]# mount -t 9p -o trans=virtio,version=9p2000.L,msize=1048576 card /media/card [ 5038.068088] 9pnet: Limiting 'msize' to 512000 as this is the maximum supported by transport virtio mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload. [root@localhost ~]# [root@localhost ~]# ls -1 /media/termux/Fedora* /media/termux/Fedora-Cloud-40-1.14-x86_64-CHECKSUM /media/termux/Fedora-Cloud-41-1.4-x86_64-CHECKSUM /media/termux/Fedora-Cloud-Base-Generic-41-1.4.x86_64.qcow2 SNIP [root@localhost ~]# ls -1 /media/card/B*Fedora* /media/card/BACKUP-Fedora-Server-KVM-41-1.4.x86_64.raw
[ 0.000000] Linux version 6.12.11-200.fc41.x86_64 (mockbuild@8c05b49e2e66460390f7ce4d04d4f464) (gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7), GNU ld version 2.43.1-5.fc41) #1 SMP PREEMPT_DYNAMIC Fri Jan 24 04:59:58 UTC 2025 SNIP [00:12:40.113] Fedora Linux 41 (Server Edition) [00:12:40.120] Kernel 6.12.11-200.fc41.x86_64 on an x86_64 (ttyS0) [00:12:40.122] [00:12:40.122] Activate the web console with: systemctl enable --now cockpit.socket [00:12:40.123] [00:12:40.139] localhost login: liveuser [00:13:00.819] Password: [00:13:10.236] Login incorrect [00:13:10.297] [00:13:11.146] localhost login: [ 760.058560] bochs-drm 0000:00:01.0: vgaarb: deactivate vga console SNIP [00:14:54.248] [00:14:54.298] localhost login: root Password: login: timed out after 60 seconds SNIP Fedora Linux 41 (Server Edition) Kernel 6.12.11-200.fc41.x86_64 on an x86_64 (ttyS0) Activate the web console with: systemctl enable --now cockpit.socket localhost login: root Password: SNIP [root@localhost ~]# passwd liveuser New password: BAD PASSWORD: The password is shorter than 8 characters Retype new password: passwd: password updated successfully [root@localhost ~]# exit logout Fedora Linux 41 (Server Edition) Kernel 6.12.11-200.fc41.x86_64 on an x86_64 (ttyS0) Activate the web console with: systemctl enable --now cockpit.socket localhost login: liveuser Password: SNIP [liveuser@localhost ~]$ [liveuser@localhost ~]$ sudo -i SNIP [sudo] password for liveuser: [root@localhost ~]# [root@localhost ~]# systemd-analyze time Startup finished in 38.146s (kernel) + 3min 30.957s (initrd) + 11min 15.073s (userspace) = 15min 24.177s multi-user.target reached after 10min 9.289s in userspace. [root@localhost ~]# [root@localhost ~]# systemd-analyze --no-pager blame 5min 39.803s sys-devices-pnp0-00:02-00:02:0-00:02:0.0-tty-ttyS0.device 5min 39.727s dev-ttyS0.device 5min 32.703s abrtd.service 5min 31.247s dev-ttyS3.device 5min 31.242s sys-devices-platform-serial8250-serial8250:0-serial8250:0.3-tty-tt… 5min 11.923s dev-ttyS2.device 5min 11.921s sys-devices-platform-serial8250-serial8250:0-serial8250:0.2-tty-tt… 5min 10.459s sys-module-fuse.device 5min 4.657s sys-devices-platform-serial8250-serial8250:0-serial8250:0.1-tty-tt… 5min 4.656s dev-ttyS1.device 4min 55.065s sys-module-configfs.device 4min 48.618s dev-disk-by\x2dpartuuid-11f7ccb0\x2d40a3\x2d449e\x2da121\x2d487545… 4min 48.617s dev-sda3.device 4min 48.617s dev-disk-by\x2did-ata\x2dQEMU_HARDDISK_QM00001\x2dpart3.device 4min 48.617s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart3.device 4min 48.613s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0… 4min 48.613s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart3.dev… 4min 48.613s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 4min 48.612s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 4min 48.611s dev-disk-by\x2ddiskseq-1\x2dpart3.device 4min 47.973s dev-disk-by\x2ddiskseq-1.device 4min 47.971s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0.device 4min 47.970s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0… 4min 47.970s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.device 4min 47.969s dev-sda.device 4min 47.965s dev-disk-by\x2did-ata\x2dQEMU_HARDDISK_QM00001.device 4min 46.858s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 4min 46.856s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 4min 46.856s dev-disk-by\x2ddiskseq-1\x2dpart1.device 4min 46.856s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart1.dev… 4min 46.855s dev-disk-by\x2dpartuuid-78536879\x2d0a2f\x2d4155\x2daef6\x2daeab9a… 4min 46.855s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart1.device 4min 46.855s dev-sda1.device 4min 46.855s dev-disk-by\x2did-ata\x2dQEMU_HARDDISK_QM00001\x2dpart1.device 4min 46.854s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0… 4min 45.377s dev-disk-by\x2did-ata\x2dQEMU_HARDDISK_QM00001\x2dpart2.device 4min 45.374s dev-disk-by\x2ddiskseq-1\x2dpart2.device 4min 45.374s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 4min 45.374s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart2.device 4min 45.373s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0… 4min 45.373s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart2.dev… 4min 45.362s dev-disk-by\x2duuid-ef2f0d52\x2d3a93\x2d48fc\x2d9e01\x2d4b9b7c8c77… 4min 45.361s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 4min 45.359s dev-sda2.device 4min 45.359s dev-disk-by\x2dpartuuid-80c6bdb8\x2d14ec\x2d4e05\x2da23b\x2d779ecd… 4min 45.357s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart-by\x… 1min 50.019s NetworkManager.service 1min 42.071s systemd-udev-trigger.service 1min 32.834s modprobe@dm_multipath.service 1min 30.841s modprobe@loop.service 1min 27.004s modprobe@efi_pstore.service 1min 26.671s modprobe@dm_mod.service 1min 25.705s modprobe@drm.service 1min 24.015s polkit.service 1min 18.898s dracut-initqueue.service 1min 10.343s ModemManager.service 1min 4.855s systemd-vconsole-setup.service 1min 1.002s initrd-switch-root.service 58.758s systemd-journald.service 56.325s systemd-logind.service 52.100s gssproxy.service 47.835s NetworkManager-wait-online.service 36.695s systemd-resolved.service 35.267s systemd-journal-flush.service 33.076s sshd.service 32.930s lvm2-monitor.service 31.446s user@0.service 31.344s systemd-tmpfiles-setup-dev-early.service 31.330s systemd-udevd.service 28.413s systemd-remount-fs.service 27.056s systemd-modules-load.service 25.219s systemd-tmpfiles-setup-dev.service 24.255s rsyslog.service 24.233s systemd-udev-load-credentials.service 24.052s systemd-network-generator.service 22.836s systemd-tmpfiles-clean.service 22.797s systemd-sysctl.service 22.093s user@1000.service 20.611s systemd-update-utmp-runlevel.service 19.375s systemd-random-seed.service 16.032s var-lib-nfs-rpc_pipefs.mount 15.791s tmp.mount 14.951s rpc-statd-notify.service 14.634s kmod-static-nodes.service 14.592s dev-hugepages.mount 14.415s dracut-shutdown.service 14.312s dev-mqueue.mount 14.305s dracut-cmdline.service 13.784s sys-kernel-debug.mount 13.709s systemd-user-sessions.service 13.483s systemd-update-utmp.service 13.052s sys-kernel-tracing.mount 12.512s systemd-tmpfiles-setup.service 11.857s swap1.swap 10.825s systemd-fsck@dev-disk-by\x2duuid-ef2f0d52\x2d3a93\x2d48fc\x2d9e01\… 10.670s systemd-sysusers.service 9.420s dbus-broker.service 7.354s systemd-nsresourced.service 6.501s boot.mount 5.679s dracut-pre-udev.service 4.870s systemd-hostnamed.service 4.349s systemd-userdbd.service 4.271s initrd-cleanup.service 3.659s dracut-pre-pivot.service 3.522s user-runtime-dir@0.service 3.258s modprobe@fuse.service 3.208s modprobe@configfs.service 3.177s sys-fs-fuse-connections.mount 3.126s initrd-parse-etc.service 3.104s user-runtime-dir@1000.service 3.018s serial-getty@ttyS0.service 2.418s systemd-fsck-root.service 2.010s initrd-udevadm-cleanup-db.service 1.973s dracut-pre-mount.service [root@localhost ~]# [root@localhost ~]# systemd-analyze --no-pager critical-chain The time when unit became active or started is printed after the "@" character. The time the unit took to start is printed after the "+" character. multi-user.target @10min 9.289s └─getty.target @7min 33.089s └─getty@tty1.service @7min 32.487s └─systemd-user-sessions.service @7min 17.342s +13.709s └─remote-fs.target @7min 16.795s └─remote-fs-pre.target @7min 16.690s └─nfs-client.target @7min 16.630s └─gssproxy.service @6min 24.364s +52.100s └─network.target @6min 23.420s └─NetworkManager.service @4min 33.272s +1min 50.019s └─basic.target @4min 32.913s └─dbus-broker.service @4min 22.779s +9.420s └─dbus.socket @4min 20.232s └─sysinit.target @4min 19.805s └─systemd-vconsole-setup.service @9min 49.523s +1min 4.855s └─run-credentials-systemd\x2dvconsole\x2dsetup.service.mount @9min 54.528s SNIP [root@localhost ~]# swapon NAME TYPE SIZE USED PRIO /swap1 file 2G 0B -2 SNIP [root@localhost ~]# lsusb Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub SNIP [root@localhost ~]# lspci 00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller SNIP 00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) SNIP [root@localhost ~]# exit logout [liveuser@localhost ~]$ SNIP [liveuser@localhost ~]$ fastfetch --logo none --pipe|head -15 liveuser@localhost ------------------ OS: Fedora Linux 41 (Server Edition) x86_64 Host: KVM/QEMU Standard PC (Q35 + ICH9, 2009) (pc-q35-8.2) SNIP CPU: Intel Core i7 9xx (Nehalem Class Core i7) @ 1.00 GHz GPU: Unknown Device 1111 (VGA compatible) Memory: 247.80 MiB / 1.38 GiB (17%) SNIP Local IP (enp0s3): 10.0.2.15/24 [liveuser@localhost ~]$ [liveuser@localhost ~]$ sudo poweroff [sudo] password for liveuser: SNIP [ 3978.096140] reboot: Power down ~ $
*
*
* "Testing: Termux, vmtest, and QEMU" by NoteAfterNote (NoteAfterNote-10, published on June 19, 2024 and updated on November 22, 2024): https://gist.github.com/NoteAfterNote/7614b0137ac6959e3bba35df66eaa75a[4] from https://gist.github.com/NoteAfterNote[5] from https://github.com/NoteAfterNote[6]
4: https://gist.github.com/NoteAfterNote/7614b0137ac6959e3bba35df66eaa75a
5: https://gist.github.com/NoteAfterNote
6: https://github.com/NoteAfterNote
*
Termux application: https://github.com/termux/termux-app
*
*
Alpine Linux: https://alpinelinux.org
*
Fedora Linux: https://fedoraproject.org
Comment by Antic1tizen at 10/02/2025 at 23:50 UTC
1 upvotes, 1 direct replies
You're a madman. How good is the performance?
Edit: oh, I see critical chain output. You ever tried doing this through box86?
Comment by TotesMessenger at 11/02/2025 at 08:18 UTC*
1 upvotes, 0 direct replies
I'm a bot, *bleep*, *bloop*. Someone has linked to this thread from another place on reddit:
*^(If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads.) ^(Info[1] ^/ ^Contact[2])*
2: /message/compose?to=/r/TotesMessenger
Comment by throwaway16830261 at 08/03/2025 at 23:46 UTC*
1 upvotes, 0 direct replies