NoteAfterNote-9
The Root Password
Published: June 16, 2024
Link: https://gist.github.com/NoteAfterNote/1a5dc912d01b05350e178c30fbb18510
-
"vmtest" in "Reading and writing a USB drive connected to a Linux server using Termux, termux-usb, usbredirect, and QEMU on a smartphone that is not rooted": https://gist.github.com/NoteAfterNote/7a197233de3d60ff1e23ca90ed2f595a , https://archive.ph/VayK4 , https://web.archive.org/web/20240530095640/gist.github.com/NoteAfterNote/7a197233de3d60ff1e23ca90ed2f595a
-
"GAWK: Effective AWK Programming: A User’s Guide for GNU Awk": https://www.gnu.org/software/gawk/manual/gawk.html , https://www.gnu.org/software/gawk/manual/ ("Gawk: Effective AWK Programming"), https://www.gnu.org/manual/ ("GNU Manuals Online")
-
"shadow(5) — Linux manual page" https://man7.org/linux/man-pages/man5/shadow.5.html
-
Boot/Startup vmtest using "init=/bin/sh":
(1) mount -o remount,rw /
(2) passwd
(3) sync
(4) poweroff -f or reboot -f
-
awk -F: -v OFS=':' -e '/^root/ {$2="" ; print} !/^root/ {print}' shadow
or
awk -F: -e 'BEGIN {OFS=":"} /^root/ {$2="" ; print} !/^root/ {print}' shadow
~ $ QEMU_SOCKET_FILENAME=$HOME/termux-qemu-usb/qemu.socket ; touch $QEMU_SOCKET_FILENAME ; VM=$HOME/termux-qemu-usb/vmtest ; ISO1=$HOME/termux-qemu-usb/alpine-virt-3.20.0-x86_64.iso ; ISO2=$HOME/termux-qemu-usb/alpine-extended-3.20.0-x86_64.iso ; qemu-system-x86_64 -m 1500M -machine q35 -smp 4 -device virtio-rng-pci -device pci-bridge,id=bridge0,chassis_nr=1 -nographic -monitor unix:$QEMU_SOCKET_FILENAME,server,wait=off -serial mon:stdio -drive if=none,id=vm,format=raw,file=$VM -device virtio-blk-pci,id=vmvirt1,drive=vm -drive if=none,id=iso1,format=raw,file=$ISO1 -device virtio-blk-pci,id=virt2,drive=iso1,bootindex=1 -drive if=none,id=iso2,format=raw,file=$ISO2 -device virtio-blk-pci,id=virt3,drive=iso2
Welcome to Alpine Linux 3.20
Kernel 6.6.31-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:~#
localhost:~# lsblk
-sh: lsblk: not found
localhost:~#
localhost:~# blkid
/dev/loop0: TYPE="squashfs"
/dev/vda1: UUID="933abcba-6d5f-40f4-9584-b373deac796f" TYPE="ext4"
/dev/vda2: UUID="088d8ec9-c1c5-46f1-8377-200028167bf7" TYPE="swap"
/dev/vda3: UUID="ae7bb8b0-5180-432a-80a5-e4a3065e4684" TYPE="ext4"
/dev/vdb: LABEL="alpine-virt 3.20.0 x86_64" TYPE="iso9660"
/dev/vdb1: LABEL="alpine-virt 3.20.0 x86_64" TYPE="iso9660"
/dev/vdb2: TYPE="vfat"
/dev/vdc: LABEL="alpine-ext 3.20.0 x86_64" TYPE="iso9660"
/dev/vdc1: LABEL="alpine-ext 3.20.0 x86_64" TYPE="iso9660"
/dev/vdc2: TYPE="vfat"
/dev/loop/0: TYPE="squashfs"
localhost:~#
localhost:~# apk add nano vim coreutils util-linux
(1/48) Installing coreutils-env (9.5-r1)
(2/48) Installing coreutils-fmt (9.5-r1)
(3/48) Installing coreutils-sha512sum (9.5-r1)
(4/48) Installing libacl (2.3.2-r0)
(5/48) Installing libattr (2.5.2-r0)
(6/48) Installing skalibs (2.14.1.1-r0)
(7/48) Installing utmps-libs (0.1.2.2-r1)
(8/48) Installing coreutils (9.5-r1)
(9/48) Installing ncurses-terminfo-base (6.4_p20240420-r0)
(10/48) Installing libncursesw (6.4_p20240420-r0)
(11/48) Installing nano (8.0-r0)
(12/48) Installing sqlite-libs (3.45.3-r1)
(13/48) Installing util-linux (2.40.1-r1)
(14/48) Installing dmesg (2.40.1-r1)
(15/48) Installing setarch (2.40.1-r1)
(16/48) Installing libeconf (0.6.3-r0)
(17/48) Installing libblkid (2.40.1-r1)
(18/48) Installing libuuid (2.40.1-r1)
(19/48) Installing libfdisk (2.40.1-r1)
(20/48) Installing libmount (2.40.1-r1)
(21/48) Installing libsmartcols (2.40.1-r1)
(22/48) Installing util-linux-misc (2.40.1-r1)
(23/48) Installing linux-pam (1.6.0-r0)
(24/48) Installing runuser (2.40.1-r1)
(25/48) Installing mount (2.40.1-r1)
(26/48) Installing losetup (2.40.1-r1)
(27/48) Installing hexdump (2.40.1-r1)
(28/48) Installing uuidgen (2.40.1-r1)
(29/48) Installing blkid (2.40.1-r1)
(30/48) Installing sfdisk (2.40.1-r1)
(31/48) Installing mcookie (2.40.1-r1)
(32/48) Installing agetty (2.40.1-r1)
(33/48) Installing agetty-openrc (0.54-r1)
(34/48) Installing wipefs (2.40.1-r1)
(35/48) Installing cfdisk (2.40.1-r1)
(36/48) Installing umount (2.40.1-r1)
(37/48) Installing util-linux-openrc (2.40.1-r1)
(38/48) Installing flock (2.40.1-r1)
(39/48) Installing lsblk (2.40.1-r1)
(40/48) Installing libcap-ng (0.8.5-r0)
(41/48) Installing setpriv (2.40.1-r1)
(42/48) Installing logger (2.40.1-r1)
(43/48) Installing partx (2.40.1-r1)
(44/48) Installing fstrim (2.40.1-r1)
(45/48) Installing findmnt (2.40.1-r1)
(46/48) Installing vim-common (9.1.0414-r0)
(47/48) Installing xxd (9.1.0414-r0)
(48/48) Installing vim (9.1.0414-r0)
Executing busybox-1.36.1-r28.trigger
OK: 52 MiB in 73 packages
localhost:~#
localhost:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 19.2M 1 loop /.modloop
sr0 11:0 1 2K 0 rom
vda 253:0 0 3G 0 disk
├─vda1 253:1 0 300M 0 part
├─vda2 253:2 0 768M 0 part
└─vda3 253:3 0 2G 0 part
vdb 253:16 0 61M 0 disk /media/vdb
├─vdb1 253:17 0 61M 0 part
└─vdb2 253:18 0 1.4M 0 part
vdc 253:32 0 975M 0 disk /media/vdc
├─vdc1 253:33 0 975M 0 part
└─vdc2 253:34 0 1.4M 0 part
localhost:~#
localhost:~# blkid | grep ext4
/dev/vda3: UUID="ae7bb8b0-5180-432a-80a5-e4a3065e4684" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="0c1ddc57-03"
/dev/vda1: UUID="933abcba-6d5f-40f4-9584-b373deac796f" BLOCK_SIZE="1024" TYPE="ext4" PARTUUID="0c1ddc57-01"
localhost:~#
localhost:~#
localhost:~# mkdir /mnt/vmtest-root
localhost:~#
localhost:~# mount /dev/vda3 /mnt/vmtest-root
localhost:~# cd /mnt/vmtest-root
localhost:/mnt/vmtest-root#
localhost:/mnt/vmtest-root# pwd
/mnt/vmtest-root
localhost:/mnt/vmtest-root# cd /mnt/vmtest-root/etc
localhost:/mnt/vmtest-root/etc# pwd
/mnt/vmtest-root/etc
localhost:/mnt/vmtest-root/etc# ls -l shadow
-rw-r----- 1 root shadow 619 Jun 15 23:39 shadow
localhost:/mnt/vmtest-root/etc#
localhost:/mnt/vmtest-root/etc# cp -pvi shadow shadow-backup
'shadow' -> 'shadow-backup'
localhost:/mnt/vmtest-root/etc#
localhost:/mnt/vmtest-root/etc# gawk --version
-sh: gawk: not found
localhost:/mnt/vmtest-root/etc# awk --help
BusyBox v1.36.1 (2024-05-21 13:38:37 UTC) multi-call binary.
Usage: awk [OPTIONS] [AWK_PROGRAM] [FILE]...
-v VAR=VAL Set variable
-F SEP Use SEP as field separator
-f FILE Read program from FILE
-e AWK_PROGRAM
localhost:/mnt/vmtest-root/etc#
localhost:/mnt/vmtest-root/etc# grep ^root shadow
root:$6$EqQKv/l.jNglzsun$pOdwf62XUkRlPk6wdYA.FVSbsqYwy5/1/6dd7Anv4/8PkJ2q1gBAvZNWB7zrExg2XjvnR5FbAKyYR7SXqq1sp1:19890:0:::::
localhost:/mnt/vmtest-root/etc#
localhost:/mnt/vmtest-root/etc# awk -F: -v OFS=':' -e '/^root/ {$2="" ; print} !/^root/ {print}' shadow > shadow-root-no-password
localhost:/mnt/vmtest-root/etc#
localhost:/mnt/vmtest-root/etc# wc shadow shadow-root-no-password
26 26 619 shadow
26 26 513 shadow-root-no-password
52 52 1132 total
localhost:/mnt/vmtest-root/etc#
localhost:/mnt/vmtest-root/etc# grep ^root shadow
root:$6$EqQKv/l.jNglzsun$pOdwf62XUkRlPk6wdYA.FVSbsqYwy5/1/6dd7Anv4/8PkJ2q1gBAvZNWB7zrExg2XjvnR5FbAKyYR7SXqq1sp1:19890:0:::::
localhost:/mnt/vmtest-root/etc#
localhost:/mnt/vmtest-root/etc#
localhost:/mnt/vmtest-root/etc# grep ^root shadow-root-no-password
root::19889:0:::::
localhost:/mnt/vmtest-root/etc#
localhost:/mnt/vmtest-root/etc# cp -pvi shadow-root-no-password shadow
cp: overwrite 'shadow'? y
'shadow-root-no-password' -> 'shadow'
localhost:/mnt/vmtest-root/etc#
localhost:/mnt/vmtest-root/etc# grep ^root shadow
root::19889:0:::::
localhost:/mnt/vmtest-root/etc#
localhost:/mnt/vmtest-root/etc# cd /
localhost:/# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 10M 0 10M 0% /dev
shm 720M 0 720M 0% /dev/shm
/dev/vdb 61M 61M 0 100% /media/vdb
/dev/vdc 975M 975M 0 100% /media/vdc
tmpfs 720M 51M 669M 8% /
tmpfs 288M 52K 288M 1% /run
/dev/loop0 20M 20M 0 100% /.modloop
/dev/vda3 1.9G 978M 840M 54% /mnt/vmtest-root
localhost:/# umount /mnt/vmtest-root
localhost:/# poweroff
localhost:/# ~ $
~ $ QEMU_SOCKET_FILENAME=$HOME/termux-qemu-usb/qemu.socket ; touch $QEMU_SOCKET_FILENAME ; VM=$HOME/termux-qemu-usb/vmtest ; ISO1=$HOME/termux-qemu-usb/alpine-virt-3.20.0-x86_64.iso ; ISO2=$HOME/termux-qemu-usb/alpine-extended-3.20.0-x86_64.iso ; qemu-system-x86_64 -m 1500M -machine q35 -smp 4 -device virtio-rng-pci -device pci-bridge,id=bridge0,chassis_nr=1 -nographic -monitor unix:$QEMU_SOCKET_FILENAME,server,wait=off -serial mon:stdio -drive if=none,id=vm,format=raw,file=$VM -device virtio-blk-pci,id=vmvirt1,drive=vm,bootindex=1 -device e1000,netdev=net0,mac=52:54:12:34:56:78 -netdev user,id=net0,ipv6=off,hostfwd=tcp:127.0.0.1:9080-:80,hostfwd=tcp:127.0.0.1:9022-:22
[ 0.000000] Linux version 6.6.33-0-virt (buildozer@build-3-20-x86_64) (gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, GNU ld (GNU Binutils) 2.42) #1-Alpine SMP PREEMPT_DYNAMIC Thu, 13 Jun 2024 07:49:22 +0000
[ 0.000000] Command line: BOOT_IMAGE=vmlinuz-virt root=UUID=ae7bb8b0-5180-432a-80a5-e4a3065e4684 modules=sd-mod,usb-storage,ext4 console=ttyS0,115200,8n1 rootfstype=ext4 initrd=initramfs-virt
[ 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-0x000000005dbdbfff] usable
[ 0.000000] BIOS-e820: [mem 0x000000005dbdc000-0x000000005dbfffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] 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] APIC: Static calls initialized
[ 0.000000] SMBIOS 2.8 present.
[ 0.000000] DMI: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[ 0.000000] tsc: Fast TSC calibration failed
[ 0.000000] last_pfn = 0x5dbdc max_arch_pfn = 0x400000000
[ 0.000000] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs
[ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.000000] RAMDISK: [mem 0x5d3f4000-0x5dbdbfff]
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000000F59B0 000014 (v00 BOCHS )
[ 0.000000] ACPI: RSDT 0x000000005DBE30C1 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: FACP 0x000000005DBE2EA1 0000F4 (v03 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: DSDT 0x000000005DBE0040 002E61 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: FACS 0x000000005DBE0000 000040
[ 0.000000] ACPI: APIC 0x000000005DBE2F95 000090 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: HPET 0x000000005DBE3025 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: MCFG 0x000000005DBE305D 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: WAET 0x000000005DBE3099 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: Reserving FACP table memory at [mem 0x5dbe2ea1-0x5dbe2f94]
[ 0.000000] ACPI: Reserving DSDT table memory at [mem 0x5dbe0040-0x5dbe2ea0]
[ 0.000000] ACPI: Reserving FACS table memory at [mem 0x5dbe0000-0x5dbe003f]
[ 0.000000] ACPI: Reserving APIC table memory at [mem 0x5dbe2f95-0x5dbe3024]
[ 0.000000] ACPI: Reserving HPET table memory at [mem 0x5dbe3025-0x5dbe305c]
[ 0.000000] ACPI: Reserving MCFG table memory at [mem 0x5dbe305d-0x5dbe3098]
[ 0.000000] ACPI: Reserving WAET table memory at [mem 0x5dbe3099-0x5dbe30c0]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] DMA32 [mem 0x0000000001000000-0x000000005dbdbfff]
[ 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-0x000000005dbdbfff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000005dbdbfff]
[ 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: 9252 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 0x5dc00000-0xafffffff] 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:4 nr_cpu_ids:4 nr_node_ids:1
[ 0.000000] percpu: Embedded 57 pages/cpu s195560 r8192 d29720 u524288
[ 0.000000] Kernel command line: BOOT_IMAGE=vmlinuz-virt root=UUID=ae7bb8b0-5180-432a-80a5-e4a3065e4684 modules=sd-mod,usb-storage,ext4 console=ttyS0,115200,8n1 rootfstype=ext4 initrd=initramfs-virt
[ 0.000000] Unknown kernel command line parameters "BOOT_IMAGE=vmlinuz-virt modules=sd-mod,usb-storage,ext4", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 377708
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[ 0.000000] Memory: 1460632K/1535464K available (14336K kernel code, 1799K rwdata, 8232K rodata, 2696K init, 2032K bss, 74572K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Dynamic Preempt: none
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 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 [ttyS0] enabled
[ 0.000000] ACPI: Core revision 20230628
[ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 0.040000] APIC: Switch to symmetric I/O mode setup
[ 0.100000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.190000] tsc: Unable to calibrate against PIT
[ 0.190000] tsc: using HPET reference calibration
[ 0.200000] tsc: Detected 999.946 MHz processor
[ 0.006643] tsc: Marking TSC unstable due to TSCs unsynchronized
[ 0.023686] Calibrating delay loop (skipped), value calculated using timer frequency.. 1999.89 BogoMIPS (lpj=9999460)
[ 0.042556] process: using AMD E400 aware idle routine
[ 0.046761] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127
[ 0.048804] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0
[ 0.056953] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.063832] Spectre V2 : Mitigation: Retpolines
[ 0.065503] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.068252] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[ 0.105277] x86/fpu: x87 FPU will use FXSAVE
[ 1.910211] Freeing SMP alternatives memory: 32K
[ 1.925360] pid_max: default: 32768 minimum: 301
[ 2.048673] LSM: initializing lsm=lockdown,capability,landlock,integrity
[ 2.130097] landlock: Up and running.
[ 2.199567] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 2.204114] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 2.780464] smpboot: CPU0: AMD QEMU Virtual CPU version 2.5+ (family: 0xf, model: 0x6b, stepping: 0x1)
[ 2.929479] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 2.935362] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 2.948620] Performance Events: PMU not available due to virtualization, using software events only.
[ 2.967457] signal: max sigframe size: 1440
[ 2.989092] rcu: Hierarchical SRCU implementation.
[ 2.991605] rcu: Max phase no-delay instances is 1000.
[ 3.107327] NMI watchdog: Perf NMI watchdog permanently disabled
[ 3.154298] smp: Bringing up secondary CPUs ...
[ 3.230965] smpboot: x86: Booting SMP configuration:
[ 3.233135] .... node #0, CPUs: #1 #2 #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.286932] smp: Brought up 1 node, 4 CPUs
[ 4.289087] smpboot: Max logical packages: 1
[ 4.292979] ----------------
[ 4.294352] | NMI testsuite:
[ 4.296220] --------------------
[ 4.297757] remote IPI: ok |
[ 4.314025] local IPI: ok |
[ 4.317711] --------------------
[ 4.318952] Good, all 2 testcases passed! |
[ 4.322264] ---------------------------------
[ 4.325082] smpboot: Total of 4 processors activated (8011.35 BogoMIPS)
[ 4.681640] devtmpfs: initialized
[ 4.762919] x86/mm: Memory block size: 128MB
[ 4.905357] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 4.928732] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 5.293980] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 5.364908] audit: initializing netlink subsys (disabled)
[ 5.419290] audit: type=2000 audit(1718583939.600:1): state=initialized audit_enabled=0 res=1
[ 5.479412] thermal_sys: Registered thermal governor 'step_wise'
[ 5.488165] cpuidle: using governor ladder
[ 5.499133] cpuidle: using governor menu
[ 5.537409] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 5.624737] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xb0000000-0xbfffffff] (base 0xb0000000)
[ 5.643264] PCI: MMCONFIG at [mem 0xb0000000-0xbfffffff] reserved as E820 entry
[ 5.673017] PCI: Using configuration type 1 for base access
[ 5.714231] mtrr: your CPUs had inconsistent fixed MTRR settings
[ 5.717788] mtrr: your CPUs had inconsistent variable MTRR settings
[ 5.719920] mtrr: your CPUs had inconsistent MTRRdefType settings
[ 5.724381] mtrr: probably your BIOS does not setup all CPUs.
[ 5.726207] mtrr: corrected configuration.
[ 5.767571] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 5.906263] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 5.908450] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 6.327928] ACPI: Added _OSI(Module Device)
[ 6.331113] ACPI: Added _OSI(Processor Device)
[ 6.332571] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 6.340671] ACPI: Added _OSI(Processor Aggregator Device)
[ 6.954411] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 7.237528] ACPI: _OSC evaluation for CPUs failed, trying _PDC
[ 7.279160] ACPI: Interpreter enabled
[ 7.302585] ACPI: PM: (supports S0 S3 S5)
[ 7.304749] ACPI: Using IOAPIC for interrupt routing
[ 7.329195] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 7.331350] PCI: Using E820 reservations for host bridge windows
[ 7.364654] ACPI: Enabled 2 GPEs in block 00 to 3F
[ 8.089550] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 8.102511] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
[ 8.126025] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug LTR]
[ 8.143970] acpi PNP0A08:00: _OSC: OS now controls [PME PCIeCapability]
[ 8.234471] PCI host bridge to bus 0000:00
[ 8.239014] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 8.245677] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 8.247796] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 8.252154] pci_bus 0000:00: root bus resource [mem 0x5dc00000-0xafffffff window]
[ 8.254269] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]
[ 8.257191] pci_bus 0000:00: root bus resource [mem 0x100000000-0x8ffffffff window]
[ 8.263503] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 8.292591] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000
[ 8.367623] pci 0000:00:01.0: [1234:1111] type 00 class 0x030000
[ 8.383627] pci 0000:00:01.0: reg 0x10: [mem 0xfd000000-0xfdffffff pref]
[ 8.410935] pci 0000:00:01.0: reg 0x18: [mem 0xfea70000-0xfea70fff]
[ 8.460744] pci 0000:00:01.0: reg 0x30: [mem 0xfea60000-0xfea6ffff pref]
[ 8.475537] pci 0000:00:01.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 8.499805] pci 0000:00:02.0: [1af4:1005] type 00 class 0x00ff00
[ 8.520794] pci 0000:00:02.0: reg 0x10: [io 0xd100-0xd11f]
[ 8.540755] pci 0000:00:02.0: reg 0x14: [mem 0xfea71000-0xfea71fff]
[ 8.610874] pci 0000:00:02.0: reg 0x20: [mem 0xfe200000-0xfe203fff 64bit pref]
[ 8.656948] pci 0000:00:03.0: [1b36:0001] type 01 class 0x060400
[ 8.683535] pci 0000:00:03.0: reg 0x10: [mem 0xfea72000-0xfea720ff 64bit]
[ 8.734374] pci 0000:00:04.0: [1af4:1001] type 00 class 0x010000
[ 8.750975] pci 0000:00:04.0: reg 0x10: [io 0xd000-0xd07f]
[ 8.780636] pci 0000:00:04.0: reg 0x14: [mem 0xfea73000-0xfea73fff]
[ 8.842096] pci 0000:00:04.0: reg 0x20: [mem 0xfe204000-0xfe207fff 64bit pref]
[ 8.878075] pci 0000:00:05.0: [8086:100e] type 00 class 0x020000
[ 8.892410] pci 0000:00:05.0: reg 0x10: [mem 0xfea40000-0xfea5ffff]
[ 8.901034] pci 0000:00:05.0: reg 0x14: [io 0xd080-0xd0bf]
[ 8.985112] pci 0000:00:05.0: reg 0x30: [mem 0xfea00000-0xfea3ffff pref]
[ 9.003946] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100
[ 9.014791] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO
[ 9.022546] pci 0000:00:1f.0: quirk_ich7_lpc+0x0/0x60 took 19531 usecs
[ 9.038747] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601
[ 9.111174] pci 0000:00:1f.2: reg 0x20: [io 0xd120-0xd13f]
[ 9.130849] pci 0000:00:1f.2: reg 0x24: [mem 0xfea74000-0xfea74fff]
[ 9.169353] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500
[ 9.217466] pci 0000:00:1f.3: reg 0x20: [io 0x0700-0x073f]
[ 9.263776] pci_bus 0000:01: extended config space not accessible
[ 9.329824] acpiphp: Slot [0] registered
[ 9.335657] acpiphp: Slot [1] registered
[ 9.341152] acpiphp: Slot [2] registered
[ 9.345184] acpiphp: Slot [3] registered
[ 9.348838] acpiphp: Slot [4] registered
[ 9.353723] acpiphp: Slot [5] registered
[ 9.357370] acpiphp: Slot [6] registered
[ 9.360039] acpiphp: Slot [7] registered
[ 9.365680] acpiphp: Slot [8] registered
[ 9.370081] acpiphp: Slot [9] registered
[ 9.375045] acpiphp: Slot [10] registered
[ 9.379534] acpiphp: Slot [11] registered
[ 9.383376] acpiphp: Slot [12] registered
[ 9.386371] acpiphp: Slot [13] registered
[ 9.389218] acpiphp: Slot [14] registered
[ 9.392671] acpiphp: Slot [15] registered
[ 9.397292] acpiphp: Slot [16] registered
[ 9.402100] acpiphp: Slot [17] registered
[ 9.405706] acpiphp: Slot [18] registered
[ 9.413356] acpiphp: Slot [19] registered
[ 9.419072] acpiphp: Slot [20] registered
[ 9.423699] acpiphp: Slot [21] registered
[ 9.428064] acpiphp: Slot [22] registered
[ 9.433268] acpiphp: Slot [23] registered
[ 9.436899] acpiphp: Slot [24] registered
[ 9.439727] acpiphp: Slot [25] registered
[ 9.443201] acpiphp: Slot [26] registered
[ 9.447088] acpiphp: Slot [27] registered
[ 9.451160] acpiphp: Slot [28] registered
[ 9.458185] acpiphp: Slot [29] registered
[ 9.462854] acpiphp: Slot [30] registered
[ 9.465573] acpiphp: Slot [31] registered
[ 9.470937] pci 0000:00:03.0: PCI bridge to [bus 01]
[ 9.475126] pci 0000:00:03.0: bridge window [io 0xc000-0xcfff]
[ 9.479750] pci 0000:00:03.0: bridge window [mem 0xfe800000-0xfe9fffff]
[ 9.485229] pci 0000:00:03.0: bridge window [mem 0xfe000000-0xfe1fffff 64bit pref]
[ 9.575308] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[ 9.590067] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[ 9.603099] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[ 9.614433] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[ 9.627317] ACPI: PCI: Interrupt link LNKE configured for IRQ 10
[ 9.644170] ACPI: PCI: Interrupt link LNKF configured for IRQ 10
[ 9.655645] ACPI: PCI: Interrupt link LNKG configured for IRQ 11
[ 9.668122] ACPI: PCI: Interrupt link LNKH configured for IRQ 11
[ 9.674289] ACPI: PCI: Interrupt link GSIA configured for IRQ 16
[ 9.678351] ACPI: PCI: Interrupt link GSIB configured for IRQ 17
[ 9.683570] ACPI: PCI: Interrupt link GSIC configured for IRQ 18
[ 9.688154] ACPI: PCI: Interrupt link GSID configured for IRQ 19
[ 9.693494] ACPI: PCI: Interrupt link GSIE configured for IRQ 20
[ 9.697812] ACPI: PCI: Interrupt link GSIF configured for IRQ 21
[ 9.703340] ACPI: PCI: Interrupt link GSIG configured for IRQ 22
[ 9.707835] ACPI: PCI: Interrupt link GSIH configured for IRQ 23
[ 9.803776] iommu: Default domain type: Translated
[ 9.806073] iommu: DMA domain TLB invalidation policy: lazy mode
[ 9.864849] SCSI subsystem initialized
[ 9.901106] pps_core: LinuxPPS API ver. 1 registered
[ 9.903990] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 9.909530] PTP clock support registered
[ 10.128812] PCI: Using ACPI for IRQ routing
[ 10.262368] hpet: 3 channels of 0 reserved for per-cpu timers
[ 10.278810] clocksource: Switched to clocksource hpet
[ 10.503434] VFS: Disk quotas dquot_6.6.0
[ 10.509133] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 10.582878] pnp: PnP ACPI init
[ 10.893402] system 00:05: [mem 0xb0000000-0xbfffffff window] has been reserved
[ 11.359832] pnp: PnP ACPI: found 6 devices
[ 12.247550] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 12.319347] NET: Registered PF_INET protocol family
[ 12.363704] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 12.538093] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 12.544215] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 12.548827] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 12.563551] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[ 12.571207] TCP: Hash tables configured (established 16384 bind 16384)
[ 12.646541] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear)
[ 12.656279] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 12.663666] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 12.697930] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 12.712059] NET: Registered PF_XDP protocol family
[ 12.734225] pci 0000:00:03.0: PCI bridge to [bus 01]
[ 12.739821] pci 0000:00:03.0: bridge window [io 0xc000-0xcfff]
[ 12.755309] pci 0000:00:03.0: bridge window [mem 0xfe800000-0xfe9fffff]
[ 12.766887] pci 0000:00:03.0: bridge window [mem 0xfe000000-0xfe1fffff 64bit pref]
[ 12.788647] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]
[ 12.794655] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]
[ 12.796692] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[ 12.799316] pci_bus 0000:00: resource 7 [mem 0x5dc00000-0xafffffff window]
[ 12.803632] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window]
[ 12.805617] pci_bus 0000:00: resource 9 [mem 0x100000000-0x8ffffffff window]
[ 12.808750] pci_bus 0000:01: resource 0 [io 0xc000-0xcfff]
[ 12.816756] pci_bus 0000:01: resource 1 [mem 0xfe800000-0xfe9fffff]
[ 12.818720] pci_bus 0000:01: resource 2 [mem 0xfe000000-0xfe1fffff 64bit pref]
[ 12.849349] PCI: CLS 0 bytes, default 64
[ 13.108947] Unpacking initramfs...
[ 13.205568] Initialise system trusted keyrings
[ 13.326462] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[ 13.353934] zbud: loaded
[ 13.496025] Key type asymmetric registered
[ 13.498729] Asymmetric key parser 'x509' registered
[ 13.520472] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 13.592464] io scheduler mq-deadline registered
[ 13.595071] io scheduler kyber registered
[ 13.613046] io scheduler bfq registered
[ 13.988072] ERST DBG: ERST support is disabled.
[ 14.183771] ACPI: \_SB_.GSIG: Enabled at IRQ 22
[ 14.449065] ACPI: \_SB_.GSIE: Enabled at IRQ 20
[ 14.535462] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 14.643517] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 15.016503] VMware PVSCSI driver - version 1.0.7.0-k
[ 15.089197] ACPI: \_SB_.GSIA: Enabled at IRQ 16
[ 15.288713] ahci 0000:00:1f.2: AHCI 0001.0000 32 slots 6 ports 1.5 Gbps 0x3f impl SATA mode
[ 15.303194] ahci 0000:00:1f.2: flags: 64bit ncq only
[ 15.606444] scsi host0: ahci
[ 15.735661] scsi host1: ahci
[ 15.783042] scsi host2: ahci
[ 15.855083] scsi host3: ahci
[ 15.904537] scsi host4: ahci
[ 15.953508] scsi host5: ahci
[ 15.984663] ata1: SATA max UDMA/133 abar m4096@0xfea74000 port 0xfea74100 irq 24
[ 16.001944] ata2: SATA max UDMA/133 abar m4096@0xfea74000 port 0xfea74180 irq 24
[ 16.004348] ata3: SATA max UDMA/133 abar m4096@0xfea74000 port 0xfea74200 irq 24
[ 16.006416] ata4: SATA max UDMA/133 abar m4096@0xfea74000 port 0xfea74280 irq 24
[ 16.008804] ata5: SATA max UDMA/133 abar m4096@0xfea74000 port 0xfea74300 irq 24
[ 16.022214] ata6: SATA max UDMA/133 abar m4096@0xfea74000 port 0xfea74380 irq 24
[ 16.145084] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 16.343064] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 16.347402] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 16.368458] rtc_cmos 00:04: RTC can wake from S4
[ 16.516911] ata1: SATA link down (SStatus 0 SControl 300)
[ 16.560078] ata2: SATA link down (SStatus 0 SControl 300)
[ 16.600354] rtc_cmos 00:04: registered as rtc0
[ 16.601791] ata6: SATA link down (SStatus 0 SControl 300)
[ 16.645002] ata5: SATA link down (SStatus 0 SControl 300)
[ 16.656705] rtc_cmos 00:04: setting system clock to 2024-06-17T00:25:51 UTC (1718583951)
[ 16.668784] ata4: SATA link down (SStatus 0 SControl 300)
[ 16.727943] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 16.734263] rtc_cmos 00:04: alarms up to one day, y3k, 242 bytes nvram, hpet irqs
[ 16.739894] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled
[ 16.806502] gre: GRE over IPv4 demultiplexor driver
[ 16.892158] ata3.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[ 16.894791] ata3.00: applying bridge limits
[ 16.947700] ata3.00: configured for UDMA/100
[ 17.485886] scsi 2:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5
[ 18.047193] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 18.299089] NET: Registered PF_INET6 protocol family
[ 18.637380] Segment Routing with IPv6
[ 18.655930] In-situ OAM (IOAM) with IPv6
[ 18.714806] Key type dns_resolver registered
[ 18.756114] IPI shorthand broadcast: enabled
[ 19.856363] registered taskstats version 1
[ 19.958702] Loading compiled-in X.509 certificates
[ 21.200218] Freeing initrd memory: 8096K
[ 24.982049] Loaded X.509 cert 'alpinelinux.org: Alpine Linux kernel key: d76a695f66ad9cd28f5c22a8508f36e91f521f7a'
[ 25.135233] Key type .fscrypt registered
[ 25.136878] Key type fscrypt-provisioning registered
[ 25.238297] Unstable clock detected, switching default tracing clock to "global"
[ 25.238297] If you want to keep using the local clock, then add:
[ 25.238297] "trace_clock=local"
[ 25.238297] on the kernel command line
[ 25.684621] Freeing unused kernel image (initmem) memory: 2696K
[ 25.688044] Write protecting the kernel read-only data: 24576k
[ 25.740731] Freeing unused kernel image (rodata/data gap) memory: 2008K
[ 25.749818] rodata_test: all tests were successful
[ 25.755335] Run /init as init process
[ 27.864764] Alpine Init 3.10.0-r0
Alpine Init 3.10.0-r0
[ 27.982193] Loading boot drivers...
* Loading boot drivers: [ 32.599891] ACPI: bus type USB registered
[ 32.696382] usbcore: registered new interface driver usbfs
[ 32.715800] usbcore: registered new interface driver hub
[ 32.751938] usbcore: registered new device driver usb
[ 33.045944] usbcore: registered new interface driver usb-storage
[ 38.056731] loop: module loaded
[ 40.378918] ACPI: bus type drm_connector registered
[ 42.044549] Loading boot drivers: ok.
ok.
[ 42.825630] Mounting root...
* Mounting root: [ 43.261067] hrtimer: interrupt took 20606000 ns
[ 53.490467] sr 2:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[ 53.509325] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 53.555175] sr 2:0:0:0: [sr0] Hmm, seems the drive doesn't support multisession CD's
[ 55.769249] virtio_blk virtio1: 4/0/0 default/read/poll queues
[ 56.017164] virtio_blk virtio1: [vda] 6291456 512-byte logical blocks (3.22 GB/3.00 GiB)
[ 56.146323] vda: vda1 vda2 vda3
[ 80.106728] block sr0: the capability attribute has been deprecated.
[ 94.512265] EXT4-fs (vda3): orphan cleanup on readonly fs
[ 94.574084] EXT4-fs (vda3): mounted filesystem ae7bb8b0-5180-432a-80a5-e4a3065e4684 ro with ordered data mode. Quota mode: none.
[ 95.234494] Mounting root: ok.
ok.
OpenRC 0.54 is starting up Linux 6.6.33-0-virt (x86_64)
* /proc is already mounted
* Mounting /run ... [ ok ]
* /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/vda3: clean, 40405/128256 files, 268048/512768 blocks
/dev/vda1: clean, 29/76912 files, 54025/307200 blocks
[ ok ]
* Remounting root filesystem read/write ... [ ok ]
* Remounting filesystems ... [ ok ]
* Activating swap devices ... [ ok ]
* Mounting local filesystems ... [ ok ]
* Configuring kernel parameters ... [ ok ]
* Creating user login records ... [ ok ]
* Setting hostname ... [ ok ]
* Starting networking ... * lo ... [ ok ]
* eth0 ...udhcpc: started, v1.36.1
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 ... * Seeding 256 bits and crediting
* Saving 256 bits of creditable seed for next boot
[ ok ]
* Starting busybox syslog ... [ ok ]
* Starting busybox acpid ... [ ok ]
* Starting busybox crond ... [ ok ]
* Starting rngd ... [ ok ]
* Starting sshd ... [ ok ]
* Starting vsftpd ... [ ok ]
Welcome to Alpine Linux 3.20
Kernel 6.6.33-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:~#
localhost:~# passwd root
New password:
Retype new password:
passwd: password updated successfully
localhost:~#
localhost:~# cd /etc
localhost:/etc# ls -1 shadow*
shadow
shadow-
shadow-backup
shadow-root-no-password
localhost:/etc#
localhost:/etc# rm -i shadow-backup shadow-root-no-password
rm: remove regular file 'shadow-backup'? y
rm: remove regular file 'shadow-root-no-password'? y
localhost:/etc# cd
localhost:~#
~ $
~ $ ssh -p 9022 [email protected]
[email protected]'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:~# exit
logout
Connection to 127.0.0.1 closed.
~ $
-
"add "init=/bin/sh" to drop into shell after init" in "Can't load apkovl from https due to CA certificates file missing upon init": https://gitlab.alpinelinux.org/alpine/mkinitfs/-/issues/2
-
"Why does Linux allow ‘init=/bin/bash’?": https://unix.stackexchange.com/questions/34462/why-does-linux-allow-init-bin-bash
"Re: kernel boot parameter : init=/bin/bash": https://web.archive.org/web/20080207145751/www.redhat.com/archives/rhl-list/2005-March/msg04089.html ()
"kernel boot parameter : init=/bin/bash": https://listman.redhat.com/archives/fedora-list/2005-March/thread.html , https://listman.redhat.com/archives/fedora-list/2005-March.txt.gz , https://listman.redhat.com/archives/fedora-list/
-
"3. Remount Root Partition" in "How to Fix “passwd: Authentication token manipulation error” in Linux": https://www.tecmint.com/fix-passwd-authentication-token-manipulation-error-in-linux/
-
"Resetting Root Password on Alpine Linux: Navigating Through Emergency Recovery Mode": https://web.archive.org/web/20240615205708/shape.host/resources/resetting-root-password-on-alpine-linux-navigating-through-emergency-recovery-mode , https://archive.ph/NBuC3
-
"How to reset a forgotten login password in Linux": https://miloserdov.org/?p=1474 , https://web.archive.org/web/20211126163205/miloserdov.org/?p=1474
-
"How do you recover lost root passwords for Bare Metal Servers that run on Linux?": https://www.ibm.com/support/pages/how-do-you-recover-lost-root-passwords-bare-metal-servers-run-linux
-
"How I Logged in on Debian With a Partially Broken Keyboard": https://log.sbond.co/l/linux/logged-in-with-broken-keyboard/
-
"How do I reset a lost administrative password?": https://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrative-password