Skip to content

Add systemd configuration to fix boot and match official archiso - #3

Merged
jakeb-grant merged 1 commit into
mainfrom
claude/fix-archiso-root-lockout-01YDFDLjGakmSxWmiAf8853P
Nov 29, 2025
Merged

jakeb-grant merged 1 commit into
mainfrom
claude/fix-archiso-root-lockout-01YDFDLjGakmSxWmiAf8853P

Conversation

@jakeb-grant

Copy link
Copy Markdown
Owner

The ISO was failing with "Failed to start Switch Root" because we were missing critical systemd configuration that the official archiso releng profile includes.

Added to airootfs/etc:

  • systemd/system/getty@tty1.service.d/autologin.conf (official format)
  • systemd/system/pacman-init.service (initializes pacman keyring)
  • systemd/system/multi-user.target.wants/ symlinks for:
    • NetworkManager.service
    • iwd.service
    • sshd.service
    • pacman-init.service
  • hostname (archiso)
  • locale.conf (en_US.UTF-8)

The autologin.conf now uses the official archiso format with proper agetty options: -o '-p -f -- \u' --noclear --autologin root

Removed dynamic file creation from build scripts since these configs are now properly stored in the repository.

The ISO was failing with "Failed to start Switch Root" because we were
missing critical systemd configuration that the official archiso releng
profile includes.

Added to airootfs/etc:
- systemd/system/getty@tty1.service.d/autologin.conf (official format)
- systemd/system/pacman-init.service (initializes pacman keyring)
- systemd/system/multi-user.target.wants/ symlinks for:
  - NetworkManager.service
  - iwd.service
  - sshd.service
  - pacman-init.service
- hostname (archiso)
- locale.conf (en_US.UTF-8)

The autologin.conf now uses the official archiso format with proper
agetty options: -o '-p -f -- \\u' --noclear --autologin root

Removed dynamic file creation from build scripts since these configs
are now properly stored in the repository.
@jakeb-grant
jakeb-grant merged commit 3e8426c into main Nov 29, 2025
1 check passed
@jakeb-grant
jakeb-grant deleted the claude/fix-archiso-root-lockout-01YDFDLjGakmSxWmiAf8853P branch November 29, 2025 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants