Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save NoteAfterNote/f5bd5e127d0768cb4eac53fb7729d29f to your computer and use it in GitHub Desktop.
Save NoteAfterNote/f5bd5e127d0768cb4eac53fb7729d29f to your computer and use it in GitHub Desktop.
Termux And The ext4 Filesystem, Part 2 Of 5: QEMU, A Guest Operating System, And darkhttpd

NoteAfterNote-2
Termux And The ext4 Filesystem, Part 2 Of 5: QEMU, A Guest Operating System, And darkhttpd
Published: April 7, 2023
Link: https://gist.github.com/NoteAfterNote/f5bd5e127d0768cb4eac53fb7729d29f


Mobile Device Configuration

  • Rooted: No

  • Connected to any network: No

  • Operating system:

    neofetch --stdout|grep --color=never --ignore-case 'os:'
       OS: Android 11 armv7l 
    
  • CPU:

    neofetch --stdout|grep --color=never --ignore-case 'cpu:'
       CPU: MT6761V/WAB (4) @ 2.001GHz 
    
  • Display resolution: 1440x720

  • Builtin internal storage: 32 Gigabytes

  • Builtin memory: 3 Gigabytes

  • Application Binary Interface (ABI): armeabi-v7a, 32-bit

  • Linux shell: bash (Bourne Again SHell)

  • Termux wake lock: Always enable

  • Termux packages installed: qemu-system-x86-64 qemu-utils manpages util-linux teseq vim nano wget android-tools libnfs links openssh man termux-api libusb clang ncurses ncurses-utils asciinema gnutls termux-tools bc samba apache2 traceroute net-tools iproute2 inetutils bsd-games netcat-openbsd nmap nmap-ncat rlwrap dosfstools e2fsprogs pass pass-otp openssl-tool gpgv pwgen openjdk-17 paperkey unrar ncftp lftp darkhttpd file sshpass mutt neomutt alpine neofetch cpufetch progress pv gptfdisk fdisk curl dos2unix lynx gifsicle cadaver mlocate

  • "Termux And The ext4 Filesystem, Part 1 Of 5: Reading And Writing, No Root Required": https://gist.github.com/NoteAfterNote/2558deec94bac7ec9fa58aa5ad5e9d1b , https://github.com/NoteAfterNote (@NoteAfterNote)


Guest Operating System Installation


Do Know

Introduction To Linux System Administration


Network Port Numbers


4GB - 1 = (4*(1*1024*1024*1024)) - 1 = (2^32) - 1 = 4294967295 bytes


QEMU: https://www.qemu.org , https://github.com/qemu/qemu (@qemu), https://www.qemu.org/docs/master/ , https://wiki.qemu.org , https://github.com/qemu/qemu/tree/master/docs

qemu-system-x86_64 -m 1024M -machine pc -smp 4 -nographic -device virtio-rng-pci -monitor unix:$SOCKET_FILENAME,server,wait=off -serial mon:stdio -device virtio-net-pci,netdev=net0 -netdev user,id=net0,ipv6=off,hostfwd=tcp::15022-:22,hostfwd=::15081-:15081 -drive if=none,file=$ISO,media=cdrom,readonly=on,format=raw,id=drive1 -device virtio-blk-pci,drive=drive1,id=virtblk1,bootindex=1 -drive if=none,file=$VMDISK,format=raw,id=drive2 -device virtio-blk-pci,drive=drive2,id=virtblk2,bootindex=2 -drive if=none,file=/storage/emulated/0/Download/50gb.ext,format=raw,id=drive3,readonly=on -device virtio-blk-pci,drive=drive3,id=virtblk3

"QEMU Monitor": https://www.qemu.org/docs/master/system/monitor.html , https://qemu.readthedocs.io/en/latest/system/monitor.html

QEMU HMP Monitor Commands

  • Hotplugging disks, if a disk is mounted in the operating system, unmount it before a "device_del"

    info block
    
    
    drive_add 0 if=none,file=/storage/emulated/0/Downloads/disk1.img,format=raw,id=hd1
    
    device_add virtio-blk-pci,drive=hd1,id=virt1
    
    
    drive_add 0 if=none,file=/storage/emulated/0/Downloads/disk2.ext,format=raw,id=drive2 
    
    device_add virtio-blk-pci,drive=drive2,id=virtual2
    
    
    drive_add 0 if=none,file=/storage/emulated/0/Downloads/50gb.ext,format=raw,id=hd3 
    
    device_add virtio-blk-pci,drive=hd3,id=virtual3
    
    
    device_del virtual3
    
    device_del virt1
    
    device_del virtual2
    
    
  • QEMU firewall network ports

    info usernet
    
    hostfwd_add ::2049-:2049
    
    info usernet
    
    hostfwd_remove ::2049
    
    info usernet
    
    
  • Communicate with QEMU through a socket

    echo 'info block' | nc -UN $SOCKET_FILENAME
    
    




Termux Session 1: QEMU-Linux-Console

cd /storage/emulated/0/Download
sha256sum -c alpine-virt-3.17.3-x86_64.iso.sha256
cd $HOME
pwd
ISO=/storage/emulated/0/Download/alpine-virt-3.17.3-x86_64.iso

# From "Reference Links"
#  "Bash scripting: Moving from backtick operator to $ parentheses": 
#   https://www.redhat.com/sysadmin/backtick-operator-vs-parens
#   
SOCKET_FILENAME=$(mktemp socket.XXXXXXXXXX)
echo $SOCKET_FILENAME

DIRECTORY_NAME_FROM_mktemp=$(mktemp -d /storage/emulated/0/Download/ext4-test-directory.XXXXXXXXXX)
echo $DIRECTORY_NAME_FROM_mktemp

#
# Create the QEMU disk image, file size
# less than 4096 megabytes = 4096*1024*1024 = 4 gigabytes
#
qemu-img create -f raw -o preallocation=full $DIRECTORY_NAME_FROM_mktemp/vmtest1.raw  4095M
VMDISK=$DIRECTORY_NAME_FROM_mktemp/vmtest1.raw

dd if=/dev/zero of=$DIRECTORY_NAME_FROM_mktemp/test-disk1-30mb.ext bs=1M count=30
mkfs.ext4 -m 0 -L disk1-30mb $DIRECTORY_NAME_FROM_mktemp/test-disk1-30mb.ext

pwd
#
# Bootup may take some time. Watch the "QEMU Linux Console"
# Termux session.
#
qemu-system-x86_64  -m 1024M  -machine pc  -smp 4  -nographic  -device virtio-rng-pci  -monitor unix:$SOCKET_FILENAME,server,wait=off -serial mon:stdio  -device virtio-net-pci,netdev=net0 -netdev user,id=net0,ipv6=off,hostfwd=tcp::15022-:22,hostfwd=::15081-:15081  -drive if=none,file=$ISO,media=cdrom,readonly=on,format=raw,id=drive1 -device virtio-blk-pci,drive=drive1,id=virtblk1,bootindex=1  -drive if=none,file=$VMDISK,format=raw,id=drive2 -device virtio-blk-pci,drive=drive2,id=virtblk2,bootindex=2  -drive if=none,file=/storage/emulated/0/Download/50gb.ext,format=raw,id=drive3,readonly=on -device virtio-blk-pci,drive=drive3,id=virtblk3

#
# Install from the ISO: no password, login as 'root'
# 50gb.ext has the v3.17/main/x86_64 and v3.17/community/x86_64
# repositories.
#
blkid
df -h
mkdir /root/repo
mkdir /root/backup
cat /etc/apk/repositories

cp -pi /etc/apk/repositories /root/backup
echo '/root/repo/alpine/v3.17/main' >> /etc/apk/repositories
echo '/root/repo/alpine/v3.17/community' >> /etc/apk/repositories
cat /etc/apk/repositories

#   mount --help  
#   mount the disk read-only
#   mount LABEL=50gb -o ro,remount /root/repo
#   mount LABEL=50gb -o rw,remount /root/repo
mount
mount -r LABEL=50gb /root/repo
mount|egrep repo
df -aTh
dmesg

apk update
apk add nano cfdisk util-linux e2fsprogs e2fsprogs-extra  grub grub-bios

lsblk
blkid

export EDITOR=nano
export KERNELOPTS="console=tty0 console=ttyS0,115200n8"
env
set
#
# During setup add a username.
# During setup if a pager is presented, type 'h' and 'q'
#
setup-alpine
umount /root/repo
df -ha

# Poweroff the server
poweroff

# Reset the Termux terminal if necessary: "tput reset"
# at the Termux command line or select the Termux session
# reset option.
#
# Booting from the ISO is finished. Change the
# qemu-system-x86_64 option
#     bootindex=1
# to
#     bootindex=100
# and press the Enter/Return key.
#   

qemu-system-x86_64  -m 1024M  -machine pc  -smp 4  -nographic  -device virtio-rng-pci  -monitor unix:$SOCKET_FILENAME,server,wait=off -serial mon:stdio  -device virtio-net-pci,netdev=net0 -netdev user,id=net0,ipv6=off,hostfwd=tcp::15022-:22,hostfwd=::15081-:15081  -drive if=none,file=$ISO,media=cdrom,readonly=on,format=raw,id=drive1 -device virtio-blk-pci,drive=drive1,id=virtblk1,bootindex=100  -drive if=none,file=$VMDISK,format=raw,id=drive2 -device virtio-blk-pci,drive=drive2,id=virtblk2,bootindex=2  -drive if=none,file=/storage/emulated/0/Download/50gb.ext,format=raw,id=drive3,readonly=on -device virtio-blk-pci,drive=drive3,id=virtblk3



# If the lines displayed as while booting are truncated use
# the Termux session reset option as the server continues to boot.
#
# Toggle the timestamps: ctrl-a t
# 

#
# When the server completely boots up login as root.
# 

cat /etc/os-release
uname -a
mkdir /root/backup
mkdir /mnt/repo

lsblk
blkid

cp -pi /etc/apk/repositories /root/backup
cat /etc/apk/repositories
echo '/mnt/repo/alpine/v3.17/main' >> /etc/apk/repositories
echo '/mnt/repo/alpine/v3.17/community' >> /etc/apk/repositories
cat /etc/apk/repositories
mount -r LABEL=50gb /mnt/repo
mount
df -ahT

#
# Edit /etc/update-extlinux.conf with nano
#   timeout=0    # man syslinux
#   hidden=0

# grep -E 'timeout|hidden' /etc/update-extlinux.conf
# cp -pi /etc/update-extlinux.conf /root/backup
# nano --linenumbers /etc/update-extlinux.conf
# grep -E 'timeout|hidden' /etc/update-extlinux.conf
#
# Update the settings
update-extlinux

cat /etc/modules ; cp -pi /etc/modules /root/backup
echo fuse >> /etc/modules ; cat /etc/modules

#
# Install the packages
#
apk update
date

apk add vim cryptsetup asciinema neofetch xca polkit qt5-qtwebglplugin rpm cifs-utils device-mapper rng-tools inetutils-telnet perl hdparm fsarchiver libcdio-tools lftp-doc lftp pssh mutt neomutt alpine ncftp vsftpd vsftpd-doc sshfs samba apache2 apache2-doc apache2-webdav apache2-utils apache2-ctl alpine-sdk build-base apk-tools alpine-conf busybox fakeroot syslinux xorriso mtools dosfstools grub-efi make git sudo lynx links nodejs npm dhcp-server-vanilla ccache ccache-doc udisks2 udisks2-doc libarchive-tools libarchive-doc cmake cmake-doc extra-cmake-modules extra-cmake-modules-doc gcc abuild binutils binutils-doc gcc-doc py3-pip pandoc util-linux pciutils usbutils coreutils binutils findutils grep iproute2 bash bash-doc utmps pass pass-otp darkhttpd libpwquality zstd pwgen easy-rsa  markdown expect sshpass keepassxc gzip rpm xz bzip2 gawk bc diffutils psmisc procps shadow util-linux-bash-completion util-linux-login mount umount netcat-openbsd nmap nmap-nping nmap-nselibs nmap-scripts net-tools socat rlwrap iputils perl-digest-sha3 dos2unix gptfdisk sgdisk parted grub grub-bios grub-doc efibootmgr cfdisk lvm2 libusb sfdisk btrfs-progs dosfstools texinfo e2fsprogs  e2fsprogs-extra mkinitfs haveged davfs2 f2fs-tools jfsutils ntfs-3g xfsprogs cpio whois wget unzip zip tar curl p7zip ipcalc sed nano fuse-exfat fuse-exfat-utils fuse-exfat-doc nfs-utils ncurses ffmpeg sharutils mandoc man-pages mandoc-apropos docs virt-manager libvirt libvirt-daemon imagemagick spice spice-vdagent spice-gtk xf86-video-qxl qemu-guest-agent cmd:rsvg-convert iptables ip6tables perl-net-ssleay progress pv stress-ng dbus dbus-x11 mc nnn nnn-bash-completion nnn-plugins nnn-zsh-completion nnn-fish-completion  vifm vifm-fish-completion vifm-zsh-completion  vifm-bash-completion  fish ncdu zsh udisks2-bash-completion gnome-disk-utility zim chezdav grub-bash-completion apr-util-dbd_mysql apr-util-dbd_pgsql apr-util-dbd_sqlite3 apr-util-ldap uuidgen ed  gifsicle mlocate

date

#
# Change the shell
#
echo $SHELL
chsh -s /bin/bash root
chsh -s /bin/bash USER_NAME_FROM_SETUP_ALPINE

# Logout and then login as root.

echo $SHELL

export SUDO_EDITOR=nano
export EDITOR=nano

# cp -pi /etc/sudoers /root/backup
# grep wheel /etc/sudoers
## Uncomment the wheel line
# sudoedit /etc/sudoers
grep wheel /etc/sudoers


#
# Reboot the server
#
# Toggle the console timestamps: ctrl-a t
#
reboot

#
# Copy the SOCKET_FILENAME from the QEMU-LINUX-CONSOLE session
# Copy the DIRECTORY_NAME_FROM_mktemp from QEMU-LINUX-CONSOLE 
# After the server boots up switch to the Termux-Command-Line
# session and 
#     SOCKET_FILENAME=PASTE_SOCKET_FILENAME_HERE
#     DIRECTORY_NAME_FROM_mktemp=PASTE_DIRECTORY_NAME_FROM_mktemp_HERE 


Termux Session 2: Termux-Command-Line

SOCKET_FILENAME=PASTE_SOCKET_FILENAME_HERE
echo $SOCKET_FILENAME
DIRECTORY_NAME_FROM_mktemp=PASTE_DIRECTORY_NAME_FROM_mktemp_HERE
echo $DIRECTORY_NAME_FROM_mktemp

#
echo 'info usernet' | nc -UN $SOCKET_FILENAME 

#
# Hotplug test-disk1-30mb.ext
#
echo 'info block'  | nc -UN $SOCKET_FILENAME 

echo "drive_add 0 if=none,file=$DIRECTORY_NAME_FROM_mktemp/test-disk1-30mb.ext,format=raw,id=disk1" | nc -UN $SOCKET_FILENAME

echo 'device_add virtio-blk-pci,drive=disk1,id=virt1' | nc -UN $SOCKET_FILENAME 

# Status
echo 'info block'  | nc -UN $SOCKET_FILENAME  
echo 'info block'  | nc -UN $SOCKET_FILENAME 

ssh USER_NAME_FROM_SETUP_ALPINE@127.0.0.1 -p 15022

blkid
lsblk
blkid|grep disk1-30mb
sudo mkdir /mnt/disk1
sudo mount LABEL=disk1-30mb /mnt/disk1
df -aTh

# 
# Set the sticky bit
#
sudo chmod a+rwx,o+t /mnt/disk1
stat /mnt/disk1|grep 'rwx'
# Compare with /tmp
stat /tmp|grep 'rwx'

ls -laR /mnt/disk1

touch /mnt/disk1/file1-made-on-server
touch /mnt/disk1/file2-made-on-server

pwd

# Exit the ssh session
#   logout
# Now back at the Termux command line
pwd


# From Termux, store a file on test-disk1-30mb.ext
#
# Commands for sftp:
#    cd /mnt/disk1
#    ls -l
#    put /data/data/com.termux/files/usr/bin/termux-info
#    ls -l
#    quit

whereis termux-info
sftp -P 15022 USER_NAME_FROM_SETUP_ALPINE@127.0.0.1


#
# Start an HTTP server with a random port number
#
export TERMUX_RANDOM_PORT=$(shuf --input-range=49152-65535  --head-count=1  --random-source=/dev/urandom --repeat)
echo $TERMUX_RANDOM_PORT

darkhttpd $DIRECTORY_NAME_FROM_mktemp --port $TERMUX_RANDOM_PORT

#
# Switch to the QEMU-LINUX-CONSOLE session and login as
#  USER_NAME_FROM_SETUP_ALPINE
# type
#    links -dump http://10.0.2.2:TERMUX_RANDOM_PORT
# type
#    exit
# and return to the Termux-Command-Line session
#

# At the Termux-Command-Line use ctrl-c to stop darkhttpd


ssh USERNAME_FROM_SETUP_ALPINE@127.0.0.1 -p 15022

sudo umount /mnt/disk1
exit

#
# Back at the Termux command line
#

echo 'info block'  | nc -UN $SOCKET_FILENAME 

echo 'device_del virt1' | nc -UN $SOCKET_FILENAME
echo 'info block'  | nc -UN $SOCKET_FILENAME 
echo 'info block'  | nc -UN $SOCKET_FILENAME 

# Watch the QEMU-Linux-Console session

echo 'system_powerdown'  | nc -UN $SOCKET_FILENAME 


Termux session for QEMU-Linux-Console
Welcome to Termux!

Community forum: https://termux.com/community
Gitter chat: https://gitter.im/termux/termux
IRC channel: #termux on libera.chat

Working with packages:

* Search packages: pkg search
* Install a package: pkg install
* Upgrade packages: pkg upgrade

Subscribing to additional repositories:

* Root: pkg install root-repo
* X11: pkg install x11-repo

Report issues at https://termux.com/issues

