Commit Graph

16 Commits (6ccc91303f5fa64c94a08f15a38ab5bcd1407b22)

Author SHA1 Message Date
The_miro 6ccc91303f fix(setup): port KEYMAPS+vconsole support to auto-installer and answerfile generator
arch-autoinstall.sh was missing the keymap handling added to the guided
installer in the previous two commits, so booting the ISO in auto mode
(answerfile embedded) never called loadkeys and left the installed system
with no /etc/vconsole.conf.

- Add the same KEYMAPS array + selection logic to arch-autoinstall.sh
  (AF mode reads .keymap, interactive mode prompts)
- Call loadkeys and export KEYMAP into the chroot
- Write /etc/vconsole.conf inside the chroot
- Add keymap dialog to generate-answerfile.sh so the field is populated
- Document .keymap in the arch-autoinstall.sh answerfile field list

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 00:01:19 +02:00
The_miro e25dd231cb installer: add no-encryption option and auto LUKS backup key
Both arch-autoinstall.sh and archbaseos-guided-install.sh now ask
whether to enable disk encryption. If skipped, btrfs is formatted
directly on the root partition with an appropriate plain GRUB cmdline
(root=UUID=... rootflags=subvol=@).

When encryption is chosen, a 64-byte random key is generated, enrolled
as a second LUKS keyslot, and written to /_LUKS_BACKUP_KEY inside the
new system (mode 400, root-owned, inside the encrypted container).

Also fixes: duplicate 'encrypt' hook in original mkinitcpio HOOKS
strings, missing KERNEL export into arch-autoinstall chroot heredoc.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 15:24:29 +02:00
The_miro a56d27888c setup: add archiso profile and run tui-install inside chroot
- Add setup/archiso/ with build.sh, releng overlay, motd, and
  install-arch launcher command for the live ISO
- Fix cryptroot mapper name in arch-autoinstall.sh (was 'root',
  breaking all subsequent mounts)
- Add base-devel to pacstrap in both installers (required for yay/makepkg)
- Clone dotfiles inside chroot so tui-install.sh is available immediately
- After base install, offer to run tui-install.sh as the regular user
  inside the chroot via runuser, with a temporary NOPASSWD sudoers rule;
  skip option available for base-only installs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 13:46:49 +02:00
The_miro fef9cfc235 Update setup/arch-autoinstall.sh 2025-12-03 09:54:04 +01:00
The_miro 91ed6145b9 set bootloader ID 2025-12-03 09:52:48 +01:00
The_miro e786e66b59 being extra safe with the KMs i'm adding 2025-12-03 09:45:36 +01:00
The_miro 6a2e6be98e added more initramfs hooks 2025-12-03 09:35:13 +01:00
The_miro ab1ae16319 fixed Cryptsetup command mayyybeeeee????? 2025-12-03 09:25:51 +01:00
The_miro b59212937d var fix kernel install? 2025-11-29 15:35:39 +01:00
The_miro 7594ae1e91 pactrap -K 2025-11-29 15:24:59 +01:00
The_miro daa8490601 manually set kernel when mkinicpio 2025-11-29 15:01:18 +01:00
The_miro 486f32443b chmod 2025-11-29 12:58:03 +01:00
The_miro 82742c122c install now get left in bootpart 2025-11-29 12:53:50 +01:00
The_miro 110e55ee11 autoinstall logging - vars 2025-11-29 12:05:32 +01:00
The_miro 992dcbafaf autoinstall logging 2025-11-29 11:59:33 +01:00
The_miro 533932c02c also why not pass it to another llm, to speed the BS up 2025-11-29 05:21:34 +01:00