You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1d037d0
Browse filesBrowse the repository at this point in the historyBrowse files
Add `--boot-once` to schedule the new EFI entry as the next boot only via `efibootmgr --bootnext`, leaving your permanent `BootOrder` unchanged until you confirm the trial boot succeeded. The same flag is available on `generate` if you only want to register the UKI entry without running `bootctl update`.
231
-
232
-
```bash
233
-
sudo rustyuki install --boot-once
234
-
```
235
+
Use `generate --boot-once` if you want one-time trial semantics without running `bootctl update`.
235
236
236
237
#### `reconcile` — Rebuild all installed kernel UKIs and prune stale artifacts
237
238
@@ -243,7 +244,7 @@ sudo rustyuki reconcile
243
244
244
245
#### `confirm` — Make a successful trial boot permanent
245
246
246
-
After booting the one-time UKI successfully, run `confirm` from that booted system. RustyUKI reads `BootCurrent` and moves that entry to the front of `BootOrder`, making the tested UKI your permanent default.
247
+
After booting the one-time UKI successfully, `rustyuki-boot-confirm.service` runs automatically early in userspace and calls `rustyuki confirm`. `confirm` reads `BootCurrent`, moves that entry to the front of `BootOrder`, and clears `BootNext`.
247
248
248
249
```bash
249
250
sudo rustyuki confirm
@@ -265,12 +266,12 @@ For first-time GRUB replacement or any risky UKI change, prefer a one-time boot
265
266
266
267
```bash
267
268
# Build the UKI, refresh the ESP, and schedule it for the next boot only
268
-
sudo rustyuki install --boot-once
269
+
sudo rustyuki install
269
270
270
271
# Reboot normally; firmware will use BootNext exactly once
271
272
sudo reboot
272
273
273
-
#If the system came back successfully from the UKI, make it permanent
274
+
#Optional manual confirmation (normally done automatically by systemd service)
274
275
sudo rustyuki confirm
275
276
```
276
277
@@ -289,12 +290,12 @@ sudo rustyuki status
289
290
sudo rustyuki generate --dry-run
290
291
291
292
# Step 3 — build and schedule a one-time trial boot
292
-
sudo rustyuki install --boot-once
293
+
sudo rustyuki install
293
294
294
295
# Step 4 — reboot normally and let BootNext test the UKI once
295
296
sudo reboot
296
297
297
-
# Step 5 — after a successful UKI boot, make it permanent
298
+
# Step 5 — optional manual confirmation (auto-confirm service handles this on success)
0 commit comments