~ $ cd /storage/emulated/0/Download
.../0/Download $
.../0/Download $ sha256sum -c alpine-virt-3.17.3-x86_64.iso.sha256
alpine-virt-3.17.3-x86_64.iso: OK
.../0/Download $
.../0/Download $ cd $HOME
~ $
~ $ pwd
/data/data/com.termux/files/home
~ $
~ $ ISO=/storage/emulated/0/Download/alpine-virt-3.17.3-x86_64.iso
~ $
~ $ SOCKET_FILENAME=$(mktemp socket.XXXXXXXXXX)
~ $ echo $SOCKET_FILENAME
socket.PAym3eQVJq
~ $
~ $
~ $ DIRECTORY_NAME_FROM_mktemp=$(mktemp -d /storage/emulated/0/Download/ext4-test-directory.XXXXXXXXXX)
~ $
~ $ echo $DIRECTORY_NAME_FROM_mktemp
/storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C
~ $
~ $ qemu-img create -f raw -o preallocation=full $DIRECTORY_NAME_FROM_mktemp/vmtest1.raw 4095M
Formatting '/storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C/vmtest1.raw', fmt=raw size=4293918720 preallocation=full
~ $
~ $ VMDISK=$DIRECTORY_NAME_FROM_mktemp/vmtest1.raw
~ $
~ $ dd if=/dev/zero of=$DIRECTORY_NAME_FROM_mktemp/test-disk1-30mb.ext bs=1M count=30
30+0 records in
30+0 records out
31457280 bytes (31 MB, 30 MiB) copied, 0.358727 s, 87.7 MB/s
~ $
~ $ mkfs.ext4 -m 0 -L disk1-30mb $DIRECTORY_NAME_FROM_mktemp/test-disk1-30mb.ext
mke2fs 1.47.0 (5-Feb-2023)
/storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C/test-disk1-30mb.ext contains a ext2 file system labelled 'disk1-30mb'
created on Fri Apr 7 07:42:16 2023
Proceed anyway? (y,N) y
Creating filesystem with 30720 1k blocks and 7680 inodes
Filesystem UUID: 00781ac1-ab37-4b36-abac-5ef4b9f4c990
Superblock backups stored on blocks:
8193, 24577
Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and
filesystem accounting information: done
~ $
~ $
~ $ pwd
/data/data/com.termux/files/home
~ $
~ $ qemu-system-x86_64 -m 1024M -machine pc -smp 4 -nographic -device virtio-rng-pci -monitor unix:$SOCKET_FILENAME,server,wait=off -serial mon:stdio -device virtio-net-pci,netdev=net0 -netdev user,id=net0,ipv6=off,hostfwd=tcp::15022-:22,hostfwd=::15081-:15081 -drive if=none,file=$ISO,media=cdrom,readonly=on,format=raw,id=drive1 -device virtio-blk-pci,drive=drive1,id=virtblk1,bootindex=1 -drive if=none,file=$VMDISK,format=raw,id=drive2 -device virtio-blk-pci,drive=drive2,id=virtblk2,bootindex=2 -drive if=none,file=/storage/emulated/0/Download/50gb.ext,format=raw,id=drive3,readonly=on -device virtio-blk-pci,drive=drive3,id=virtblk3


OpenRC 0.45.2 is starting up Linux 5.15.104-0-virt (x86_64)

* /proc is already mounted
* Mounting /run ... * /run/openrc: creating directory
* /run/lock: creating directory
* /run/lock: correcting owner * Caching service dependencies ... [ ok ]
* Remounting devtmpfs on /dev ... [ ok ]
* Mounting /dev/mqueue ... [ ok ]
* Mounting modloop ... * Verifying modloop
[ ok ]
* Mounting security filesystem ... [ ok ]
* Mounting debug filesystem ... [ ok ] * Mounting persistent storage (pstore) filesystem ... [ ok ] * Starting busybox mdev ... [ ok ] * Scanning hardware for mdev ... [ ok ] * Loading hardware drivers ... [ ok ] * Loading modules ... [ ok ] * Setting system clock using the hardware clock [UTC] ... [ ok ] * Checking local filesystems ... [ ok ] * Remounting filesystems ... [ ok ] * Mounting local filesystems ... [ ok ]
* Configuring kernel parameters ... [ ok ]
* Migrating /var/lock to /run/lock ... [ ok ]
* Creating user login records ... [ ok ]
* Cleaning /tmp directory ... [ ok ]
* Setting hostname ... [ ok ]
* Starting busybox syslog ... [ ok ]
* Starting firstboot ... [ ok ]

Welcome to Alpine Linux 3.17
Kernel 5.15.104-0-virt on an x86_64 (/dev/ttyS0)

localhost login: root
Welcome to Alpine!

The Alpine Wiki contains a large amount of how-to guides and general
information about administrating Alpine systems.
See <https://wiki.alpinelinux.org/>.

You can setup the system with the command: setup-alpine

You may change this message by editing /etc/motd.

localhost:~# blkid
/dev/loop/0: TYPE="squashfs"
/dev/vdc: LABEL="50gb" UUID="ed64f636-1b13-4695-ad66-82236229d6e4" TYPE="ext4"
/dev/vda2: TYPE="vfat"
/dev/vda1: LABEL="alpine-virt 3.17.3 x86_64" TYPE="iso9660"
/dev/vda: LABEL="alpine-virt 3.17.3 x86_64" TYPE="iso9660"
/dev/loop0: TYPE="squashfs"
localhost:~#
localhost:~# df -h
Filesystem Size Used Available Use% Mounted on
devtmpfs 10.0M 0 10.0M 0% /dev
shm 491.6M 0 491.6M 0% /dev/shm
/dev/vda 49.0M 49.0M 0 100% /media/vda
tmpfs 491.6M 10.4M 481.2M 2% /
tmpfs 196.6M 44.0K 196.6M 0% /run
/dev/loop0 14.1M 14.1M 0 100% /.modloop
localhost:~# mkdir /root/repo
localhost:~#
localhost:~# mkdir /root/backup
localhost:~#
localhost:~# cat /etc/apk/repositories
/media/vda/apks
localhost:~#
localhost:~# cp -pi /etc/apk/repositories /root/backup
localhost:~#
localhost:~# echo '/root/repo/alpine/v3.17/main' >> /etc/apk/repositories
localhost:~#
localhost:~# echo '/root/repo/alpine/v3.17/community' >> /etc/apk/repositories
localhost:~#
localhost:~# cat /etc/apk/repositories
/media/vda/apks
/root/repo/alpine/v3.17/main
/root/repo/alpine/v3.17/community
localhost:~#
localhost:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=124313,mode=755,inode64)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,inode64)
/dev/vda on /media/vda type iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)
tmpfs on / type tmpfs (rw,relatime,mode=755,inode64)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=201340k,nr_inodes=819200,mode=755,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
/dev/loop0 on /.modloop type squashfs (ro,relatime,errors=continue)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
localhost:~#
localhost:~# mount -r LABEL=50gb /root/repo
localhost:~#
localhost:~# mount|egrep repo
/dev/vdc on /root/repo type ext4 (ro,relatime)
localhost:~#
localhost:~# df -aTh
Filesystem Type Size Used Available Use% Mounted on
sysfs sysfs 0 0 0 0% /sys
devtmpfs devtmpfs 10.0M 0 10.0M 0% /dev
proc proc 0 0 0 0% /proc
devpts devpts 0 0 0 0% /dev/pts
shm tmpfs 491.6M 0 491.6M 0% /dev/shm
/dev/vda iso9660 49.0M 49.0M 0 100% /media/vda
tmpfs tmpfs 491.6M 10.4M 481.1M 2% /
tmpfs tmpfs 196.6M 44.0K 196.6M 0% /run
mqueue mqueue 0 0 0 0% /dev/mqueue
/dev/loop0 squashfs 14.1M 14.1M 0 100% /.modloop
securityfs securityfs 0 0 0 0% /sys/kernel/security
debugfs debugfs 0 0 0 0% /sys/kernel/debug
pstore pstore 0 0 0 0% /sys/fs/pstore
tracefs tracefs 0 0 0 0% /sys/kernel/debug/tracing
/dev/vdc ext4 48.9G 44.2G 4.7G 90% /root/repo
localhost:~# dmesg
[ 0.000000] Linux version 5.15.104-0-virt (buildozer@build-3-17-x86_64) (gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, GNU ld (GNU Binutils) 2.39) #1-Alpine SMP Thu, 23 Mar 2023 08:39:35 +0000
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-virt modules=loop,squashfs,sd-mod,usb-storage quiet console=tty0 console=ttyS0,115200 initrd=/boot/initramfs-virt
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
[ 0.000000] signal: max sigframe size: 1440
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffd6fff] usable
[ 0.000000] BIOS-e820: [mem 0x000000003ffd7000-0x000000003fffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000fd00000000-0x000000ffffffffff] reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.8 present.
[ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.1-0-g3208b098f51a-prebuilt.qemu.org 04/01/2014
[ 0.000000] tsc: Fast TSC calibration failed
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] last_pfn = 0x3ffd7 max_arch_pfn = 0x400000000
[ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.000000] RAMDISK: [mem 0x3f8c0000-0x3ffd6fff]
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000000F5A00 000014 (v00 BOCHS )
[ 0.000000] ACPI: RSDT 0x000000003FFE1BDD 000034 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: FACP 0x000000003FFE1A79 000074 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: DSDT 0x000000003FFE0040 001A39 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: FACS 0x000000003FFE0000 000040
[ 0.000000] ACPI: APIC 0x000000003FFE1AED 000090 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: HPET 0x000000003FFE1B7D 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: WAET 0x000000003FFE1BB5 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: Reserving FACP table memory at [mem 0x3ffe1a79-0x3ffe1aec]
[ 0.000000] ACPI: Reserving DSDT table memory at [mem 0x3ffe0040-0x3ffe1a78]
[ 0.000000] ACPI: Reserving FACS table memory at [mem 0x3ffe0000-0x3ffe003f]
[ 0.000000] ACPI: Reserving APIC table memory at [mem 0x3ffe1aed-0x3ffe1b7c]
[ 0.000000] ACPI: Reserving HPET table memory at [mem 0x3ffe1b7d-0x3ffe1bb4]
[ 0.000000] ACPI: Reserving WAET table memory at [mem 0x3ffe1bb5-0x3ffe1bdc]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] DMA32 [mem 0x0000000001000000-0x000000003ffd6fff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x000000003ffd6fff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffd6fff]
[ 0.000000] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.000000] On node 0, zone DMA: 97 pages in unavailable ranges
[ 0.000000] On node 0, zone DMA32: 41 pages in unavailable ranges
[ 0.000000] ACPI: PM-Timer IO Port: 0x608
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 0.000000] IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 0.000000] ACPI: Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[ 0.000000] [mem 0x40000000-0xfffbffff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:4 nr_node_ids:1
[ 0.000000] percpu: Embedded 54 pages/cpu s183896 r8192 d29096 u524288
[ 0.000000] pcpu-alloc: s183896 r8192 d29096 u524288 alloc=1*2097152
[ 0.000000] pcpu-alloc: [0] 0 1 2 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 257751
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-virt modules=loop,squashfs,sd-mod,usb-storage quiet console=tty0 console=ttyS0,115200 initrd=/boot/initramfs-virt
[ 0.000000] Unknown kernel command line parameters "BOOT_IMAGE=/boot/vmlinuz-virt modules=loop,squashfs,sd-mod,usb-storage", will be passed to user space.
[ 0.000000] printk: log_buf_len individual max cpu contribution: 4096 bytes
[ 0.000000] printk: log_buf_len total cpu_extra contributions: 12288 bytes
[ 0.000000] printk: log_buf_len min size: 16384 bytes
[ 0.000000] printk: log_buf_len: 32768 bytes
[ 0.000000] printk: early log buf free: 11264(68%)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:byref(zero), heap alloc:on, heap free:off
[ 0.000000] Memory: 994212K/1048020K available (10246K kernel code, 1191K rwdata, 3028K rodata, 1824K init, 2032K bss, 53548K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 16640, nr_irqs: 456, preallocated irqs: 16
[ 0.000000] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] printk: console [tty0] enabled
[ 0.000000] printk: console [ttyS0] enabled
[ 0.000000] ACPI: Core revision 20210730
[ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 0.030000] APIC: Switch to symmetric I/O mode setup
[ 0.080000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.160000] tsc: Unable to calibrate against PIT
[ 0.160000] tsc: using HPET reference calibration
[ 0.160000] tsc: Detected 1000.013 MHz processor
[ 0.006275] tsc: Marking TSC unstable due to TSCs unsynchronized
[ 0.018540] Calibrating delay loop (skipped), value calculated using timer frequency.. 2000.02 BogoMIPS (lpj=10000130)
[ 0.020585] pid_max: default: 32768 minimum: 301
[ 0.035592] LSM: Security Framework initializing
[ 0.054659] landlock: Up and running.
[ 0.081103] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.081715] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.328996] process: using AMD E400 aware idle routine
[ 0.330818] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127
[ 0.331073] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0
[ 0.335242] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.337071] Spectre V2 : Mitigation: Retpolines
[ 0.337462] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.338352] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[ 1.879633] Freeing SMP alternatives memory: 32K
[ 2.168122] smpboot: CPU0: AMD QEMU Virtual CPU version 2.5+ (family: 0xf, model: 0x6b, stepping: 0x1)
[ 2.353715] Performance Events: PMU not available due to virtualization, using software events only.
[ 2.427412] rcu: Hierarchical SRCU implementation.
[ 2.505961] NMI watchdog: Perf NMI watchdog permanently disabled
[ 2.559251] smp: Bringing up secondary CPUs ...
[ 2.602087] x86: Booting SMP configuration:
[ 2.602656] .... node #0, CPUs: #1
[ 0.000000] calibrate_delay_direct() failed to get a good estimate for loops_per_jiffy.
[ 0.000000] Probably due to long platform interrupts. Consider using "lpj=" boot option.
[ 3.154610] #2
[ 0.000000] calibrate_delay_direct() failed to get a good estimate for loops_per_jiffy.
[ 0.000000] Probably due to long platform interrupts. Consider using "lpj=" boot option.
[ 3.565655] #3
[ 0.000000] calibrate_delay_direct() failed to get a good estimate for loops_per_jiffy.
[ 0.000000] Probably due to long platform interrupts. Consider using "lpj=" boot option.
[ 4.362039] smp: Brought up 1 node, 4 CPUs
[ 4.363540] smpboot: Max logical packages: 1
[ 4.364054] ----------------
[ 4.364291] | NMI testsuite:
[ 4.364383] --------------------
[ 4.364477] remote IPI: ok |
[ 4.370580] local IPI: ok |
[ 4.379087] --------------------
[ 4.379312] Good, all 2 testcases passed! |
[ 4.379613] ---------------------------------
[ 4.380425] smpboot: Total of 4 processors activated (3258.28 BogoMIPS)
[ 4.691835] devtmpfs: initialized
[ 4.766504] x86/mm: Memory block size: 128MB
[ 4.869581] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 4.873276] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 5.107819] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 5.151197] audit: initializing netlink subsys (disabled)
[ 5.191439] audit: type=2000 audit(1680799892.330:1): state=initialized audit_enabled=0 res=1
[ 5.229742] thermal_sys: Registered thermal governor 'step_wise'
[ 5.235736] cpuidle: using governor ladder
[ 5.238233] cpuidle: using governor menu
[ 5.261021] ACPI: bus type PCI registered
[ 5.262624] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 5.312479] PCI: Using configuration type 1 for base access
[ 5.341833] mtrr: your CPUs had inconsistent fixed MTRR settings
[ 5.342181] mtrr: your CPUs had inconsistent variable MTRR settings
[ 5.342409] mtrr: your CPUs had inconsistent MTRRdefType settings
[ 5.342526] mtrr: probably your BIOS does not setup all CPUs.
[ 5.342678] mtrr: corrected configuration.
[ 5.525096] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 5.582142] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 6.122622] ACPI: Added _OSI(Module Device)
[ 6.123410] ACPI: Added _OSI(Processor Device)
[ 6.124392] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 6.124557] ACPI: Added _OSI(Processor Aggregator Device)
[ 6.125642] ACPI: Added _OSI(Linux-Dell-Video)
[ 6.125794] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 6.125881] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[ 6.375739] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 6.621510] ACPI: Interpreter enabled
[ 6.635546] ACPI: PM: (supports S0 S3 S5)
[ 6.636331] ACPI: Using IOAPIC for interrupt routing
[ 6.644774] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 6.666856] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 7.223144] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 7.235054] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[ 7.244292] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[ 7.335740] acpiphp: Slot [3] registered
[ 7.337659] acpiphp: Slot [4] registered
[ 7.341262] acpiphp: Slot [5] registered
[ 7.342784] acpiphp: Slot [6] registered
[ 7.345248] acpiphp: Slot [7] registered
[ 7.346997] acpiphp: Slot [8] registered
[ 7.351931] acpiphp: Slot [9] registered
[ 7.353435] acpiphp: Slot [10] registered
[ 7.355714] acpiphp: Slot [11] registered
[ 7.357751] acpiphp: Slot [12] registered
[ 7.360673] acpiphp: Slot [13] registered
[ 7.362131] acpiphp: Slot [14] registered
[ 7.363478] acpiphp: Slot [15] registered
[ 7.365760] acpiphp: Slot [16] registered
[ 7.366960] acpiphp: Slot [17] registered
[ 7.370171] acpiphp: Slot [18] registered
[ 7.371714] acpiphp: Slot [19] registered
[ 7.372909] acpiphp: Slot [20] registered
[ 7.375421] acpiphp: Slot [21] registered
[ 7.376716] acpiphp: Slot [22] registered
[ 7.378586] acpiphp: Slot [23] registered
[ 7.380145] acpiphp: Slot [24] registered
[ 7.381789] acpiphp: Slot [25] registered
[ 7.384314] acpiphp: Slot [26] registered
[ 7.385621] acpiphp: Slot [27] registered
[ 7.389526] acpiphp: Slot [28] registered
[ 7.390954] acpiphp: Slot [29] registered
[ 7.392406] acpiphp: Slot [30] registered
[ 7.394807] acpiphp: Slot [31] registered
[ 7.400627] PCI host bridge to bus 0000:00
[ 7.403112] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 7.405115] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 7.405361] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 7.405908] pci_bus 0000:00: root bus resource [mem 0x40000000-0xfebfffff window]
[ 7.406017] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window]
[ 7.408349] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 7.436508] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[ 7.579654] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[ 7.646403] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[ 7.694306] pci 0000:00:01.1: reg 0x20: [io 0xc1c0-0xc1cf]
[ 7.718978] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 7.719532] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 7.719961] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 7.720340] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 7.744802] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[ 7.750940] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI
[ 7.751692] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB
[ 7.772694] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000
[ 7.785731] pci 0000:00:02.0: reg 0x10: [mem 0xfd000000-0xfdffffff pref]
[ 7.813947] pci 0000:00:02.0: reg 0x18: [mem 0xfebd0000-0xfebd0fff]
[ 7.889732] pci 0000:00:02.0: reg 0x30: [mem 0xfebc0000-0xfebcffff pref]
[ 7.893219] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 7.971493] pci 0000:00:03.0: [1af4:1005] type 00 class 0x00ff00
[ 7.988396] pci 0000:00:03.0: reg 0x10: [io 0xc180-0xc19f]
[ 8.008429] pci 0000:00:03.0: reg 0x14: [mem 0xfebd1000-0xfebd1fff]
[ 8.078426] pci 0000:00:03.0: reg 0x20: [mem 0xfe000000-0xfe003fff 64bit pref]
[ 8.180865] pci 0000:00:04.0: [1af4:1000] type 00 class 0x020000
[ 8.198416] pci 0000:00:04.0: reg 0x10: [io 0xc1a0-0xc1bf]
[ 8.218424] pci 0000:00:04.0: reg 0x14: [mem 0xfebd2000-0xfebd2fff]
[ 8.279518] pci 0000:00:04.0: reg 0x20: [mem 0xfe004000-0xfe007fff 64bit pref]
[ 8.298443] pci 0000:00:04.0: reg 0x30: [mem 0xfeb80000-0xfebbffff pref]
[ 8.379584] pci 0000:00:05.0: [1af4:1001] type 00 class 0x010000
[ 8.388509] pci 0000:00:05.0: reg 0x10: [io 0xc000-0xc07f]
[ 8.408437] pci 0000:00:05.0: reg 0x14: [mem 0xfebd3000-0xfebd3fff]
[ 8.458412] pci 0000:00:05.0: reg 0x20: [mem 0xfe008000-0xfe00bfff 64bit pref]
[ 8.553557] pci 0000:00:06.0: [1af4:1001] type 00 class 0x010000
[ 8.568467] pci 0000:00:06.0: reg 0x10: [io 0xc080-0xc0ff]
[ 8.590304] pci 0000:00:06.0: reg 0x14: [mem 0xfebd4000-0xfebd4fff]
[ 8.648414] pci 0000:00:06.0: reg 0x20: [mem 0xfe00c000-0xfe00ffff 64bit pref]
[ 8.746813] pci 0000:00:07.0: [1af4:1001] type 00 class 0x010000
[ 8.758740] pci 0000:00:07.0: reg 0x10: [io 0xc100-0xc17f]
[ 8.788594] pci 0000:00:07.0: reg 0x14: [mem 0xfebd5000-0xfebd5fff]
[ 8.848441] pci 0000:00:07.0: reg 0x20: [mem 0xfe010000-0xfe013fff 64bit pref]
[ 8.947050] pci_bus 0000:00: on NUMA node 0
[ 9.001769] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[ 9.015714] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[ 9.024637] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[ 9.032861] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[ 9.037123] ACPI: PCI: Interrupt link LNKS configured for IRQ 9
[ 9.109680] iommu: Default domain type: Translated
[ 9.110289] iommu: DMA domain TLB invalidation policy: lazy mode
[ 9.157234] SCSI subsystem initialized
[ 9.179449] libata version 3.00 loaded.
[ 9.190794] pps_core: LinuxPPS API ver. 1 registered
[ 9.191157] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti
[ 9.192791] PTP clock support registered
[ 9.354636] PCI: Using ACPI for IRQ routing
[ 9.360335] PCI: pci_cache_line_size set to 64 bytes
[ 9.369798] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[ 9.372427] e820: reserve RAM buffer [mem 0x3ffd7000-0x3fffffff]
[ 9.408270] hpet: 3 channels of 0 reserved for per-cpu timers
[ 9.433536] clocksource: Switched to clocksource hpet
[ 10.373748] VFS: Disk quotas dquot_6.6.0
[ 10.376413] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 10.417643] pnp: PnP ACPI init
[ 10.483493] pnp 00:02: [dma 2]
[ 10.541170] pnp: PnP ACPI: found 6 devices
[ 11.220238] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 11.234820] NET: Registered PF_INET protocol family
[ 11.255034] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 11.363178] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 11.366177] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 11.367879] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 11.374218] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 11.376611] TCP: Hash tables configured (established 8192 bind 8192)
[ 11.396540] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 11.401384] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 11.430604] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 11.437890] NET: Registered PF_XDP protocol family
[ 11.452443] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]
[ 11.452927] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]
[ 11.453225] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[ 11.453473] pci_bus 0000:00: resource 7 [mem 0x40000000-0xfebfffff window]
[ 11.453651] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff window]
[ 11.466758] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 11.470608] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 11.472184] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 11.473284] PCI: CLS 0 bytes, default 64
[ 11.697284] Unpacking initramfs...
[ 11.721277] Initialise system trusted keyrings
[ 11.818037] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 12.263197] zbud: loaded
[ 12.356388] Key type asymmetric registered
[ 12.357611] Asymmetric key parser 'x509' registered
[ 12.376125] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 12.415387] io scheduler mq-deadline registered
[ 12.416498] io scheduler kyber registered
[ 12.435483] io scheduler bfq registered
[ 12.602904] ERST DBG: ERST support is disabled.
[ 20.366118] ACPI: \_SB_.LNKC: Enabled at IRQ 11
[ 21.554843] Freeing initrd memory: 7260K
[ 24.571219] ACPI: \_SB_.LNKD: Enabled at IRQ 10
[ 28.105045] ACPI: \_SB_.LNKA: Enabled at IRQ 10
[ 31.171751] ACPI: \_SB_.LNKB: Enabled at IRQ 11
[ 34.297639] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 34.347174] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 34.623726] VMware PVSCSI driver - version 1.0.7.0-k
[ 34.648997] ata_piix 0000:00:01.1: version 2.13
[ 35.823729] scsi host0: ata_piix
[ 35.986180] scsi host1: ata_piix
[ 36.006260] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc1c0 irq 14
[ 36.021773] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc1c8 irq 15
[ 36.181742] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 36.295814] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 36.301707] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 36.333107] rtc_cmos 00:05: RTC can wake from S4
[ 36.535064] rtc_cmos 00:05: registered as rtc0
[ 36.551326] rtc_cmos 00:05: setting system clock to 2023-04-06T16:52:04 UTC (1680799924)
[ 36.638901] rtc_cmos 00:05: alarms up to one day, y3k, 242 bytes nvram, hpet irqs
[ 36.694456] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[ 36.775584] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 36.779993] gre: GRE over IPv4 demultiplexor driver
[ 36.864794] Key type dns_resolver registered
[ 36.883183] IPI shorthand broadcast: enabled
[ 37.026148] registered taskstats version 1
[ 37.039447] Loading compiled-in X.509 certificates
[ 37.392527] scsi 1:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5
[ 38.732225] Loaded X.509 cert 'Build time autogenerated kernel key: 3c033844a69b110094555ad83d635cd49718f78b'
[ 38.773167] zswap: loaded using pool lzo/zbud
[ 38.891674] Key type .fscrypt registered
[ 38.892144] Key type fscrypt-provisioning registered
[ 38.980760] Unstable clock detected, switching default tracing clock to "global"
[ 38.980760] If you want to keep using the local clock, then add:
[ 38.980760] "trace_clock=local"
[ 38.980760] on the kernel command line
[ 39.210609] Freeing unused kernel image (initmem) memory: 1824K
[ 39.231408] Write protecting the kernel read-only data: 16384k
[ 39.280296] Freeing unused kernel image (text/rodata gap) memory: 2040K
[ 39.295476] Freeing unused kernel image (rodata/data gap) memory: 1068K
[ 39.302511] rodata_test: all tests were successful
[ 39.305890] Run /init as init process
[ 39.306180] with arguments:
[ 39.306352] /init
[ 39.306485] with environment:
[ 39.306650] HOME=/
[ 39.306726] TERM=linux
[ 39.306773] BOOT_IMAGE=/boot/vmlinuz-virt
[ 39.306830] modules=loop,squashfs,sd-mod,usb-storage
[ 41.359704] Alpine Init 3.7.0-r1
[ 41.472333] Loading boot drivers...
[ 42.493213] loop: module loaded
[ 42.686662] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 43.495771] ACPI: bus type USB registered
[ 43.525075] usbcore: registered new interface driver usbfs
[ 43.533686] usbcore: registered new interface driver hub
[ 43.536295] usbcore: registered new device driver usb
[ 43.732744] usbcore: registered new interface driver usb-storage
[ 46.474606] Loading boot drivers: ok.
[ 46.791300] Mounting boot media...
[ 56.946474] sr 1:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[ 56.950345] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 57.066922] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 59.116946] virtio_blk virtio2: [vda] 100352 512-byte logical blocks (51.4 MB/49.0 MiB)
[ 59.330607] vda: vda1 vda2
[ 59.492082] virtio_blk virtio3: [vdb] 8386560 512-byte logical blocks (4.29 GB/4.00 GiB)
[ 59.597067] virtio_blk virtio4: [vdc] 104857600 512-byte logical blocks (53.7 GB/50.0 GiB)
[ 86.896463] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 86.964097] ISO 9660 Extensions: RRIP_1991A
[ 102.646525] EXT4-fs (vdc): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 103.513149] Mounting boot media: ok.
[ 107.056503] Installing packages to root filesystem...
[ 122.138342] Installing packages to root filesystem: ok.
[ 154.588055] loop0: detected capacity change from 0 to 28768
[ 206.201556] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[ 206.459800] ACPI: button: Power Button [PWRF]
[ 208.402456] Floppy drive(s): fd0 is 2.88M AMI BIOS
[ 208.966338] FDC 0 is a S82078B
[ 221.966532] [drm] Found bochs VGA, ID 0xb0c5.
[ 221.966978] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.
[ 222.141178] [drm] Found EDID data blob.
[ 222.391187] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
[ 223.107850] fbcon: bochs-drmdrmfb (fb0) is primary device
[ 225.004748] Console: switching to colour frame buffer device 160x50
[ 225.336697] bochs-drm 0000:00:02.0: [drm] fb0: bochs-drmdrmfb frame buffer device
[ 226.530719] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0x700, revision 0
[ 230.375244] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
[ 230.527012] random: crng init done
[ 235.935398] mousedev: PS/2 mouse device common for all mice
[ 260.320049] NET: Registered PF_PACKET protocol family
[ 262.945293] NET: Registered PF_INET6 protocol family
[ 263.124834] Segment Routing with IPv6
[ 263.127286] In-situ OAM (IOAM) with IPv6
[ 679.073519] FAT-fs (vdc): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 679.503792] EXT4-fs (vdc): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
localhost:~#
localhost:~# apk update
3.17.3 [/media/vda/apks]
v3.17.3-33-g63371ce3229 [/root/repo/alpine/v3.17/main]
v3.17.3-33-g63371ce3229 [/root/repo/alpine/v3.17/community]
OK: 17818 distinct packages available
localhost:~#
localhost:~# apk add nano cfdisk util-linux e2fsprogs e2fsprogs-extra grub grub
-bios
(1/51) Installing libblkid (2.38.1-r1)
(2/51) Installing libuuid (2.38.1-r1)
(3/51) Installing libfdisk (2.38.1-r1)
(4/51) Installing libmount (2.38.1-r1)
(5/51) Installing ncurses-terminfo-base (6.3_p20221119-r0)
(6/51) Installing ncurses-libs (6.3_p20221119-r0)
(7/51) Installing libsmartcols (2.38.1-r1)
(8/51) Installing cfdisk (2.38.1-r1)
(9/51) Installing libcom_err (1.46.6-r0)
(10/51) Installing e2fsprogs-libs (1.46.6-r0)
(11/51) Installing e2fsprogs (1.46.6-r0)
(12/51) Installing e2fsprogs-extra (1.46.6-r0)
(13/51) Installing lddtree (1.26-r3)
(14/51) Installing xz-libs (5.2.9-r0)
(15/51) Installing zstd-libs (1.5.5-r0)
(16/51) Installing kmod (30-r1)
(17/51) Installing kmod-openrc (30-r1)
(18/51) Installing argon2-libs (20190702-r2)
(19/51) Installing device-mapper-libs (2.03.17-r1)
(20/51) Installing json-c (0.16-r2)
(21/51) Installing cryptsetup-libs (2.5.0-r2)
(22/51) Installing kmod-libs (30-r1)
(23/51) Installing mkinitfs (3.7.0-r1)
Executing mkinitfs-3.7.0-r1.post-install
(24/51) Installing grub (2.06-r7)
(25/51) Installing grub-bios (2.06-r7)
(26/51) Installing nano (7.0-r0)
(27/51) Installing util-linux (2.38.1-r1)
(28/51) Installing util-linux-misc (2.38.1-r1)
(29/51) Installing libeconf (0.4.7-r0)
(30/51) Installing linux-pam (1.5.2-r1)
(31/51) Installing runuser (2.38.1-r1)
(32/51) Installing mount (2.38.1-r1)
(33/51) Installing losetup (2.38.1-r1)
(34/51) Installing hexdump (2.38.1-r1)
(35/51) Installing uuidgen (2.38.1-r1)
(36/51) Installing blkid (2.38.1-r1)
(37/51) Installing sfdisk (2.38.1-r1)
(38/51) Installing mcookie (2.38.1-r1)
(39/51) Installing agetty (2.38.1-r1)
(40/51) Installing agetty-openrc (0.45.2-r7)
(41/51) Installing wipefs (2.38.1-r1)
(42/51) Installing umount (2.38.1-r1)
(43/51) Installing util-linux-openrc (2.38.1-r1)
(44/51) Installing flock (2.38.1-r1)
(45/51) Installing lsblk (2.38.1-r1)
(46/51) Installing libcap-ng (0.8.3-r1)
(47/51) Installing setpriv (2.38.1-r1)
(48/51) Installing logger (2.38.1-r1)
(49/51) Installing partx (2.38.1-r1)
(50/51) Installing fstrim (2.38.1-r1)
(51/51) Installing findmnt (2.38.1-r1)
Executing busybox-1.35.0-r29.trigger
OK: 39 MiB in 77 packages
localhost:~#
localhost:~#
localhost:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
fd0 2:0 1 0B 0 disk
loop0 7:0 0 14M 1 loop /.modloop
sr0 11:0 1 1024M 0 rom
vda 253:0 0 49M 1 disk /media/vda
├─vda1 253:1 0 49M 1 part
└─vda2 253:2 0 1.4M 1 part
vdb 253:16 0 4G 0 disk
vdc 253:32 0 50G 1 disk /root/repo
localhost:~#
localhost:~# blkid

