interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / evidence / recovery_boot_machine1.md

121 lines · 4221 bytes Raw Blame History Rendered
1# Recovery media attended boot on Machine 1
2
3**Result: `RECOVERY_BOOT_GATE: PASS` on physical Machine 1.** The USB rescue
4environment booted, exposed the expected internal root and EFI System
5Partition read-only, showed the fallback bootloader and recovery tools, and
6the machine returned to Ubuntu. No filesystem repair or firmware mutation
7was performed.
8
9Procedure: [RECOVERY_MEDIA_MACHINE1.md](../docs/RECOVERY_MEDIA_MACHINE1.md).
10Related issue: [#17](https://github.com/aien-dev/aienos/issues/17).
11
12## Attended recovery boot
13
14| Item | Observed value |
15| --- | --- |
16| Receipt timestamp | `Fri Sep 25 00:26:25 UTC 2026` |
17| Machine | Machine 1 (DGX Spark) |
18| Recovery entry | `Boot0004* UEFI: USB USB Hard Drive, Partition 1` |
19| `BootCurrent` | `0004` (USB recovery entry) |
20| `BootOrder` | `0001,0003,0004` |
21| Kernel | `Linux (none) 7.0.0-1019-nvidia`, `aarch64` |
22| Command line | `BOOT_IMAGE=/aienos-recovery/vmlinuz rdinit=/init console=ttyAMA0,115200n8 console=tty0 quiet` |
23| Secure Boot before boot | `mokutil --sb-state`: `SecureBoot enabled` |
24| Secure Boot byte in attended receipt | Not recorded |
25| Secure Boot after return | Not captured in the supplied receipt/output |
26| Recovery verdict | `RECOVERY_BOOT_GATE: PASS` |
27
28The boot variables show the recovery USB was the current boot while the
29recorded BootOrder stayed `0001,0003,0004`. The preboot baseline had Ubuntu
30as `BootCurrent: 0001` with that same BootOrder. The abbreviated receipt did
31not include the EFI Secure Boot byte, so this record does not claim a byte
32value for the attended boot. Secure Boot was explicitly observed enabled
33immediately before the exercise; no post-return observation was supplied.
34
35## Read-only storage inspection
36
37Root partition:
38
39```text
40/dev/nvme0n1p2:
41LABEL="root"
42UUID="d27bfd26-ff30-400e-9eca-9cdf73de9406"
43TYPE="ext4"
44PARTUUID="49c2c0c1-9a21-4a53-a43a-95ab7d996027"
45
46/dev/nvme0n1p2 on /mnt/root type ext4 (ro,relatime)
47```
48
49EFI System Partition:
50
51```text
52/dev/nvme0n1p1:
53LABEL="EFI"
54UUID="9DA2-3597"
55TYPE="vfat"
56PARTUUID="7c2b24e9-0ceb-4ad7-a401-9bf3c92c26ee"
57
58/dev/nvme0n1p1 on /mnt/esp type vfat
59(ro,relatime,fmask=0022,dmask=0022,codepage=437,
60iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
61```
62
63The fallback loader was present at `/mnt/esp/EFI/BOOT/BOOTAA64.EFI`
64(987336 bytes). Both partitions were mounted read-only. Repair and restore
65capabilities were checked for availability; neither filesystem contents nor
66firmware variables were changed.
67
68## Recovery tools and return to Linux
69
70The attended receipt reported all required tools present:
71
72```text
73/bin/fsck.ext4
74/bin/fsck.vfat
75/bin/mkfs.vfat
76/bin/chroot
77/bin/efibootmgr
78```
79
80After the recovery shell exited, the machine returned to its normal Ubuntu
81environment. The root partition was mounted at `/` and the ESP at
82`/boot/efi`:
83
84```text
85/dev/nvme0n1p1 vfat EFI 9DA2-3597 mounted at /boot/efi
86/dev/nvme0n1p2 ext4 root d27bfd26-ff30-400e-9eca-9cdf73de9406 mounted at /
87```
88
89The supplied return evidence confirms Linux returned, but contains no second
90`mokutil --sb-state` result and no post-return `BootCurrent`/`BootOrder`
91capture.
92
93## Hardware-test ledger
94
95```text
96#86 build-recovery-media — FAILED
97 cause: stale fixed /tmp initrd path / permission denied
98
99#87 build-recovery-media — PASS
100 resource: machine-1
101 exit: 0
102 duration: 20363 ms
103```
104
105No separate `aien-proof` event ID for the attended physical recovery boot
106was captured in the supplied evidence. The PASS receipt is recorded here;
107the ledger event list is not inferred.
108
109## Scope and limitations
110
111- Physical Machine 1 evidence covers the USB boot, read-only root/ESP
112 inspection, fallback loader presence, tool availability, and return to
113 Linux.
114- The filesystem repair tools and boot-entry tools were available, but no
115 repair or boot-entry restore operation was performed.
116- `BootCurrent: 0004` and `BootOrder: 0001,0003,0004` are the recorded
117 recovery-boot values. The prior Linux baseline had `BootCurrent: 0001` and
118 the same BootOrder.
119- Secure Boot was observed enabled immediately before the boot. The
120 abbreviated attended receipt omitted the Secure Boot efivar byte, and no
121 post-return Secure Boot observation was supplied.