Skip to content

Fix root account lockout in archiso build - #1

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

jakeb-grant merged 2 commits into
mainfrom
claude/fix-archiso-root-lockout-01YDFDLjGakmSxWmiAf8853P

Conversation

@jakeb-grant

Copy link
Copy Markdown
Owner

No description provided.

Claude added 2 commits November 29, 2025 21:07
The system was dropping to emergency mode during boot and showing
"root account is locked" because /etc/group was missing from airootfs.
Without this file, sulogin cannot properly authenticate the root user.

- Add archiso/airootfs/etc/group with root group definition
- Update profiledef.sh and profiledef-fast.sh to set correct permissions
Package fixes:
- Add dhcpcd and iwd packages for network setup (installer uses these)
- Replace deprecated exfat-utils with exfatprogs

Installer fixes:
- Fix ROOT_PART_ORIG variable: save original partition path in
  format_partitions() before it's changed to /dev/mapper/cryptroot,
  so GRUB encryption config uses correct device UUID
- Fix tzselect: run interactively before HEREDOC creation instead
  of embedding $(tzselect) which wouldn't work inside the heredoc
@jakeb-grant
jakeb-grant merged commit 6a6d64b into main Nov 29, 2025
1 check failed
@jakeb-grant
jakeb-grant deleted the claude/fix-archiso-root-lockout-01YDFDLjGakmSxWmiAf8853P branch November 29, 2025 21:19
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