/dev/loop0: TYPE="squashfs"
/dev/vdc: LABEL="50gb" UUID="ed64f636-1b13-4695-ad66-82236229d6e4" BLOCK_SIZE="4096" TYPE="ext4"
/dev/vda2: SEC_TYPE="msdos" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="77b851c3-02"
/dev/vda1: BLOCK_SIZE="2048" UUID="2022-11-22-03-30-35-00" LABEL="alpine-virt 3.17.3 x86_64" TYPE="iso9660" PTUUID="77b851c3" PTTYPE="dos" PARTUUID="77b851c3-01"
localhost:~#
localhost:~#
localhost:~# export EDITOR=nano
localhost:~#
localhost:~# export KERNELOPTS="console=tty0 console=ttyS0,115200n8"
localhost:~#
localhost:~# env
USER=root
SHLVL=1
HOME=/root
PAGER=less
LOGNAME=root
TERM=vt100
LC_COLLATE=C
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
LANG=C.UTF-8
KERNELOPTS=console=tty0 console=ttyS0,115200n8
SHELL=/bin/ash
PWD=/root
CHARSET=UTF-8
EDITOR=nano
localhost:~#
localhost:~# set
BB_ASH_VERSION='1.35.0'
CHARSET='UTF-8'
EDITOR='nano'
FUNCNAME=''
HISTFILE='/root/.ash_history'
HOME='/root'
HOSTNAME='localhost'
IFS='
'
KERNELOPTS='console=tty0 console=ttyS0,115200n8'
LANG='C.UTF-8'
LC_COLLATE='C'
LINENO=''
LOGNAME='root'
OPTIND='1'
PAGER='less'
PATH='/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin'
PPID='1841'
PS1='\h:\w\$ '
PS2='> '
PS4='+ '
PWD='/root'
SHELL='/bin/ash'
SHLVL='1'
TERM='vt100'
USER='root'
_='env'
localhost:~#
localhost:~# setup-alpine
Enter system hostname (fully qualified form, e.g. 'foo.example.org') [localhost]
Available interfaces are: eth0.
Enter '?' for help on bridges, bonding and vlans.
Which one do you want to initialize? (or '?' or 'done') [eth0]
Ip address for eth0? (or 'dhcp', 'none', '?') [dhcp]
Do you want to do any manual network configuration? (y/n) [n]
udhcpc: started, v1.35.0
udhcpc: broadcasting discover
udhcpc: broadcasting select for 10.0.2.15, server 10.0.2.2
udhcpc: lease of 10.0.2.15 obtained from 10.0.2.2, lease time 86400
Changing password for root
New password:
Bad password: too short
Retype password:
passwd: password for root changed by root
Which timezone are you in? ('?' for list) [UTC]
* Seeding random number generator ...
* Saving 256 bits of creditable seed for next boot
[ ok ]
* Starting busybox acpid ...
[ ok ]
* Starting busybox crond ...
[ ok ]
HTTP/FTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none] none
Which NTP client to run? ('busybox', 'openntpd', 'chrony' or 'none') [chrony] none
wget: bad address 'mirrors.alpinelinux.org'
wget: bad address 'mirrors.alpinelinux.org'


r) Add random from the above list
f) Detect and add fastest mirror from above list
e) Edit /etc/apk/repositories with text editor

Enter mirror number (1-0) or URL to add (or r/f/e/done) [1] done
Setup a user? (enter a lower-case loginname, or 'no') [no] test
Full name for user test [test]
Changing password for test
New password:
Bad password: too weak
Retype password:
Passwords don't match
passwd: password for test is unchanged
Setup a user? (enter a lower-case loginname, or 'no') [no] test
Full name for user test [test]
adduser: user 'test' in use
Setup a user? (enter a lower-case loginname, or 'no') [no] test1
Full name for user test1 [test]
Changing password for test1
New password:
Bad password: too short
Retype password:
passwd: password for test1 changed by root
Enter ssh key or URL for test1 (or 'none') [none]
(1/1) Installing doas (6.8.2-r3)
Executing doas-6.8.2-r3.post-install
Executing busybox-1.35.0-r29.trigger
OK: 39 MiB in 78 packages
Which ssh server? ('openssh', 'dropbear' or 'none') [openssh]
* service sshd added to runlevel default
* Caching service dependencies ...
[ ok ]
ssh-keygen: generating new host keys: RSA ECDSA ED25519
* Starting sshd ...
[ ok ]
Available disks are:
fd0 (0.0 GB )
sr0 (1.1 GB QEMU QEMU DVD-ROM )
vdb (4.3 GB 0x1af4 )
Which disk(s) would you like to use? (or '?' for help or 'none') [none] vdb
The following disk is selected:
vdb (4.3 GB 0x1af4 )
How would you like to use it? ('sys', 'data', 'crypt', 'lvm' or '?' for help) [?] sys
WARNING: The following disk(s) will be erased:
vdb (4.3 GB 0x1af4 )
WARNING: Erase the above disk(s) and continue? (y/n) [n] y
Creating file systems...
Installing system on /dev/vdb3:
/mnt/boot is device /dev/vdb1
100% ████████████████████████████████████████████==> initramfs: creating /boot/initramfs-virt
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-virt
Found initrd image: /boot/initramfs-virt
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
/boot is device /dev/vdb1

Installation is complete. Please reboot.
localhost:~#
localhost:~# umount /root/repo
localhost:~#
localhost:~#
localhost:~# df -ha
Filesystem Size Used Available Use% Mounted on
sysfs 0 0 0 0% /sys
devtmpfs 10.0M 0 10.0M 0% /dev
proc 0 0 0 0% /proc
devpts 0 0 0 0% /dev/pts
shm 491.6M 0 491.6M 0% /dev/shm
/dev/vda 49.0M 49.0M 0 100% /media/vda
tmpfs 491.6M 48.1M 443.5M 10% /
tmpfs 196.6M 108.0K 196.5M 0% /run
mqueue 0 0 0 0% /dev/mqueue
/dev/loop0 14.1M 14.1M 0 100% /.modloop
securityfs 0 0 0 0% /sys/kernel/security
debugfs 0 0 0 0% /sys/kernel/debug
pstore 0 0 0 0% /sys/fs/pstore
tracefs 0 0 0 0% /sys/kernel/debug/tracing
localhost:~#
localhost:~# poweroff

[ 35.624662] Freeing unused kernel image (text/rodata gap) memory: 2040K
[ 35.647140] Freeing unused kernel image (rodata/data gap) memory: 1072K
[ 35.655957] rodata_test: all tests were successful
[ 35.664328] Run /init as init process
[ 37.571506] Alpine Init 3.7.0-r1
Alpine Init 3.7.0-r1
[ 37.672531] Loading boot drivers...
* Loading boot drivers: [ 39.117523] ACPI: bus type USB registered
[ 39.156014] usbcore: registered new interface driver usbfs
[ 39.191910] usbcore: registered new interface driver hub
[ 39.210113] usbcore: registered new device driver usb
[ 39.517753] usbcore: registered new interface driver usb-storage
[ 42.478302] loop: module loaded
[ 45.900652] Loading boot drivers: ok.
ok.
[ 46.170144] Mounting root...
* Mounting root: [ 58.228747] sr 1:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[ 58.233471] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 60.556412] virtio_blk virtio2: [vda] 100352 512-byte logical blocks (51.4 MB/49.0 MiB)
[ 60.682226] vda: vda1 vda2
[ 62.163051] virtio_blk virtio3: [vdb] 8386560 512-byte logical blocks (4.29 GB/4.00 GiB)
[ 62.591146] vdb: vdb1 vdb2 vdb3
[ 62.765667] virtio_blk virtio4: [vdc] 104857600 512-byte logical blocks (53.7 GB/50.0 GiB)
[ 105.939318] EXT4-fs (vdb3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 106.000159] Mounting root: ok.
ok.

OpenRC 0.45.2 is starting up Linux 5.15.105-0-virt (x86_64)

* /proc is already mounted
* Mounting /run ... * /run/openrc: creating directory
* /run/lock: creating directory
* /run/lock: correcting owner
* Caching service dependencies ... [ ok ]
* Remounting devtmpfs on /dev ... [ ok ]
* Mounting /dev/mqueue ... [ ok ]
* Mounting security filesystem ... [ ok ]
* Mounting debug filesystem ... [ ok ]
* Mounting persistent storage (pstore) filesystem ... [ ok ]
* Starting busybox mdev ... [ ok ]
* Scanning hardware for mdev ... [ ok ]
* Loading hardware drivers ... [ ok ]
* Loading modules ... [ ok ]
* Setting system clock using the hardware clock [UTC] ... [ ok ]
* Checking local filesystems .../dev/vdb3: clean, 3173/177408 files, 47828/709376 blocks
/dev/vdb1: clean, 26/76912 files, 47886/307200 blocks
[ ok ]
* Remounting root filesystem read/write ... [ ok ]
* Remounting filesystems ... [ ok ]
* Activating swap devices ... [ ok ]
* Mounting local filesystems ... [ ok ]
* Configuring kernel parameters ... [ ok ]
* Migrating /var/lock to /run/lock ... [ ok ]
* Creating user login records ... [ ok ]
* Setting hostname ... [ ok ]
* Starting networking ... * lo ... [ ok ]
* eth0 ...udhcpc: started, v1.35.0
udhcpc: broadcasting discover
udhcpc: broadcasting select for 10.0.2.15, server 10.0.2.2
udhcpc: lease of 10.0.2.15 obtained from 10.0.2.2, lease time 86400
[ ok ]
* Seeding random number generator ... * Saving 256 bits of creditable seed for next boot
[ ok ]
* Starting busybox syslog ... [ ok ]
* Starting busybox acpid ... [ ok ]
* Starting busybox crond ... [ ok ]
* Starting sshd ... [ ok ]

Welcome to Alpine Linux 3.17
Kernel 5.15.105-0-virt on an x86_64 (/dev/ttyS0)

localhost login: root
Password:
Welcome to Alpine!

The Alpine Wiki contains a large amount of how-to guides and general
information about administrating Alpine systems.
See <https://wiki.alpinelinux.org/>.

You can setup the system with the command: setup-alpine

You may change this message by editing /etc/motd.

localhost:~#
localhost:~# cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.17.3
PRETTY_NAME="Alpine Linux v3.17"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
localhost:~#
localhost:~# uname -a
Linux localhost 5.15.105-0-virt #1-Alpine SMP Fri, 31 Mar 2023 07:57:34 +0000 x86_64 Linux
localhost:~#
localhost:~# mkdir /root/backup
localhost:~#
localhost:~# mkdir /mnt/repo
localhost:~#
localhost:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
fd0 2:0 1 0B 0 disk
sr0 11:0 1 1024M 0 rom
vda 253:0 0 49M 1 disk
├─vda1 253:1 0 49M 1 part
└─vda2 253:2 0 1.4M 1 part
vdb 253:16 0 4G 0 disk
├─vdb1 253:17 0 300M 0 part /boot
├─vdb2 253:18 0 1023M 0 part [SWAP]
└─vdb3 253:19 0 2.7G 0 part /
vdc 253:32 0 50G 1 disk
localhost:~#
localhost:~# blkid
/dev/vdb1: UUID="aba8642b-9069-4332-84b5-68fe37e6c66f" BLOCK_SIZE="1024" TYPE="ext4" PARTUUID="e39d887c-01"
/dev/vda1: BLOCK_SIZE="2048" UUID="2022-11-22-03-30-35-00" LABEL="alpine-virt 3.17.3 x86_64" TYPE="iso9660" PTUUID="77b851c3" PTTYPE="dos" PARTUUID="77b851c3-01"
/dev/vdb2: UUID="de1b4727-fa3d-4f50-8491-7c5d043a00aa" TYPE="swap" PARTUUID="e39d887c-02"
/dev/vda2: SEC_TYPE="msdos" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="77b851c3-02"
/dev/vdc: LABEL="50gb" UUID="ed64f636-1b13-4695-ad66-82236229d6e4" BLOCK_SIZE="4096" TYPE="ext4"
/dev/vdb3: UUID="dc2ae764-3fe0-45f5-868d-3b59ee7a5a08" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="e39d887c-03"
localhost:~#
localhost:~# cp -pi /etc/apk/repositories /root/backup
localhost:~#
localhost:~# cat /etc/apk/repositories
#/media/vda/apks
#/root/repo/alpine/v3.17/main
#/root/repo/alpine/v3.17/community
localhost:~#
localhost:~# echo '/mnt/repo/alpine/v3.17/main' >> /etc/apk/repositories
localhost:~#
localhost:~# echo '/mnt/repo/alpine/v3.17/community' >> /etc/apk/repositories
localhost:~#
localhost:~# cat /etc/apk/repositories
#/media/vda/apks
#/root/repo/alpine/v3.17/main
#/root/repo/alpine/v3.17/community
/mnt/repo/alpine/v3.17/main
/mnt/repo/alpine/v3.17/community
localhost:~#
localhost:~# mount -r LABEL=50gb /mnt/repo
localhost:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=124365,mode=755,inode64)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,inode64)
/dev/vdb3 on / type ext4 (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=201340k,nr_inodes=819200,mode=755,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
localhost:~# update-extlinux
/boot is device /dev/vdb1
localhost:~#
localhost:~# cat /etc/modules ; cp -pi /etc/modules /root/backup
af_packet
ipv6
localhost:~# echo fuse >> /etc/modules ; cat /etc/modules
af_packet
ipv6
fuse
localhost:~# localhost:~# apk update
v3.17.3-33-g63371ce3229 [/mnt/repo/alpine/v3.17/main]
v3.17.3-33-g63371ce3229 [/mnt/repo/alpine/v3.17/community]
OK: 17818 distinct packages available
localhost:~#
localhost:~# date
Thu Apr 6 18:11:34 UTC 2023
localhost:~#
localhost:~# apk add vim cryptsetup asciinema neofetch xca polkit qt5-qtwebglpl
ugin rpm cifs-utils device-mapper rng-tools inetutils-telnet perl hdparm fsarchi
ver libcdio-tools lftp-doc lftp pssh mutt neomutt alpine ncftp vsftpd vsftpd-doc
sshfs samba apache2 apache2-doc apache2-webdav apache2-utils apache2-ctl alpine
-sdk build-base apk-tools alpine-conf busybox fakeroot syslinux xorriso mtools d
osfstools grub-efi make git sudo lynx links nodejs npm dhcp-server-vanilla ccach
e ccache-doc udisks2 udisks2-doc libarchive-tools libarchive-doc cmake cmake-doc
extra-cmake-modules extra-cmake-modules-doc gcc abuild binutils binutils-doc gc
c-doc py3-pip pandoc util-linux pciutils usbutils coreutils binutils findutils g
rep iproute2 bash bash-doc utmps pass pass-otp darkhttpd libpwquality zstd pwgen
easy-rsa markdown expect sshpass keepassxc gzip rpm xz bzip2 gawk bc diffutils
psmisc procps shadow util-linux-bash-completion util-linux-login mount umount n
etcat-openbsd nmap nmap-nping nmap-nselibs nmap-scripts net-tools socat rlwrap i
putils perl-digest-sha3 dos2unix gptfdisk sgdisk parted grub grub-bios grub-doc
efibootmgr cfdisk lvm2 libusb sfdisk btrfs-progs dosfstools texinfo e2fsprogs e
2fsprogs-extra mkinitfs haveged davfs2 f2fs-tools jfsutils ntfs-3g xfsprogs cpio
whois wget unzip zip tar curl p7zip ipcalc sed nano fuse-exfat fuse-exfat-utils
fuse-exfat-doc nfs-utils ncurses ffmpeg sharutils mandoc man-pages mandoc-aprop
os docs virt-manager libvirt libvirt-daemon imagemagick spice spice-vdagent spic
e-gtk xf86-video-qxl qemu-guest-agent cmd:rsvg-convert iptables ip6tables perl-n
et-ssleay progress pv stress-ng dbus dbus-x11 mc nnn nnn-bash-completion nnn-plu
gins nnn-zsh-completion nnn-fish-completion vifm vifm-fish-completion vifm-zsh-
completion vifm-bash-completion fish ncdu zsh udisks2-bash-completion gnome-di
sk-utility zim chezdav grub-bash-completion apr-util-dbd_mysql apr-util-dbd_pgsq
l apr-util-dbd_sqlite3 apr-util-ldap uuidgen ed gifsicle mlocate
WARNING: Ignoring /mnt/repo1/alpine/v3.17/community: No such file or directory
(1/891) Installing fakeroot (1.29-r0)
(2/891) Installing libattr (2.5.1-r2)
(3/891) Installing attr (2.5.1-r2)
(4/891) Installing libacl (2.3.1-r1)
(5/891) Installing tar (1.34-r2)
(6/891) Installing pkgconf (1.9.4-r0)
(7/891) Installing patch (2.7.6-r9)
(8/891) Installing libgcc (12.2.1_git20220924-r4)
(9/891) Installing libstdc++ (12.2.1_git20220924-r4)
(10/891) Installing lzip (1.23-r0)
(11/891) Installing ca-certificates (20220614-r4)
(12/891) Installing brotli-libs (1.0.9-r9)
(13/891) Installing nghttp2-libs (1.51.0-r0)
(14/891) Installing libcurl (7.88.1-r1)
(15/891) Installing curl (7.88.1-r1)
(16/891) Installing abuild (3.10.0-r0)
Executing abuild-3.10.0-r0.pre-install
(17/891) Installing gdbm (1.23-r0)
(18/891) Installing libsasl (2.1.28-r3)
(19/891) Installing libldap (2.6.3-r6)
(20/891) Installing alpine (2.26-r1)
(21/891) Installing binutils (2.39-r2)
(22/891) Installing libmagic (5.43-r0)
(23/891) Installing file (5.43-r0)
(24/891) Installing libgomp (12.2.1_git20220924-r4)
(25/891) Installing libatomic (12.2.1_git20220924-r4)
(26/891) Installing gmp (6.2.1-r2)
(27/891) Installing isl25 (0.25-r0)
(28/891) Installing mpfr4 (4.1.0-r0)
(29/891) Installing mpc1 (1.2.1-r1)
(30/891) Installing gcc (12.2.1_git20220924-r4)
(31/891) Installing libstdc++-dev (12.2.1_git20220924-r4)
(32/891) Installing musl-dev (1.2.3-r4)
(33/891) Installing libc-dev (0.7.2-r3)
(34/891) Installing g++ (12.2.1_git20220924-r4)
(35/891) Installing make (4.3-r1)
(36/891) Installing fortify-headers (1.1-r1)
(37/891) Installing build-base (0.5-r3)
(38/891) Installing libexpat (2.5.0-r0)
(39/891) Installing pcre2 (10.42-r0)
(40/891) Installing git (2.38.4-r1)
(41/891) Installing alpine-sdk (1.0-r1)
(42/891) Installing apr (1.7.2-r0)
(43/891) Installing apr-util (1.6.3-r0)
(44/891) Installing pcre (8.45-r2)
(45/891) Installing apache2 (2.4.56-r0)
Executing apache2-2.4.56-r0.pre-install
(46/891) Installing less (608-r1)
(47/891) Installing gzip (1.12-r0)
(48/891) Installing libintl (0.21.1-r1)
(49/891) Installing lynx (2.8.9_p1-r8)
(50/891) Installing apache2-ctl (2.4.56-r0)
(51/891) Installing apache2-doc (2.4.56-r0)
(52/891) Installing apache2-utils (2.4.56-r0)
(53/891) Installing apache2-webdav (2.4.56-r0)
(54/891) Installing mariadb-connector-c (3.3.3-r0)
(55/891) Installing apr-util-dbd_mysql (1.6.3-r0)
(56/891) Installing libpq (15.2-r0)
(57/891) Installing apr-util-dbd_pgsql (1.6.3-r0)
(58/891) Installing sqlite-libs (3.40.1-r0)
(59/891) Installing apr-util-dbd_sqlite3 (1.6.3-r0)
(60/891) Installing apr-util-ldap (1.6.3-r0)
(61/891) Installing libbz2 (1.0.8-r4)
(62/891) Installing libffi (3.4.4-r0)
(63/891) Installing mpdecimal (2.5.1-r1)
(64/891) Installing readline (8.2.0-r0)
(65/891) Installing python3 (3.10.10-r0)
(66/891) Installing ncurses (6.3_p20221119-r0)
(67/891) Installing asciinema (2.2.0-r0)
(68/891) Installing bash (5.2.15-r0)
Executing bash-5.2.15-r0.post-install
(69/891) Installing bash-doc (5.2.15-r0)
(70/891) Installing bc (1.07.1-r2)
(71/891) Installing binutils-doc (2.39-r2)
(72/891) Installing lzo (2.10-r3)
(73/891) Installing eudev-libs (3.2.11-r4)
(74/891) Installing btrfs-progs (6.0.2-r0)
(75/891) Installing bzip2 (1.0.8-r4)
(76/891) Installing hiredis (1.0.2-r1)
(77/891) Installing ccache (4.7.5-r0)
(78/891) Installing ccache-doc (4.7.5-r0)
(79/891) Installing dbus-libs (1.14.4-r0)
(80/891) Installing avahi-libs (0.8-r6)
(81/891) Installing libdaemon (0.14-r3)
(82/891) Installing libevent (2.1.12-r5)
(83/891) Installing avahi (0.8-r6)
Executing avahi-0.8-r6.pre-install
(84/891) Installing glib (2.74.6-r0)
(85/891) Installing avahi-glib (0.8-r6)
(86/891) Installing gsettings-desktop-schemas (43.0-r0)
(87/891) Installing nettle (3.8.1-r0)
(88/891) Installing p11-kit (0.24.1-r1)
(89/891) Installing libtasn1 (4.19.0-r0)
(90/891) Installing libunistring (1.1-r0)
(91/891) Installing gnutls (3.7.8-r3)
(92/891) Installing libproxy (0.4.18-r1)
(93/891) Installing glib-networking (2.74.0-r2)
(94/891) Installing libidn2 (2.3.4-r0)
(95/891) Installing libpsl (0.21.1-r1)
(129/891) Installing tiff (4.4.0-r3)
24% ██████████
(98/891) Installing phodav (3.0-r0)
(99/891) Installing chezdav (3.0-r0)
(100/891) Installing krb5-conf (1.0-r2)
(101/891) Installing keyutils-libs (1.6.3-r1)
(102/891) Installing libverto (0.3.2-r1)
(103/891) Installing krb5-libs (1.20.1-r0)
(104/891) Installing talloc (2.3.4-r0)
(105/891) Installing libwbclient (4.16.10-r0)
(106/891) Installing cifs-utils (7.0-r0)
(107/891) Installing lz4-libs (1.9.4-r1)
(108/891) Installing libarchive (3.6.1-r2)
(109/891) Installing rhash-libs (1.4.3-r1)
(110/891) Installing libuv (1.44.2-r0)
(111/891) Installing cmake (3.24.4-r0)
(112/891) Installing cmake-doc (3.24.4-r0)
(113/891) Installing libxau (1.0.10-r0)
(114/891) Installing libmd (1.0.4-r0)
(115/891) Installing libbsd (0.11.7-r0)
(116/891) Installing libxdmcp (1.1.4-r0)
(117/891) Installing libxcb (1.15-r0)
(118/891) Installing libx11 (1.8.4-r0)
(119/891) Installing libxext (1.3.5-r0)
(120/891) Installing libxrender (0.9.11-r0)
(121/891) Installing libpng (1.6.38-r0)
(122/891) Installing freetype (2.12.1-r0)
(123/891) Installing fontconfig (2.14.1-r0)
(124/891) Installing pixman (0.42.2-r0)
(125/891) Installing cairo (1.17.6-r3)
(126/891) Installing shared-mime-info (2.2-r2)
(127/891) Installing libjpeg-turbo (2.1.4-r0)
(128/891) Installing libwebp (1.2.4-r1)
(130/891) Installing gdk-pixbuf (2.42.10-r0)
(131/891) Installing libxft (2.3.7-r0)
(132/891) Installing fribidi (1.0.12-r0)
(133/891) Installing graphite2 (1.3.14-r2)
(134/891) Installing harfbuzz (5.3.1-r1)
(135/891) Installing pango (1.50.13-r0)
(136/891) Installing rsvg-convert (2.55.1-r0)
(137/891) Installing skalibs (2.12.0.1-r0)
(138/891) Installing utmps-libs (0.1.2.0-r1)
(139/891) Installing coreutils (9.1-r0)
(140/891) Installing cpio (2.13-r3)
(141/891) Installing popt (1.19-r0)
(142/891) Installing cryptsetup (2.5.0-r2)
(143/891) Installing cryptsetup-openrc (2.5.0-r2)
(144/891) Installing darkhttpd (1.14-r0)
Executing darkhttpd-1.14-r0.pre-install
(145/891) Installing darkhttpd-openrc (1.14-r0)
(146/891) Installing neon (0.32.4-r0)
(147/891) Installing davfs2 (1.6.1-r0)
Executing davfs2-1.6.1-r0.pre-install
(148/891) Installing dbus (1.14.4-r0)
Executing dbus-1.14.4-r0.pre-install
Executing dbus-1.14.4-r0.post-install
(149/891) Installing dbus-openrc (1.14.4-r0)
(150/891) Installing dbus-x11 (1.14.4-r0)
(151/891) Installing libaio (0.3.113-r0)
(152/891) Installing device-mapper-event-libs (2.03.17-r1)
(153/891) Installing lvm2-libs (2.03.17-r1)
(154/891) Installing device-mapper (2.03.17-r1)
(155/891) Installing dhcp (4.4.3_p1-r1)
Executing dhcp-4.4.3_p1-r1.pre-install
(156/891) Installing dhcp-openrc (4.4.3_p1-r1)
(157/891) Installing dhcp-server-vanilla (4.4.3_p1-r1)
(158/891) Installing diffutils (3.8-r1)
(159/891) Installing mandoc (1.14.6-r6)
(160/891) Installing mandoc-doc (1.14.6-r6)
(161/891) Installing man-pages (6.01-r0)
(162/891) Installing docs (0.2-r6)
(163/891) Installing btrfs-progs-doc (6.0.2-r0)
(164/891) Installing lzo-doc (2.10-r3)
(165/891) Installing harfbuzz-doc (5.3.1-r1)
(166/891) Installing lynx-doc (2.8.9_p1-r8)
(167/891) Installing libwebp-doc (1.2.4-r1)
(168/891) Installing less-doc (608-r1)
(169/891) Installing busybox-doc (1.35.0-r29)
(170/891) Installing alpine-doc (2.26-r1)
(171/891) Installing gdk-pixbuf-doc (2.42.10-r0)
(172/891) Installing libjpeg-turbo-doc (2.1.4-r0)
(173/891) Installing mpc1-doc (1.2.1-r1)
(174/891) Installing davfs2-doc (1.6.1-r0)
(175/891) Installing ncurses-doc (6.3_p20221119-r0)
(176/891) Installing gmp-doc (6.2.1-r2)
(177/891) Installing cifs-utils-doc (7.0-r0)
(178/891) Installing libx11-doc (1.8.4-r0)
(179/891) Installing attr-doc (2.5.1-r2)
(180/891) Installing libffi-doc (3.4.4-r0)
(181/891) Installing pango-doc (1.50.13-r0)
(182/891) Installing gzip-doc (1.12-r0)
(183/891) Installing popt-doc (1.19-r0)
(184/891) Installing libxcb-doc (1.15-r0)
(185/891) Installing abuild-doc (3.10.0-r0)
(186/891) Installing freetype-doc (2.12.1-r0)
(187/891) Installing mpdecimal-doc (2.5.1-r1)
(188/891) Installing phodav-doc (3.0-r0)
(189/891) Installing cairo-doc (1.17.6-r3)
(190/891) Installing p11-kit-doc (0.24.1-r1)
(191/891) Installing apk-tools-doc (2.12.10-r1)
(192/891) Installing gdbm-doc (1.23-r0)
(193/891) Installing ca-certificates-doc (20220614-r4)
(194/891) Installing libmd-doc (1.0.4-r0)
(195/891) Installing libarchive-doc (3.6.1-r2)
(196/891) Installing acct-doc (6.6.4-r1)
(197/891) Installing gcc-doc (12.2.1_git20220924-r4)
(198/891) Installing openssl-doc (3.0.8-r3)
(199/891) Installing fribidi-doc (1.0.12-r0)
(200/891) Installing pkgconf-doc (1.9.4-r0)
(201/891) Installing libxrender-doc (0.9.11-r0)
(202/891) Installing libaio-doc (0.3.113-r0)
(203/891) Installing openrc-doc (0.45.2-r7)
(204/891) Installing bc-doc (1.07.1-r2)
(205/891) Installing pcre2-doc (10.42-r0)
(206/891) Installing coreutils-doc (9.1-r0)
(207/891) Installing libxft-doc (2.3.7-r0)
(208/891) Installing dbus-doc (1.14.4-r0)
(209/891) Installing talloc-doc (2.3.4-r0)
(210/891) Installing tar-doc (1.34-r2)
(211/891) Installing libxau-doc (1.0.10-r0)
(212/891) Installing avahi-doc (0.8-r6)
(213/891) Installing cryptsetup-doc (2.5.0-r2)
(214/891) Installing libxml2-doc (2.10.3-r1)
(215/891) Installing patch-doc (2.7.6-r9)
(216/891) Installing neon-doc (0.32.4-r0)
(217/891) Installing mpfr4-doc (4.1.0-r0)
(218/891) Installing doas-doc (6.8.2-r3)
(219/891) Installing libxdmcp-doc (1.1.4-r0)
(220/891) Installing libbsd-doc (0.11.7-r0)
(221/891) Installing ifupdown-ng-doc (0.12.1-r1)
(222/891) Installing asciinema-doc (2.2.0-r0)
(223/891) Installing libpng-doc (1.6.38-r0)
(224/891) Installing make-doc (4.3-r1)
(225/891) Installing cpio-doc (2.13-r3)
(226/891) Installing gnutls-doc (3.7.8-r3)
(227/891) Installing tiff-doc (4.4.0-r3)
(228/891) Installing diffutils-doc (3.8-r1)
(229/891) Installing rsvg-convert-doc (2.55.1-r0)
(230/891) Installing fontconfig-doc (2.14.1-r0)
(231/891) Installing libpsl-doc (0.21.1-r1)
(232/891) Installing git-doc (2.38.4-r1)
(233/891) Installing skalibs-doc (2.12.0.1-r0)
(234/891) Installing libdaemon-doc (0.14-r3)
(235/891) Installing glib-doc (2.74.6-r0)
(236/891) Installing shared-mime-info-doc (2.2-r2)
(237/891) Installing libidn2-doc (2.3.4-r0)
(238/891) Installing lzip-doc (1.23-r0)
(239/891) Installing dhcp-doc (4.4.3_p1-r1)
(240/891) Installing pcre-doc (8.45-r2)
(241/891) Installing libtasn1-doc (4.19.0-r0)
(242/891) Installing libxext-doc (1.3.5-r0)
(243/891) Installing zlib-doc (1.2.13-r0)
(244/891) Installing readline-doc (8.2.0-r0)
(245/891) Installing curl-doc (7.88.1-r1)
(246/891) Installing python3-doc (3.10.10-r0)
(247/891) Installing bzip2-doc (1.0.8-r4)
(248/891) Installing file-doc (5.43-r0)
(249/891) Installing fakeroot-doc (1.29-r0)
(250/891) Installing libunistring-doc (1.1-r0)
(251/891) Installing json-c-doc (0.16-r2)
(252/891) Installing dos2unix (7.4.3-r1)
(253/891) Installing dos2unix-doc (7.4.3-r1)
(254/891) Installing dosfstools (4.2-r1)
(255/891) Installing dosfstools-doc (4.2-r1)
(256/891) Installing e2fsprogs-doc (1.46.6-r0)
(257/891) Installing easy-rsa (3.1.1-r0)
(258/891) Installing easy-rsa-doc (3.1.1-r0)
(259/891) Installing ed (1.18-r2)
(260/891) Installing ed-doc (1.18-r2)
(261/891) Installing efivar-libs (38-r1)
(262/891) Installing efibootmgr (18-r0)
(263/891) Installing efibootmgr-doc (18-r0)
(264/891) Installing tzdata (2023c-r0)
(265/891) Installing tzdata-doc (2023c-r0)
(266/891) Installing tcl (8.6.12-r1)
(267/891) Installing tcl-doc (8.6.12-r1)
(268/891) Installing expect (5.45.4-r3)
(269/891) Installing expect-doc (5.45.4-r3)
(270/891) Installing extra-cmake-modules (5.100.0-r0)
(271/891) Installing extra-cmake-modules-doc (5.100.0-r0)
(272/891) Installing f2fs-tools-libs (1.15.0-r0)
(273/891) Installing f2fs-tools (1.15.0-r0)
(274/891) Installing f2fs-tools-doc (1.15.0-r0)
(275/891) Installing sdl2 (2.26.3-r0)
(276/891) Installing sdl2-doc (2.26.3-r0)
(277/891) Installing svt-av1-libs (1.3.0-r0)
(278/891) Installing aom-libs (3.5.0-r0)
(279/891) Installing alsa-lib (1.2.8-r0)
(280/891) Installing libass (0.16.0-r1)
(281/891) Installing libdav1d (1.0.0-r2)
(282/891) Installing hwdata-pci (0.364-r0)
(283/891) Installing libpciaccess (0.17-r0)
(284/891) Installing libpciaccess-doc (0.17-r0)
(285/891) Installing libdrm (2.4.114-r0)
(286/891) Installing lame (3.100-r2)
(287/891) Installing lame-doc (3.100-r2)
(288/891) Installing opus (1.3.1-r1)
(289/891) Installing opus-doc (1.3.1-r1)
(290/891) Installing libasyncns (0.8-r1)
(291/891) Installing libasyncns-doc (0.8-r1)
(292/891) Installing libltdl (2.4.7-r1)
(293/891) Installing orc (0.4.33-r0)
(294/891) Installing libogg (1.3.5-r2)
(295/891) Installing libogg-doc (1.3.5-r2)
(296/891) Installing flac-libs (1.4.2-r0)
(297/891) Installing libvorbis (1.3.7-r0)
(298/891) Installing libvorbis-doc (1.3.7-r0)
(299/891) Installing libsndfile (1.1.0-r2)
(300/891) Installing libsndfile-doc (1.1.0-r2)
(301/891) Installing soxr (0.1.3-r3)
(302/891) Installing speexdsp (1.2.1-r0)
(303/891) Installing speexdsp-doc (1.2.1-r0)
(304/891) Installing tdb-libs (1.4.6-r0)
(305/891) Installing libpulse (16.1-r6)
(306/891) Installing cjson (1.7.15-r3)
(307/891) Installing mbedtls (2.28.3-r0)
(308/891) Installing librist (0.2.7-r0)
(309/891) Installing libsrt (1.5.1-r0)
(310/891) Installing libssh (0.10.4-r0)
(311/891) Installing libtheora (1.1.1-r16)
(312/891) Installing libtheora-doc (1.1.1-r16)
(313/891) Installing v4l-utils-libs (1.22.1-r2)
(314/891) Installing libxfixes (6.0.0-r0)
(315/891) Installing libxfixes-doc (6.0.0-r0)
(316/891) Installing wayland-libs-client (1.21.0-r1)
(317/891) Installing libva (2.16.0-r0)
(318/891) Installing libvdpau (1.5-r0)
(319/891) Installing vidstab (1.1.0-r2)
(320/891) Installing libvpx (1.12.0-r1)
(321/891) Installing x264-libs (0.164_git20220602-r0)
(322/891) Installing numactl (2.0.16-r1)
(323/891) Installing numactl-doc (2.0.16-r1)
(324/891) Installing x265-libs (3.5-r3)
(325/891) Installing xvidcore (1.3.7-r1)
(326/891) Installing libsodium (1.0.18-r2)
(327/891) Installing libzmq (4.3.4-r1)
(328/891) Installing ffmpeg-libs (5.1.3-r0)
(329/891) Installing ffmpeg (5.1.3-r0)
(330/891) Installing ffmpeg-doc (5.1.3-r0)
(331/891) Installing findutils (4.9.0-r3)
(332/891) Installing findutils-doc (4.9.0-r3)
(333/891) Installing libpcre2-32 (10.42-r0)
(334/891) Installing fish (3.5.1-r1)
Executing fish-3.5.1-r1.post-install
(335/891) Installing curl-fish-completion (7.88.1-r1)
(336/891) Installing fish-doc (3.5.1-r1)
(337/891) Installing libgpg-error (1.46-r1)
(338/891) Installing libgpg-error-doc (1.46-r1)
(339/891) Installing libgcrypt (1.10.1-r0)
(340/891) Installing libgcrypt-doc (1.10.1-r0)
(341/891) Installing fsarchiver (0.8.6-r1)
(342/891) Installing fsarchiver-doc (0.8.6-r1)
(343/891) Installing fuse-common (3.12.0-r0)
(344/891) Installing fuse-openrc (3.12.0-r0)
(345/891) Installing fuse (2.9.9-r2)
(346/891) Installing fuse-doc (2.9.9-r2)
(347/891) Installing fuse-exfat (1.3.0-r3)
(348/891) Installing fuse-exfat-doc (1.3.0-r3)
(349/891) Installing fuse-exfat-utils (1.3.0-r3)
(350/891) Installing gawk (5.1.1-r1)
(351/891) Installing gawk-doc (5.1.1-r1)
(352/891) Installing gifsicle (1.93-r1)
(353/891) Installing gifsicle-doc (1.93-r1)
(354/891) Installing gptfdisk (1.0.9-r2)
(355/891) Installing gptfdisk-doc (1.0.9-r2)
(356/891) Installing parted (3.5-r0)
(357/891) Installing parted-doc (3.5-r0)
(358/891) Installing libatasmart (0.19-r2)
(359/891) Installing libatasmart-doc (0.19-r2)
(360/891) Installing libbytesize (2.7-r1)
(361/891) Installing libbytesize-doc (2.7-r1)
(362/891) Installing dmraid (1.0.0_rc16-r1)
(363/891) Installing dmraid-doc (1.0.0_rc16-r1)
(364/891) Installing ndctl-libs (74-r0)
(365/891) Installing nspr (4.35-r0)
(366/891) Installing nss (3.85-r1)
(367/891) Installing libassuan (2.5.5-r1)
(368/891) Installing libassuan-doc (2.5.5-r1)
(369/891) Installing pinentry (1.2.1-r0)
Executing pinentry-1.2.1-r0.post-install
(370/891) Installing pinentry-doc (1.2.1-r0)
(371/891) Installing gnupg-gpgconf (2.2.40-r0)
(372/891) Installing gpg (2.2.40-r0)
(373/891) Installing npth (1.6-r2)
(374/891) Installing gpg-agent (2.2.40-r0)
(375/891) Installing libksba (1.6.3-r0)
(376/891) Installing libksba-doc (1.6.3-r0)
(377/891) Installing gpgsm (2.2.40-r0)
(378/891) Installing gpgme (1.18.0-r0)
(379/891) Installing gpgme-doc (1.18.0-r0)
(380/891) Installing volume_key (0.3.12-r3)
(381/891) Installing volume_key-doc (0.3.12-r3)
(382/891) Installing yaml (0.2.5-r0)
(383/891) Installing libblockdev (2.28-r0)
(384/891) Installing libgudev (237-r1)
(385/891) Installing polkit-libs (122-r0)
(386/891) Installing udisks2-libs (2.9.4-r1)
(387/891) Installing udisks2 (2.9.4-r1)
(388/891) Installing udisks2-doc (2.9.4-r1)
(389/891) Installing libatk-1.0 (2.46.0-r0)
(390/891) Installing sound-theme-freedesktop (0.8-r0)
(391/891) Installing libcanberra (0.30-r9)
(392/891) Installing libcanberra-doc (0.30-r9)
(393/891) Installing hicolor-icon-theme (0.17-r2)
(394/891) Installing gtk-update-icon-cache (3.24.36-r0)
(395/891) Installing libxcomposite (0.4.5-r1)
(396/891) Installing libxcomposite-doc (0.4.5-r1)
(397/891) Installing libxcursor (1.2.1-r1)
(398/891) Installing libxcursor-doc (1.2.1-r1)
(399/891) Installing libxdamage (1.1.5-r1)
(400/891) Installing libxi (1.8-r0)
(401/891) Installing libxi-doc (1.8-r0)
(402/891) Installing libxinerama (1.1.5-r0)
(403/891) Installing libxinerama-doc (1.1.5-r0)
(404/891) Installing libxrandr (1.5.3-r0)
(405/891) Installing libxrandr-doc (1.5.3-r0)
(406/891) Installing libxtst (1.2.4-r0)
(407/891) Installing libxtst-doc (1.2.4-r0)
(408/891) Installing at-spi2-core (2.46.0-r0)
(409/891) Installing at-spi2-core-doc (2.46.0-r0)
(410/891) Installing libatk-bridge-2.0 (2.46.0-r0)
(411/891) Installing cairo-gobject (1.17.6-r3)
(412/891) Installing cups-libs (2.4.2-r1)
(413/891) Installing libepoxy (1.5.10-r0)
(414/891) Installing wayland-libs-cursor (1.21.0-r1)
(415/891) Installing wayland-libs-egl (1.21.0-r1)
(416/891) Installing xkeyboard-config (2.37-r0)
(417/891) Installing xkeyboard-config-doc (2.37-r0)
(418/891) Installing libxkbcommon (1.4.1-r0)
(419/891) Installing xkbcli-doc (1.4.1-r0)
(420/891) Installing gtk+3.0 (3.24.36-r0)
Executing gtk+3.0-3.24.36-r0.post-install
(421/891) Installing gtk+3.0-doc (3.24.36-r0)
(422/891) Installing libcanberra-gtk3 (0.30-r9)
(423/891) Installing libdvdcss (1.4.3-r0)
(424/891) Installing libdvdcss-doc (1.4.3-r0)
(425/891) Installing libdvdread (6.1.3-r0)
(426/891) Installing libdvdread-doc (6.1.3-r0)
(427/891) Installing libelogind (246.10-r5)
(428/891) Installing libhandy1 (1.8.2-r0)
(429/891) Installing libnotify (0.8.1-r1)
(430/891) Installing cracklib-words (2.9.8-r0)
(431/891) Installing cracklib (2.9.8-r0)
(432/891) Installing linux-pam-doc (1.5.2-r1)
(433/891) Installing libpwquality (1.4.4-r3)
(434/891) Installing libpwquality-doc (1.4.4-r3)
(435/891) Installing libsecret (0.20.5-r0)
(436/891) Installing libsecret-doc (0.20.5-r0)
(437/891) Installing gnome-disk-utility (43.0-r0)
(438/891) Installing gnome-disk-utility-doc (43.0-r0)
(439/891) Installing grep (3.8-r1)
(440/891) Installing grep-doc (3.8-r1)
(441/891) Installing kmod-doc (30-r1)
(442/891) Installing mkinitfs-doc (3.7.0-r1)
(443/891) Installing grub-doc (2.06-r7)
(444/891) Installing grub-bash-completion (2.06-r7)
(445/891) Installing grub-efi (2.06-r7)
(446/891) Installing haveged (1.9.18-r0)
(447/891) Installing haveged-openrc (1.9.18-r0)
(448/891) Installing haveged-doc (1.9.18-r0)
(449/891) Installing hdparm (9.65-r0)
(450/891) Installing hdparm-doc (9.65-r0)
(451/891) Installing lcms2 (2.14-r0)
(452/891) Installing lcms2-doc (2.14-r0)
(453/891) Installing imagemagick-libs (7.1.0.62-r0)
(454/891) Installing jbig2dec (0.19-r1)
(455/891) Installing jbig2dec-doc (0.19-r1)
(456/891) Installing ghostscript (10.0.0-r0)
(457/891) Installing ghostscript-doc (10.0.0-r0)
(458/891) Installing libde265 (1.0.11-r1)
(459/891) Installing libheif (1.13.0-r0)
(460/891) Installing libheif-doc (1.13.0-r0)
(461/891) Installing libjxl (0.7.0-r0)
(462/891) Installing libjxl-doc (0.7.0-r0)
(463/891) Installing librsvg (2.55.1-r0)
(464/891) Installing librsvg-doc (2.55.1-r0)
(465/891) Installing imagemagick (7.1.0.62-r0)
(466/891) Installing imagemagick-doc (7.1.0.62-r0)
(467/891) Installing inetutils-telnet (2.4-r0)
(468/891) Installing inetutils-telnet-doc (2.4-r0)
(469/891) Installing libmnl (1.0.5-r0)
(470/891) Installing libnftnl (1.2.4-r0)
(471/891) Installing iptables (1.8.8-r2)
(472/891) Installing iptables-doc (1.8.8-r2)
(473/891) Installing iptables-openrc (1.8.8-r2)
(474/891) Installing ip6tables (1.8.8-r2)
(475/891) Installing ip6tables-openrc (1.8.8-r2)
(476/891) Installing libmaxminddb-libs (1.7.1-r0)
(477/891) Installing libmaxminddb (1.7.1-r0)
(478/891) Installing libmaxminddb-doc (1.7.1-r0)
(479/891) Installing ipcalc (1.0.1-r1)
(480/891) Installing ipcalc-doc (1.0.1-r1)
(481/891) Installing musl-fts (1.2.7-r3)
(482/891) Installing libelf (0.187-r2)
(483/891) Installing iproute2-minimal (6.0.0-r1)
(484/891) Installing ifupdown-ng-iproute2 (0.12.1-r1)
(485/891) Installing iproute2-tc (6.0.0-r1)
(486/891) Installing iproute2-ss (6.0.0-r1)
(487/891) Installing iproute2 (6.0.0-r1)
Executing iproute2-6.0.0-r1.post-install
(488/891) Installing iproute2-doc (6.0.0-r1)
(489/891) Installing iputils (20211215-r0)
(490/891) Installing jfsutils (1.1.15-r4)
(491/891) Installing jfsutils-doc (1.1.15-r4)
(492/891) Installing icu-data-full (72.1-r1)
(493/891) Installing icu-libs (72.1-r1)
(494/891) Installing libpcre2-16 (10.42-r0)
(495/891) Installing qt5-qtbase (5.15.6_git20221010-r0)
(496/891) Installing qt5-qtbase-doc (5.15.6_git20221010-r0)
(497/891) Installing libice (1.0.10-r1)
(498/891) Installing libice-doc (1.0.10-r1)
(499/891) Installing libsm (1.2.3-r1)
(500/891) Installing libsm-doc (1.2.3-r1)
(501/891) Installing libxt (1.2.1-r0)
(502/891) Installing libxt-doc (1.2.1-r0)
(503/891) Installing libxmu (1.1.4-r0)
(504/891) Installing libxmu-doc (1.1.4-r0)
(505/891) Installing xset (1.2.4-r1)
(506/891) Installing xset-doc (1.2.4-r1)
(507/891) Installing xprop (1.2.5-r1)
(508/891) Installing xprop-doc (1.2.5-r1)
(509/891) Installing xdg-utils (1.1.3-r4)
(510/891) Installing xdg-utils-doc (1.1.3-r4)
(511/891) Installing mesa (22.2.5-r1)
(512/891) Installing wayland-libs-server (1.21.0-r1)
(513/891) Installing libxxf86vm (1.1.5-r0)
(514/891) Installing libxxf86vm-doc (1.1.5-r0)
(515/891) Installing mesa-glapi (22.2.5-r1)
(516/891) Installing libxshmfence (1.3.1-r0)
(517/891) Installing mesa-gl (22.2.5-r1)
(518/891) Installing qt5-qtdeclarative (5.15.6_git20220908-r0)
(519/891) Installing qt5-qtwayland (5.15.6_git20220927-r1)
(520/891) Installing mesa-gbm (22.2.5-r1)
(521/891) Installing mesa-egl (22.2.5-r1)
(522/891) Installing libevdev (1.13.0-r0)
(523/891) Installing libevdev-doc (1.13.0-r0)
(524/891) Installing mtdev (1.1.6-r1)
(525/891) Installing libinput-libs (1.22.1-r0)
(526/891) Installing xcb-util-wm (0.4.2-r0)
(527/891) Installing xcb-util (0.4.0-r3)
(528/891) Installing xcb-util-image (0.4.1-r0)
(529/891) Installing xcb-util-keysyms (0.4.1-r0)
(530/891) Installing xcb-util-renderutil (0.3.10-r0)
(531/891) Installing libxkbcommon-x11 (1.4.1-r0)
(532/891) Installing qt5-qtbase-x11 (5.15.6_git20221010-r0)
(533/891) Installing qt5-qtsvg (5.15.6_git20220908-r0)
(534/891) Installing qt5-qtx11extras (5.15.6_git20220816-r0)
(535/891) Installing botan-libs (2.19.3-r0)
(536/891) Installing minizip (1.2.13-r0)
(537/891) Installing pcsc-lite-libs (1.9.9-r0)
(538/891) Installing libqrencode (4.1.1-r1)
(539/891) Installing libqrencode-doc (4.1.1-r1)
(540/891) Installing libusb (1.0.26-r0)
(541/891) Installing keepassxc (2.7.4-r0)
(542/891) Installing keepassxc-doc (2.7.4-r0)
(543/891) Installing lftp (4.9.2-r4)
(544/891) Installing lftp-doc (4.9.2-r4)
(545/891) Installing libarchive-tools (3.6.1-r2)
(546/891) Installing libcddb (1.3.2-r4)
(547/891) Installing libcdio (2.1.0-r1)
(548/891) Installing libcdio-doc (2.1.0-r1)
(549/891) Installing libcdio-tools (2.1.0-r1)
(550/891) Installing lvm2 (2.03.17-r1)
(551/891) Installing lvm2-openrc (2.03.17-r1)
(552/891) Installing lvm2-doc (2.03.17-r1)
(553/891) Installing boost1.80-iostreams (1.80.0-r3)
(554/891) Installing boost1.80-thread (1.80.0-r3)
(555/891) Installing fmt (9.1.0-r0)
(556/891) Installing fmt-doc (9.1.0-r0)
(557/891) Installing librados17 (17.2.5-r5)
(558/891) Installing librbd17 (17.2.5-r5)
(559/891) Installing libtirpc-conf (1.3.3-r0)
(560/891) Installing libtirpc (1.3.3-r0)
(561/891) Installing libtirpc-doc (1.3.3-r0)
(562/891) Installing libcap-ng-doc (0.8.3-r1)
(563/891) Installing libnl3 (3.7.0-r0)
(564/891) Installing libnl3-doc (3.7.0-r0)
(565/891) Installing yajl (2.1.0-r5)
(566/891) Installing libvirt-libs (8.9.0-r4)
(567/891) Installing libvirt (8.9.0-r4)
Executing libvirt-8.9.0-r4.post-install
(568/891) Installing libvirt-doc (8.9.0-r4)
(569/891) Installing kbd-misc (2.5.1-r3)
(570/891) Installing kbd (2.5.1-r3)
(571/891) Installing kbd-openrc (2.5.1-r3)
(572/891) Installing kbd-doc (2.5.1-r3)
(573/891) Installing pm-utils (1.4.1-r4)
(574/891) Installing pm-utils-doc (1.4.1-r4)
(575/891) Installing gnutls-utils (3.7.8-r3)
(576/891) Installing netcat-openbsd (1.130-r4)
(577/891) Installing netcat-openbsd-doc (1.130-r4)
(578/891) Installing libvirt-client (8.9.0-r4)
(579/891) Installing bridge-utils (1.7.1-r1)
(580/891) Installing bridge-utils-doc (1.7.1-r1)
(581/891) Installing dmidecode (3.4-r0)
(582/891) Installing dmidecode-doc (3.4-r0)
(583/891) Installing dnsmasq-common (2.87-r2)
(584/891) Installing dnsmasq-openrc (2.87-r2)
(585/891) Installing dnsmasq (2.87-r2)
Executing dnsmasq-2.87-r2.pre-install
(586/891) Installing dnsmasq-doc (2.87-r2)
(587/891) Installing libvirt-daemon (8.9.0-r4)
(588/891) Installing links (2.28-r0)
(589/891) Installing links-doc (2.28-r0)
(590/891) Installing mandoc-apropos (1.14.6-r6)
(591/891) Installing perl (5.36.0-r0)
(592/891) Installing perl-doc (5.36.0-r0)
(593/891) Installing perl-error (0.17029-r1)
(594/891) Installing perl-error-doc (0.17029-r1)
(595/891) Installing perl-git (2.38.4-r1)
(596/891) Installing git-perl (2.38.4-r1)
(597/891) Installing markdown (1.0.1-r3)
(598/891) Installing markdown-doc (1.0.1-r3)
(599/891) Installing gpm-libs (1.20.7-r2)
(600/891) Installing slang (2.3.3-r0)
(601/891) Installing slang-doc (2.3.3-r0)
(602/891) Installing libssh2 (1.10.0-r3)
(603/891) Installing libssh2-doc (1.10.0-r3)
(604/891) Installing mc (4.8.28-r0)
(605/891) Installing mc-doc (4.8.28-r0)
(606/891) Installing mlocate (0.26-r8)
Executing mlocate-0.26-r8.pre-install
(607/891) Installing mlocate-doc (0.26-r8)
(608/891) Installing mtools-doc (4.0.42-r0)
(609/891) Installing libidn (1.41-r0)
(610/891) Installing libidn-doc (1.41-r0)
(611/891) Installing libgsasl (2.2.0-r0)
(612/891) Installing libgsasl-doc (2.2.0-r0)
(613/891) Installing mutt (2.2.9-r0)
(614/891) Installing mutt-doc (2.2.9-r0)
(615/891) Installing nano-doc (7.0-r0)
(616/891) Installing ncdu (1.17-r1)
(617/891) Installing ncdu-doc (1.17-r1)
(618/891) Installing ncftp (3.2.6-r5)
(619/891) Installing ncftp-doc (3.2.6-r5)
(620/891) Installing neofetch (7.1.0-r1)
(621/891) Installing neofetch-doc (7.1.0-r1)
(622/891) Installing gpg-wks-server (2.2.40-r0)
(623/891) Installing gpgv (2.2.40-r0)
(624/891) Installing gnupg-dirmngr (2.2.40-r0)
(625/891) Installing gnupg-utils (2.2.40-r0)
(626/891) Installing gnupg-wks-client (2.2.40-r0)
(627/891) Installing gnupg (2.2.40-r0)
(628/891) Installing gnupg-doc (2.2.40-r0)
(629/891) Installing gmime (3.2.13-r0)
(630/891) Installing gmime-doc (3.2.13-r0)
(631/891) Installing libxapian (1.4.21-r0)
(632/891) Installing notmuch-libs (0.37-r1)
(633/891) Installing neomutt (20220429-r2)
(634/891) Installing neomutt-doc (20220429-r2)
(635/891) Installing mii-tool (2.10-r0)
(636/891) Installing net-tools (2.10-r0)
(637/891) Installing net-tools-doc (2.10-r0)
(638/891) Installing rpcbind (1.2.6-r1)
Executing rpcbind-1.2.6-r1.pre-install
(639/891) Installing rpcbind-doc (1.2.6-r1)
(640/891) Installing rpcbind-openrc (1.2.6-r1)
(641/891) Installing libnfsidmap (2.6.2-r0)
(642/891) Installing nfs-utils (2.6.2-r0)
(643/891) Installing nfs-utils-doc (2.6.2-r0)
(644/891) Installing nfs-utils-openrc (2.6.2-r0)
(645/891) Installing lua5.3-libs (5.3.6-r4)
(646/891) Installing libpcap (1.10.1-r1)
(647/891) Installing libpcap-doc (1.10.1-r1)
(648/891) Installing nmap (7.93-r0)
(649/891) Installing nmap-doc (7.93-r0)
(650/891) Installing nmap-nping (7.93-r0)
(651/891) Installing nmap-nselibs (7.93-r0)
(652/891) Installing nmap-scripts (7.93-r0)
(653/891) Installing nnn (4.6-r0)
(654/891) Installing nnn-doc (4.6-r0)
(655/891) Installing nnn-fish-completion (4.6-r0)
(656/891) Installing nnn-bash-completion (4.6-r0)
(657/891) Installing nnn-plugins (4.6-r0)
Executing nnn-plugins-4.6-r0.post-install
* To use nnn plugins you have to install them into your HOME, run: nnn-getplugs.
(658/891) Installing nnn-zsh-completion (4.6-r0)
(659/891) Installing c-ares (1.18.1-r1)
(660/891) Installing c-ares-doc (1.18.1-r1)
(661/891) Installing nodejs (18.14.2-r0)
(662/891) Installing nodejs-doc (18.14.2-r0)
(663/891) Installing npm (9.1.2-r0)
(664/891) Installing npm-doc (9.1.2-r0)
(665/891) Installing ntfs-3g-libs (2022.10.3-r0)
(666/891) Installing ntfs-3g (2022.10.3-r0)
(667/891) Installing ntfs-3g-doc (2022.10.3-r0)
(668/891) Installing libedit-doc (20221030.3.1-r0)
(669/891) Installing openssh-doc (9.1_p1-r2)
(670/891) Installing p7zip (17.04-r3)
(671/891) Installing p7zip-doc (17.04-r3)
(672/891) Installing pandoc (2.19.2-r0)
(673/891) Installing pandoc-doc (2.19.2-r0)
(674/891) Installing tree (2.0.4-r0)
(675/891) Installing tree-doc (2.0.4-r0)
(676/891) Installing pass (1.7.4-r1)
(677/891) Installing pass-doc (1.7.4-r1)
(678/891) Installing pass-fish-completion (1.7.4-r1)
(679/891) Installing oath-toolkit-liboath (2.6.7-r2)
(680/891) Installing oath-toolkit-oathtool (2.6.7-r2)
(681/891) Installing pass-otp (1.2.0-r0)
(682/891) Installing pass-otp-doc (1.2.0-r0)
(683/891) Installing pciutils-libs (3.9.0-r0)
(684/891) Installing pciutils (3.9.0-r0)
(685/891) Installing pciutils-doc (3.9.0-r0)
(686/891) Installing perl-digest-sha3 (1.05-r0)
(687/891) Installing perl-digest-sha3-doc (1.05-r0)
(688/891) Installing perl-net-ssleay (1.92-r2)
(689/891) Installing perl-net-ssleay-doc (1.92-r2)
(690/891) Installing polkit-common (122-r0)
Executing polkit-common-122-r0.pre-install
(691/891) Installing duktape (2.7.0-r0)
(692/891) Installing polkit (122-r0)
(693/891) Installing polkit-openrc (122-r0)
(694/891) Installing polkit-doc (122-r0)
(695/891) Installing libproc (3.3.17-r2)
(696/891) Installing procps (3.3.17-r2)
(697/891) Installing procps-doc (3.3.17-r2)
(698/891) Installing progress (0.16-r0)
(699/891) Installing progress-doc (0.16-r0)
(700/891) Installing psmisc (23.5-r0)
(701/891) Installing psmisc-doc (23.5-r0)
(702/891) Installing pssh (2.3.4-r2)
(703/891) Installing pssh-doc (2.3.4-r2)
(704/891) Installing pv (1.6.20-r1)
(705/891) Installing pv-doc (1.6.20-r1)
(706/891) Installing pwgen (2.08-r2)
(707/891) Installing pwgen-doc (2.08-r2)
(708/891) Installing py3-six (1.16.0-r3)
(709/891) Installing py3-retrying (1.3.3-r3)
(710/891) Installing py3-parsing (3.0.9-r0)
(711/891) Installing py3-packaging (21.3-r2)
(712/891) Installing py3-setuptools (65.6.0-r0)
(713/891) Installing py3-pip (22.3.1-r1)
(714/891) Installing py3-pip-doc (22.3.1-r1)
(715/891) Installing liburing (2.3-r0)
(716/891) Installing liburing-doc (2.3-r0)
(717/891) Installing qemu-guest-agent (7.1.0-r7)
(718/891) Installing qt5-qtwebsockets (5.15.6_git20220907-r0)
(719/891) Installing qt5-qtwebglplugin (5.15.6_git20220816-r0)
(720/891) Installing qt5-qtwebglplugin-doc (5.15.6_git20220816-r0)
(721/891) Installing rlwrap (0.46.1-r0)
(722/891) Installing rlwrap-doc (0.46.1-r0)
(723/891) Installing jitterentropy-library (3.3.1-r0)
(724/891) Installing jitterentropy-library-doc (3.3.1-r0)
(725/891) Installing rng-tools (6.15-r1)
(726/891) Installing rng-tools-openrc (6.15-r1)
(727/891) Installing rng-tools-doc (6.15-r1)
(728/891) Installing lua5.4-libs (5.4.4-r6)
(729/891) Installing rpm (4.18.0-r1)
(730/891) Installing rpm-doc (4.18.0-r1)
(731/891) Installing samba-common (4.16.10-r0)
(732/891) Installing tevent (0.13.0-r0)
(733/891) Installing samba-util-libs (4.16.10-r0)
(734/891) Installing jansson (2.14-r0)
(735/891) Installing lmdb (0.9.29-r2)
(736/891) Installing lmdb-doc (0.9.29-r2)
(737/891) Installing ldb (2.5.3-r0)
(738/891) Installing ldb-doc (2.5.3-r0)
(739/891) Installing samba-libs (4.16.10-r0)
(740/891) Installing samba-common-server-libs (4.16.10-r0)
(741/891) Installing samba-client-libs (4.16.10-r0)
(742/891) Installing samba-server (4.16.10-r0)
(743/891) Installing samba-server-openrc (4.16.10-r0)
(744/891) Installing libsmbclient (4.16.10-r0)
(745/891) Installing samba-client (4.16.10-r0)
(746/891) Installing samba-common-tools (4.16.10-r0)
(747/891) Installing samba (4.16.10-r0)
(748/891) Installing samba-doc (4.16.10-r0)
(749/891) Installing sed (4.9-r0)
(750/891) Installing sed-doc (4.9-r0)
(751/891) Installing sgdisk (1.0.9-r2)
(752/891) Installing shadow (4.13-r0)
(753/891) Installing shadow-doc (4.13-r0)
(754/891) Installing xz (5.2.9-r0)
(755/891) Installing xz-doc (5.2.9-r0)
(756/891) Installing sharutils (4.15.2-r2)
(757/891) Installing sharutils-doc (4.15.2-r2)
(758/891) Installing socat (1.7.4.4-r0)
(759/891) Installing socat-doc (1.7.4.4-r0)
(760/891) Installing spice (0.15.1-r0)
(761/891) Installing gstreamer (1.20.6-r0)
(762/891) Installing libcanberra-gstreamer (0.30-r9)
(763/891) Installing gstreamer-doc (1.20.6-r0)
(764/891) Installing libxv (1.0.11-r3)
(765/891) Installing libxv-doc (1.0.11-r3)
(766/891) Installing cdparanoia-libs (10.2-r11)
(767/891) Installing graphene (1.10.8-r1)
(768/891) Installing gst-plugins-base (1.20.6-r0)
(769/891) Installing gst-plugins-base-doc (1.20.6-r0)
(770/891) Installing json-glib (1.6.6-r1)
(771/891) Installing usbredir (0.12.0-r0)
(772/891) Installing usbredir-doc (0.12.0-r0)
(773/891) Installing spice-glib (0.41-r1)
(774/891) Installing spice-gtk (0.41-r1)
(775/891) Installing spice-gtk-doc (0.41-r1)
(776/891) Installing spice-vdagent (0.22.1-r1)
(777/891) Installing spice-vdagent-openrc (0.22.1-r1)
(778/891) Installing spice-vdagent-doc (0.22.1-r1)
(779/891) Installing fuse3-libs (3.12.0-r0)
(780/891) Installing fuse3 (3.12.0-r0)
(781/891) Installing fuse3-doc (3.12.0-r0)
(782/891) Installing sshfs (3.7.3-r0)
(783/891) Installing sshfs-doc (3.7.3-r0)
(784/891) Installing sshpass (1.09-r1)
(785/891) Installing sshpass-doc (1.09-r1)
(786/891) Installing judy (1.0.5-r1)
(787/891) Installing judy-doc (1.0.5-r1)
(788/891) Installing liblksctp (1.0.19-r1)
(789/891) Installing stress-ng (0.14.00-r0)
(790/891) Installing stress-ng-doc (0.14.00-r0)
(791/891) Installing sudo (1.9.12_p2-r1)
(792/891) Installing sudo-doc (1.9.12_p2-r1)
(793/891) Installing syslinux-doc (6.04_pre1-r11)
(794/891) Installing texinfo (7.0.1-r0)
(795/891) Installing texinfo-doc (7.0.1-r0)
(796/891) Installing udisks2-bash-completion (2.9.4-r1)
(797/891) Installing unzip (6.0-r13)
(798/891) Installing unzip-doc (6.0-r13)
(799/891) Installing hwdata-usb (0.364-r0)
(800/891) Installing usbutils (015-r0)
(801/891) Installing usbutils-doc (015-r0)
(802/891) Installing libeconf-doc (0.4.7-r0)
(803/891) Installing util-linux-doc (2.38.1-r1)
(804/891) Installing util-linux-bash-completion (2.38.1-r1)
(805/891) Installing util-linux-login (2.38.1-r1)
(806/891) Installing util-linux-login-doc (2.38.1-r1)
(807/891) Installing s6-ipcserver (2.11.1.2-r0)
(808/891) Installing utmps (0.1.2.0-r1)
Executing utmps-0.1.2.0-r1.pre-install
(809/891) Installing utmps-doc (0.1.2.0-r1)
(810/891) Installing utmps-openrc (0.1.2.0-r1)
(811/891) Installing vifm (0.12.1-r1)
(812/891) Installing vifm-doc (0.12.1-r1)
(813/891) Installing vifm-fish-completion (0.12.1-r1)
(814/891) Installing vifm-bash-completion (0.12.1-r1)
(815/891) Installing vifm-zsh-completion (0.12.1-r1)
(816/891) Installing xxd (9.0.0999-r0)
(817/891) Installing vim (9.0.0999-r0)
(818/891) Installing vim-doc (9.0.0999-r0)
(819/891) Installing libvirt-glib (4.0.0-r0)
(820/891) Installing py3-libxml2 (2.10.3-r1)
(821/891) Installing py3-libvirt (8.9.0-r0)
(822/891) Installing gobject-introspection (1.74.0-r1)
(823/891) Installing gobject-introspection-doc (1.74.0-r1)
(824/891) Installing py3-gobject3 (3.42.2-r0)
(825/891) Installing py3-certifi (2022.12.7-r0)
(826/891) Installing py3-charset-normalizer (3.0.1-r0)
(827/891) Installing py3-idna (3.4-r2)
(828/891) Installing py3-urllib3 (1.26.12-r0)
(829/891) Installing py3-requests (2.28.1-r1)
(830/891) Installing hwdata-pnp (0.364-r0)
(831/891) Installing hwdata-net (0.364-r0)
(832/891) Installing hwdata (0.364-r0)
(833/891) Installing osinfo-db (20221018-r0)
(834/891) Installing libxslt (1.1.37-r1)
(835/891) Installing libxslt-doc (1.1.37-r1)
(836/891) Installing libosinfo (1.10.0-r2)
(837/891) Installing libosinfo-doc (1.10.0-r2)
(838/891) Installing virt-manager-common (4.1.0-r0)
(839/891) Installing vte3 (0.70.2-r0)
(840/891) Installing py3-cairo (1.21.0-r1)
(841/891) Installing gtk-vnc (1.3.1-r0)
(842/891) Installing gtk-vnc-doc (1.3.1-r0)
(843/891) Installing gtksourceview4 (4.8.4-r0)
(844/891) Installing qemu-img (7.1.0-r7)
(845/891) Installing virt-manager (4.1.0-r0)
(846/891) Installing virt-manager-doc (4.1.0-r0)
(847/891) Installing vsftpd (3.0.5-r2)
Executing vsftpd-3.0.5-r2.pre-install
(848/891) Installing vsftpd-doc (3.0.5-r2)
(849/891) Installing vsftpd-openrc (3.0.5-r2)
(850/891) Installing wget (1.21.3-r2)
(851/891) Installing wget-doc (1.21.3-r2)
(852/891) Installing whois (5.5.14-r0)
(853/891) Installing whois-doc (5.5.14-r0)
(854/891) Installing qt5-qtbase-sqlite (5.15.6_git20221010-r0)
(855/891) Installing llvm15-libs (15.0.7-r0)
(856/891) Installing clang15-libclang (15.0.7-r0)
(857/891) Installing qt5-qttools (5.15.6_git20220907-r1)
(858/891) Installing xca (2.4.0-r2)
(859/891) Installing xca-doc (2.4.0-r2)
(860/891) Installing xf86-video-qxl (0.1.5-r8)
(861/891) Installing xf86-video-qxl-doc (0.1.5-r8)
(862/891) Installing inih (56-r0)
(863/891) Installing userspace-rcu (0.13.2-r0)
(864/891) Installing userspace-rcu-doc (0.13.2-r0)
(865/891) Installing xfsprogs (6.0.0-r0)
(866/891) Installing xfsprogs-doc (6.0.0-r0)
(867/891) Installing libburn (1.5.4-r2)
(868/891) Installing libburn-doc (1.5.4-r2)
(869/891) Installing libisofs (1.5.4-r2)
(870/891) Installing libisoburn (1.5.4-r2)
(871/891) Installing libisoburn-doc (1.5.4-r2)
(872/891) Installing xorriso (1.5.4-r2)
(873/891) Installing py3-xdg (0.28-r0)
(874/891) Installing zim (0.75.1-r0)
(875/891) Installing zim-doc (0.75.1-r0)
(876/891) Installing zip (3.0-r10)
(877/891) Installing zip-doc (3.0-r10)
(878/891) Installing zsh (5.9-r0)
Executing zsh-5.9-r0.post-install
(879/891) Installing gcc-zsh-completion (5.9-r0)
(880/891) Installing pass-zsh-completion (1.7.4-r1)
(881/891) Installing apk-tools-zsh-completion (2.12.10-r1)
(882/891) Installing openrc-zsh-completion (0.45.2-r7)
(883/891) Installing zsh-pcre (5.9-r0)
(884/891) Installing py3-pip-zsh-completion (22.3.1-r1)
(885/891) Installing imagemagick-zsh-completion (5.9-r0)
(886/891) Installing git-zsh-completion (5.9-r0)
(887/891) Installing zsh-doc (5.9-r0)
(888/891) Installing lynx-zsh-completion (5.9-r0)
(889/891) Installing curl-zsh-completion (7.88.1-r1)
(890/891) Installing zstd (1.5.5-r0)
(891/891) Installing zstd-doc (1.5.5-r0)
Executing busybox-1.35.0-r29.trigger
Executing ca-certificates-20220614-r4.trigger
Executing glib-2.74.6-r0.trigger
Executing fontconfig-2.14.1-r0.trigger
Executing shared-mime-info-2.2-r2.trigger
Executing gdk-pixbuf-2.42.10-r0.trigger
Executing dbus-1.14.4-r0.trigger
Executing gtk-update-icon-cache-3.24.36-r0.trigger
Executing cracklib-2.9.8-r0.trigger
Executing mandoc-apropos-1.14.6-r6.trigger
OK: 1833 MiB in 983 packages
localhost:~#
localhost:~#
localhost:~#
localhost:~#
localhost:~# date
Thu Apr 6 19:06:14 UTC 2023
localhost:~#
localhost:~# echo $SHELL
/bin/ash
localhost:~# chsh -s /bin/bash root
Password:
localhost:~# chsh -s /bin/bash test1

localhost:~# grep wheel /etc/sudoers
## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL:ALL) ALL
# %wheel ALL=(ALL:ALL) NOPASSWD: ALL
localhost:~#
localhost:~# reboot


localhost login:
Welcome to Alpine Linux 3.17
Kernel 5.15.105-0-virt on an x86_64 (/dev/ttyS0)

localhost login:
localhost login: test1
Password:
Welcome to Alpine!

The Alpine Wiki contains a large amount of how-to guides and general
information about administrating Alpine systems.
See <https://wiki.alpinelinux.org/>.

You can setup the system with the command: setup-alpine

You may change this message by editing /etc/motd.

localhost:~$
localhost:~$ links -dump http://10.0.2.2:60676
/

test-disk1-30mb.ext 31457280
vmtest1.raw 4293918720

----------------------------------------------------------------------

Generated by darkhttpd/1.14 on Fri, 07 Apr 2023 03:31:22 GMT
localhost:~$ exit
logout

Welcome to Alpine Linux 3.17
Kernel 5.15.105-0-virt on an x86_64 (/dev/ttyS0)

localhost login: [23475.165387] reboot: Power down
~ $


Termux session for Termux-Command-Line
Welcome to Termux!

Community forum: https://termux.com/community
Gitter chat: https://gitter.im/termux/termux
IRC channel: #termux on libera.chat

Working with packages:

* Search packages: pkg search
* Install a package: pkg install
* Upgrade packages: pkg upgrade

Subscribing to additional repositories:

* Root: pkg install root-repo
* X11: pkg install x11-repo

Report issues at https://termux.com/issues

~ $ SOCKET_FILENAME=socket.PAym3eQVJq
~ $ echo SOCKET_FILENAME
SOCKET_FILENAME
~ $ echo $SOCKET_FILENAME
socket.PAym3eQVJq
~ $
~ $ DIRECTORY_NAME_FROM_mktemp=/storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C
~ $
~ $ echo $DIRECTORY_NAME_FROM_mktemp
/storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C
~ $
~ $ echo 'info usernet' | nc -UN $SOCKET_FILENAME
QEMU 7.2.0 monitor - type 'help' for more information
(qemu) info usernet
Hub -1 (net0):
Protocol[State] FD Source Address Port Dest. Address Port RecvQ SendQ
TCP[HOST_FORWARD] 15 * 15022 10.0.2.15 22 0 0
TCP[HOST_FORWARD] 14 * 15081 10.0.2.15 15081 0 0
(qemu) ~ $
~ $
~ $ echo 'info block' | nc -UN $SOCKET_FILENAME
QEMU 7.2.0 monitor - type 'help' for more information
(qemu) info block
drive1 (#block103): /storage/emulated/0/Download/alpine-virt-3.17.3-x86_64.iso (raw, read-only)
Attached to: /machine/peripheral/virtblk1/virtio-backend
Cache mode: writeback

drive2 (#block366): /storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C/vmtest1.raw (raw)
Attached to: /machine/peripheral/virtblk2/virtio-backend
Cache mode: writeback

drive3 (#block561): /storage/emulated/0/Download/50gb.ext (raw, read-only)
Attached to: /machine/peripheral/virtblk3/virtio-backend
Cache mode: writeback

ide1-cd0: [not inserted]
Attached to: /machine/unattached/device[25]
Removable device: not locked, tray closed

floppy0: [not inserted]
Attached to: /machine/unattached/device[19]
Removable device: not locked, tray closed

sd0: [not inserted]
Removable device: not locked, tray closed
(qemu) ~ $
~ $
~ $ echo "drive_add 0 if=none,file=$DIRECTORY_NAME_FROM_mktemp/test-disk1-30mb.ext,format=raw,id=disk1" | nc -UN $SOCKET_FILENAME
QEMU 7.2.0 monitor - type 'help' for more information
drive_add 0 if=none,file=/storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C/test-disk1-30mb.ext,format=raw,id=disk1
OK
~ $
~ $ echo 'device_add virtio-blk-pci,drive=disk1,id=virt1' | nc -UN $SOCKET_FILENAME
QEMU 7.2.0 monitor - type 'help' for more information
(qemu) device_add virtio-blk-pci,drive=disk1,id=virt1
(qemu) ~ $
~ $
~ $ echo 'info block' | nc -UN $SOCKET_FILENAME
QEMU 7.2.0 monitor - type 'help' for more information
(qemu) info block
drive1 (#block103): /storage/emulated/0/Download/alpine-virt-3.17.3-x86_64.iso (raw, read-only)
Attached to: /machine/peripheral/virtblk1/virtio-backend
Cache mode: writeback

drive2 (#block366): /storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C/vmtest1.raw (raw)
Attached to: /machine/peripheral/virtblk2/virtio-backend
Cache mode: writeback

drive3 (#block561): /storage/emulated/0/Download/50gb.ext (raw, read-only)
Attached to: /machine/peripheral/virtblk3/virtio-backend
Cache mode: writeback

ide1-cd0: [not inserted]
Attached to: /machine/unattached/device[25]
Removable device: not locked, tray closed

floppy0: [not inserted]
Attached to: /machine/unattached/device[19]
Removable device: not locked, tray closed

sd0: [not inserted]
Removable device: not locked, tray closed

disk1 (#block784): /storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C/test-disk1-30mb.ext (raw)
Attached to: /machine/peripheral/virt1/virtio-backend
Cache mode: writeback
(qemu) ~ $
~ $ echo 'info block' | nc -UN $SOCKET_FILENAME
QEMU 7.2.0 monitor - type 'help' for more information
(qemu) info block
drive1 (#block103): /storage/emulated/0/Download/alpine-virt-3.17.3-x86_64.iso (raw, read-only)
Attached to: /machine/peripheral/virtblk1/virtio-backend
Cache mode: writeback

drive2 (#block366): /storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C/vmtest1.raw (raw)
Attached to: /machine/peripheral/virtblk2/virtio-backend
Cache mode: writeback

drive3 (#block561): /storage/emulated/0/Download/50gb.ext (raw, read-only)
Attached to: /machine/peripheral/virtblk3/virtio-backend
Cache mode: writeback

ide1-cd0: [not inserted]
Attached to: /machine/unattached/device[25]
Removable device: not locked, tray closed

floppy0: [not inserted]
Attached to: /machine/unattached/device[19]
Removable device: not locked, tray closed

sd0: [not inserted]
Removable device: not locked, tray closed

disk1 (#block784): /storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C/test-disk1-30mb.ext (raw)
Attached to: /machine/peripheral/virt1/virtio-backend
Cache mode: writeback
(qemu) ~ $
~ $
~ $
~ $ ssh test1@127.0.0.1 -p 15022
The authenticity of host '[127.0.0.1]:15022 ([127.0.0.1]:15022)' can't be established.
ED25519 key fingerprint is SHA256:ZxsjVRBv7OGgSfMyqQaRTGK9dZVM5nAS9W0V5B71Sxs.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[127.0.0.1]:15022' (ED25519) to the list of known hosts.
test1@127.0.0.1's password:
Welcome to Alpine!

The Alpine Wiki contains a large amount of how-to guides and general
information about administrating Alpine systems.
See <https://wiki.alpinelinux.org/>.

You can setup the system with the command: setup-alpine

You may change this message by editing /etc/motd.

localhost:~$
localhost:~$ blkid
/dev/vdb1: UUID="aba8642b-9069-4332-84b5-68fe37e6c66f" BLOCK_SIZE="1024" TYPE="ext4" PARTUUID="e39d887c-01"
/dev/vda1: BLOCK_SIZE="2048" UUID="2022-11-22-03-30-35-00" LABEL="alpine-virt 3.17.3 x86_64" TYPE="iso9660" PTUUID="77b851c3" PTTYPE="dos" PARTUUID="77b851c3-01"
/dev/vdb2: UUID="de1b4727-fa3d-4f50-8491-7c5d043a00aa" TYPE="swap" PARTUUID="e39d887c-02"
/dev/vda2: SEC_TYPE="msdos" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="77b851c3-02"
/dev/vdc: LABEL="50gb" UUID="ed64f636-1b13-4695-ad66-82236229d6e4" BLOCK_SIZE="4096" TYPE="ext4"
/dev/vdb3: UUID="dc2ae764-3fe0-45f5-868d-3b59ee7a5a08" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="e39d887c-03"
/dev/vdd: LABEL="disk1-30mb" UUID="00781ac1-ab37-4b36-abac-5ef4b9f4c990" BLOCK_SIZE="1024" TYPE="ext4"
localhost:~$
localhost:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
fd0 2:0 1 0B 0 disk
sr0 11:0 1 1024M 0 rom
vda 253:0 0 49M 1 disk
├─vda1 253:1 0 49M 1 part
└─vda2 253:2 0 1.4M 1 part
vdb 253:16 0 4G 0 disk
├─vdb1 253:17 0 300M 0 part /boot
├─vdb2 253:18 0 1023M 0 part [SWAP]
└─vdb3 253:19 0 2.7G 0 part /
vdc 253:32 0 50G 1 disk /mnt/repo
vdd 253:48 0 30M 0 disk
localhost:~$
localhost:~$
localhost:~$ blkid|grep disk1-30mb
/dev/vdd: LABEL="disk1-30mb" UUID="00781ac1-ab37-4b36-abac-5ef4b9f4c990" BLOCK_SIZE="1024" TYPE="ext4"
localhost:~$
localhost:~$ sudo mkdir /mnt/disk1
[sudo] password for test1:
localhost:~$
localhost:~$
localhost:~$ sudo mount LABEL=disk1-30mb /mnt/disk1
localhost:~$
localhost:~$ df -aTh
Filesystem Type Size Used Avail Use% Mounted on
sysfs sysfs 0 0 0 - /sys
devtmpfs devtmpfs 10M 0 10M 0% /dev
proc proc 0 0 0 - /proc
devpts devpts 0 0 0 - /dev/pts
shm tmpfs 492M 0 492M 0% /dev/shm
/dev/vdb3 ext4 2.6G 1.8G 672M 74% /
tmpfs tmpfs 197M 132K 197M 1% /run
mqueue mqueue 0 0 0 - /dev/mqueue
securityfs securityfs 0 0 0 - /sys/kernel/security
debugfs debugfs 0 0 0 - /sys/kernel/debupn
pstore pstore 0 0 0 - /sys/fs/pstore
tracefs - - - - - /sys/kernel/debug/tracing
/dev/vdb1 ext4 272M 18M 235M 8% /boot
tmpfs tmpfs 492M 0 492M 0% /tmp
/dev/vdc ext4 49G 45G 4.8G 91% /mnt/repo
/dev/vdd ext4 27M 46K 26M 1% /mnt/disk1
localhost:~$ sudo chmod a+rwx,o+t /mnt/disk1
localhost:~$ stat /mnt/disk1|grep 'rwx'
Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root)
localhost:~$
localhost:~$ stat /tmp|grep 'rwx'
Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root)
localhost:~$
localhost:~$
localhost:~$ touch /mnt/disk1/file1-made-on-server
localhost:~$
localhost:~$ touch /mnt/disk1/file2-made-on-server
localhost:~$
localhost:~$ ls -laR /mnt/disk1
/mnt/disk1:
total 17
drwxrwxrwt 3 root root 1024 Apr 7 13:01 .
drwxr-xr-x 4 root root 4096 Apr 7 05:33 ..
-rw-r--r-- 1 test1 test1 0 Apr 7 13:01 file1-made-on-server
-rw-r--r-- 1 test1 test1 0 Apr 7 13:01 file2-made-on-server
drwx------ 2 root root 12288 Apr 7 11:42 lost+found
ls: cannot open directory '/mnt/disk1/lost+found': Permission denied
localhost:~$
localhost:~$ pwd
/home/test1
localhost:~$
localhost:~$ logout
Connection to 127.0.0.1 closed.
~ $
~ $ pwd
/data/data/com.termux/files/home
~ $
~ $ whereis termux-info
termux-info: /data/data/com.termux/files/usr/bin/termux-info
~ $
~ $ sftp -P 15022 test1@127.0.0.1
test1@127.0.0.1's password:
Connected to 127.0.0.1.
sftp>
sftp> cd /mnt/disk1
sftp> ls -l
-rw-r--r-- ? test1 test1 0 Apr 7 09:01 file1-made-on-server
-rw-r--r-- ? test1 test1 0 Apr 7 09:01 file2-made-on-server
drwx------ ? root root 12288 Apr 7 07:42 lost+found
sftp> put /data/data/com.termux/files/usr/bin/termux-info
Uploading /data/data/com.termux/files/usr/bin/termux-info to /mnt/disk1/termux-info
termux-info 100% 3270 24.5KB/s 00:00
sftp> ls -l
-rw-r--r-- ? test1 test1 0 Apr 7 09:01 file1-made-on-server
-rw-r--r-- ? test1 test1 0 Apr 7 09:01 file2-made-on-server
drwx------ ? root root 12288 Apr 7 07:42 lost+found
-rwx------ ? test1 test1 3270 Apr 7 09:11 termux-info
sftp>
sftp> quit
~ $
~ $
~ $
~ $
~ $ export TERMUX_RANDOM_PORT=$(shuf --input-range=49152-65535 --head-count=1 --random-source=/dev/urandom --repeat)
~ $
~ $ echo $TERMUX_RANDOM_PORT
60676
~ $ darkhttpd $DIRECTORY_NAME_FROM_mktemp --port $TERMUX_RANDOM_PORT
darkhttpd/1.14, copyright (c) 2003-2022 Emil Mikulic.
listening on: http://0.0.0.0:60676/
127.0.0.1 - - [06/Apr/2023:23:31:22 -0400] "GET / HTTP/1.1" 200 537 "" "Links (2.28; Linux 5.15.105-0-virt x86_64; GNU C 12.2.1; dump)"
^C~ $
~ $
~ $
~ $ ssh test1@127.0.0.1 -p 15022
test1@127.0.0.1's password:
Welcome to Alpine!

The Alpine Wiki contains a large amount of how-to guides and general
information about administrating Alpine systems.
See <https://wiki.alpinelinux.org/>.

You can setup the system with the command: setup-alpine

You may change this message by editing /etc/motd.

localhost:~$
localhost:~$ sudo umount /mnt/disk1
[sudo] password for test1:
localhost:~$
localhost:~$ exit
logout
Connection to 127.0.0.1 closed.
~ $
~ $ echo 'info block' | nc -UN $SOCKET_FILENAME
QEMU 7.2.0 monitor - type 'help' for more information
(qemu) info block
drive1 (#block103): /storage/emulated/0/Download/alpine-virt-3.17.3-x86_64.iso (raw, read-only)
Attached to: /machine/peripheral/virtblk1/virtio-backend
Cache mode: writeback

drive2 (#block366): /storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C/vmtest1.raw (raw)
Attached to: /machine/peripheral/virtblk2/virtio-backend
Cache mode: writeback

drive3 (#block561): /storage/emulated/0/Download/50gb.ext (raw, read-only)
Attached to: /machine/peripheral/virtblk3/virtio-backend
Cache mode: writeback

ide1-cd0: [not inserted]
Attached to: /machine/unattached/device[25]
Removable device: not locked, tray closed

floppy0: [not inserted]
Attached to: /machine/unattached/device[19]
Removable device: not locked, tray closed

sd0: [not inserted]
Removable device: not locked, tray closed

disk1 (#block784): /storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C/test-disk1-30mb.ext (raw)
Attached to: /machine/peripheral/virt1/virtio-backend
Cache mode: writeback
(qemu) ~ $
~ $ echo 'device_del virt1' | nc -UN $SOCKET_FILENAME
QEMU 7.2.0 monitor - type 'help' for more information
(qemu) device_del virt1
~ $
~ $ echo 'info block' | nc -UN $SOCKET_FILENAME
QEMU 7.2.0 monitor - type 'help' for more information
(qemu) info block
drive1 (#block103): /storage/emulated/0/Download/alpine-virt-3.17.3-x86_64.iso (raw, read-only)
Attached to: /machine/peripheral/virtblk1/virtio-backend
Cache mode: writeback

drive2 (#block366): /storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C/vmtest1.raw (raw)
Attached to: /machine/peripheral/virtblk2/virtio-backend
Cache mode: writeback

drive3 (#block561): /storage/emulated/0/Download/50gb.ext (raw, read-only)
Attached to: /machine/peripheral/virtblk3/virtio-backend
Cache mode: writeback

ide1-cd0: [not inserted]
Attached to: /machine/unattached/device[25]
Removable device: not locked, tray closed

floppy0: [not inserted]
Attached to: /machine/unattached/device[19]
Removable device: not locked, tray closed

sd0: [not inserted]
Removable device: not locked, tray closed
(qemu) ~ $
~ $
~ $ echo 'info block' | nc -UN $SOCKET_FILENAME
QEMU 7.2.0 monitor - type 'help' for more information
(qemu) info block
drive1 (#block103): /storage/emulated/0/Download/alpine-virt-3.17.3-x86_64.iso (raw, read-only)
Attached to: /machine/peripheral/virtblk1/virtio-backend
Cache mode: writeback

drive2 (#block366): /storage/emulated/0/Download/ext4-test-directory.iuDxyNoR3C/vmtest1.raw (raw)
Attached to: /machine/peripheral/virtblk2/virtio-backend
Cache mode: writeback

drive3 (#block561): /storage/emulated/0/Download/50gb.ext (raw, read-only)
Attached to: /machine/peripheral/virtblk3/virtio-backend
Cache mode: writeback

ide1-cd0: [not inserted]
Attached to: /machine/unattached/device[25]
Removable device: not locked, tray closed

floppy0: [not inserted]
Attached to: /machine/unattached/device[19]
Removable device: not locked, tray closed

sd0: [not inserted]
Removable device: not locked, tray closed
(qemu) ~ $
~ $
~ $ echo 'system_powerdown' | nc -UN $SOCKET_FILENAME
QEMU 7.2.0 monitor - type 'help' for more information
(qemu) system_powerdown
(qemu) ~ $


Reference Links

  1. "An introduction to Linux filesystems": https://opensource.com/life/16/10/introduction-linux-filesystems (Linux "mount" command)
  2. "mount Command in Linux | Explained": https://itslinuxfoss.com/mount-command-linux/
  3. "How to Mount and Unmount Filesystems in Linux": https://www.baeldung.com/linux/mount-unmount-filesystems (Linux "fdisk" command)
  4. "How to Mount and Unmount File Systems in Linux": https://linuxize.com/post/how-to-mount-and-unmount-file-systems-in-linux/ (Linux "fdisk" command)
  5. "Managing partitions in Linux with fdisk": https://www.redhat.com/sysadmin/partitions-fdisk
  6. "Creating and managing partitions in Linux with parted": https://www.redhat.com/sysadmin/partitions-parted
  7. "Linux mount Command with Examples": https://phoenixnap.com/kb/linux-mount-command
  8. "An introduction to the Linux /etc/fstab file": https://www.redhat.com/sysadmin/etc-fstab
  9. "Chapter 24. Mounting file systems": https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/managing_file_systems/index
  10. "Linux: Mount Disk Partition Using LABEL": https://www.cyberciti.biz/faq/rhel-centos-debian-fedora-mount-partition-label/
  11. "Linux commands: du and the options you should be using": https://www.redhat.com/sysadmin/du-command-options
  12. "Hard links and soft links in Linux explained": https://www.redhat.com/sysadmin/linking-linux-explained
  13. "Linux permissions: SUID, SGID, and sticky bit": https://www.redhat.com/sysadmin/suid-sgid-sticky-bit
  14. "How to audit permissions with the find command": https://www.redhat.com/sysadmin/audit-permissions-find
  15. "Getting started with socat, a multipurpose relay tool for Linux": https://www.redhat.com/sysadmin/getting-started-socat
  16. "Basic troubleshooting with telnet and netcat": https://www.redhat.com/sysadmin/telnet-netcat-troubleshooting (Linux "nc" command)
  17. Linux "mktemp" command: https://www.gnu.org/software/coreutils/manual/coreutils.html
  18. "How to use grep": https://www.redhat.com/sysadmin/how-to-use-grep
  19. "Manipulating text at the command line with grep": https://www.redhat.com/sysadmin/manipulating-text-grep
  20. "Manipulating text at the command line with sed": https://www.redhat.com/sysadmin/manipulating-text-sed
  21. "Manipulating text with sed and grep": https://www.redhat.com/sysadmin/manipulating-text-sed-grep
  22. "How to Kill a Process in Linux? Commands to Terminate": https://phoenixnap.com/kb/how-to-kill-a-process-in-linux
  23. kill, ps, "Linux Command Basics: 7 commands for process management": https://www.redhat.com/sysadmin/linux-command-basics-7-commands-process-management
  24. "Bash scripting: Moving from backtick operator to $ parentheses": https://www.redhat.com/sysadmin/backtick-operator-vs-parens
  25. Linux ext4 filesystem: "Filesystems in the Linux kernel": https://docs.kernel.org/filesystems/index.html , https://docs.kernel.org/filesystems/ext4/index.html ("ext4 Data Structures and Algorithms"), https://www.cyberciti.biz/faq/linux-modify-partition-labels-command-to-change-diskname/ ("Linux Change Disk Label Name on EXT2 / EXT3 / EXT4 File Systems"), https://www.redhat.com/sysadmin/disk-space ("Linux sysadmins want to know: Where did my disk space go?")
  26. "What sysadmins need to know about using Bash": https://www.redhat.com/sysadmin/bash-navigation
  27. "10 basic Linux commands you need to know": https://www.redhat.com/sysadmin/basic-linux-commands
  28. "8 fundamental Linux file-management commands for new users": https://www.redhat.com/sysadmin/linux-file-management-commands
  29. "8 essential Linux file navigation commands for new users": https://www.redhat.com/sysadmin/Linux-file-navigation-commands
  30. "Basic Linux commands and tools every sysadmin should know": https://clockhash.com/blog/basic-linux-commands-and-tools-every-sysadmin-should-know
  31. bash: https://www.gnu.org/software/bash/manual/bash.html ("Bash Reference Manual"), https://www.redhat.com/sysadmin/linux-environment-variables ("Linux environment variable tips and tricks"), https://www.redhat.com/sysadmin/scripting-writing-text-file ("Bash scripting: How to write data to text files"), https://www.redhat.com/sysadmin/pipes-command-line-linux ("Working with pipes on the Linux command line" "here-document (heredoc)" "here-string"), https://linuxhint.com/linux-pipe-command-examples/ ("Linux Pipe Command with Examples"), https://www.redhat.com/sysadmin/linux-shell-redirection-pipelining ("How to manipulate files with shell redirection and pipelines in Linux"), https://www.redhat.com/sysadmin/redirect-shell-command-script-output ("How to redirect shell command output"), https://www.redhat.com/sysadmin/history-command ("How to manage your Linux command history"), https://www.redhat.com/sysadmin/parsing-bash-history ("Parsing Bash history in Linux"), https://tldp.org/LDP/abs/html/ ("Advanced Bash-Scripting Guide" "Here Documents"), https://wiki.bash-hackers.org
  32. ctrl-c (control-c), ctrl-d (control-d): https://www.oreilly.com/library/view/learning-the-unix/1565923901/ch01s04.html ("The Unresponsive Terminal"), https://www.networkworld.com/article/3284105/linux-control-sequence-tricks.html ("Linux control sequence tricks"), https://web.cecs.pdx.edu/~rootd/catdoc/guide/TheGuide_38.html ("UNIX Control-Key Commands")
  33. Linux commands "tput init", "tput reset", "tput clear": https://www.gnu.org/software/termutils/manual/termutils-2.0/html_mono/tput.html ("Portable Terminal Control From Scripts"), https://tldp.org/LDP/abs/html/terminalccmds.html ("16.7. Terminal Control Commands"), https://www.cyberciti.biz/tips/bash-fix-the-display.html ("BASH Fix Display and Console Garbage and Gibberish on a Linux / Unix / macOS"), https://bash.cyberciti.biz/guide/Fixing_the_display_with_reset ("Fixing the display with reset")
  34. "The Linux man-pages project": https://www.kernel.org/doc/man-pages/ , https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/book/
  35. "How to find out what a Linux command does": https://www.redhat.com/sysadmin/linux-command-documentation
  36. Linux 'tree" and "ls" commands: https://www.cyberciti.biz/faq/linux-show-directory-structure-command-line/ ("Linux see directory tree structure using tree command"), https://www.redhat.com/sysadmin/ls-command-options ("Sysadmin tools: 11 ways to use the ls command in Linux"), https://www.redhat.com/sysadmin/Linux-file-navigation-commands ("8 essential Linux file navigation commands for new users")
  37. "How to Use the less, more, and most Commands to Read Text Files in Linux": https://www.makeuseof.com/use-less-more-and-most-linux-commands/
  38. Linux text editor "nano": https://www.redhat.com/sysadmin/getting-started-nano ("Getting started with Nano")
  39. Linux text editors "vi", "vim", "ed": https://www.redhat.com/sysadmin/get-started-vi-editor ("How to get started with the Vi editor"), https://www.redhat.com/sysadmin/introduction-vi-editor ("An introduction to the vi editor"), https://www.redhat.com/sysadmin/beginners-guide-vim ("Linux basics: A beginner's guide to text editing with vim"), https://www.redhat.com/sysadmin/vim-commands ("Vim: Basic and intermediate commands"), https://www.redhat.com/sysadmin/introduction-ed-editor ("How to get started with the ed text editor")
  40. Linux web browswer "links": http://links.twibright.com , http://links.twibright.com/download.php ("Documentation"), https://www.tecmint.com/command-line-web-browsers/ ("A Command Line Web Browsing with Lynx and Links Tools")
  41. Linux "grep" command: https://www.redhat.com/sysadmin/find-text-files-using-grep ("Find text in files using the Linux grep command")
  42. Linux "echo" command: https://phoenixnap.com/kb/echo-command-linux ("Echo Command in Linux (With Examples)"), https://www.tecmint.com/echo-command-in-linux/ ("15 Practical Examples of ‘echo’ command in Linux"),
  43. Linux "find" command: https://www.redhat.com/sysadmin/linux-find-command ("10 ways to use the Linux find command"), : https://www.redhat.com/sysadmin/find-best-friend ("When it comes to Linux system troubleshooting, find is my best friend")
  44. Regular expressions (regex): https://www.redhat.com/sysadmin/introducing-regular-expressions ("Introducing regular expressions"), https://www.redhat.com/sysadmin/getting-started-regular-expressions-example ("Getting started with regular expressions: An example"), https://www.redhat.com/sysadmin/regex-grep-data-flow ("Regex and grep: Data flow and building blocks"), https://www.redhat.com/sysadmin/regular-expressions-pulling-it-all-together ("Regular expressions: Pulling it all together"), https://opensource.com/article/18/5/getting-started-regular-expressions ("Getting started with regular expressions")
  45. Linux "chmod" command: https://www.redhat.com/sysadmin/linux-file-permissions-xplained ("Linux file permissions explained"), https://www.redhat.com/sysadmin/introduction-chmod ("Linux permissions: An introduction to chmod"), https://www.redhat.com/sysadmin/manage-permissions ("How to manage Linux permissions for users, groups, and others"), https://www.redhat.com/sysadmin/linux-permissions ("What sysadmins need to know about Linux permissions")
  46. Linux "bc" command: https://www.gnu.org/software/bc/manual/html_mono/bc.html ("bc" "an arbitrary precision calculator language"), https://linuxconfig.org/bc ("bc command in Linux with examples"), https://web.archive.org/web/20211207113205/docstore.mik.ua/orelly/unix/upt/ch49_03.htm ("Chapter 49 Working with Numbers" "49.3 Gotchas in Base Conversion"), https://www.networkworld.com/article/3681079/converting-numbers-on-linux-among-decimal-hexadecimal-octal-and-binary.html ("Converting numbers on Linux among decimal, hexadecimal, octal, and binary"), https://www.theunixschool.com/2011/05/bc-unix-calculator.html ("bc - Unix calculator"), https://www.real-world-systems.com/docs/bc.1.html ("bc" "arbitrary precision calculator"), http://www.physics.smu.edu/coan/linux/bc.html ("6. (Very) Brief intro to bc")
  47. Linux "apt" command: https://linuxhint.com/debian_sources-list/ ("Understanding and Using Debian sources.list"), https://wiki.debian.org/SourcesList ("Configuring Apt Sources")
  48. Web-based Distributed Authoring and Versioning (WebDAV), Linux command "cadaver": http://www.webdav.org , https://docs.vscentrum.be/en/latest/data/cadaver_client_access.html ("Cadaver Client Access"), https://github.com/hpcloud/swift-webdav/blob/master/doc/Cadaver.md ("Using the Cadaver WebDAV Client"). https://help.webpal.net/apis/webdav ("WebPal Resources for Editors, Admins, Collaborators and Coders" "WebDAV Interface")
  49. Check the apps: https://www.virustotal.com/gui/home/url ("OPSWAT. MetaDefender Cloud"), https://metadefender.opswat.com ("VirusTotal")
  50. darkhttpd: When you need a web server in a hurry.: https://github.com/emikulic/darkhttpd (@emikulic), https://unix4lyfe.org/darkhttpd/ ("darkhttpd" "When you need a web server in a hurry.")


Additional Installed Software

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment