From aef3909521a58c3ba2e1af99002a84d8d3c58a55 Mon Sep 17 00:00:00 2001 From: h8d13 Date: Mon, 5 Jan 2026 09:46:27 +0100 Subject: [PATCH 1/7] Helper text for post install. Avoids rebooting back into ISO --- archinstall/lib/interactions/general_conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/archinstall/lib/interactions/general_conf.py b/archinstall/lib/interactions/general_conf.py index e0a250ffee..4f6cddc809 100644 --- a/archinstall/lib/interactions/general_conf.py +++ b/archinstall/lib/interactions/general_conf.py @@ -275,6 +275,7 @@ def ask_post_installation(elapsed_time: float | None = None) -> PostInstallation seconds = int(elapsed_time % 60) header += f' in {minutes}m{seconds}s' + '\n' header += tr('What would you like to do next?') + '\n' + header += tr('Usually reboot, change boot priority in motherboard settings.') + '\n' items = [MenuItem(action.value, value=action) for action in PostInstallationAction] group = MenuItemGroup(items) From 3b06de98c2f7527280e94b43ab9c266e2077e8d2 Mon Sep 17 00:00:00 2001 From: h8d13 Date: Mon, 5 Jan 2026 09:47:59 +0100 Subject: [PATCH 2/7] Better help text --- archinstall/lib/interactions/general_conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/interactions/general_conf.py b/archinstall/lib/interactions/general_conf.py index 4f6cddc809..d3e6b591f4 100644 --- a/archinstall/lib/interactions/general_conf.py +++ b/archinstall/lib/interactions/general_conf.py @@ -275,7 +275,7 @@ def ask_post_installation(elapsed_time: float | None = None) -> PostInstallation seconds = int(elapsed_time % 60) header += f' in {minutes}m{seconds}s' + '\n' header += tr('What would you like to do next?') + '\n' - header += tr('Usually reboot, change boot priority in motherboard settings.') + '\n' + header += tr('Usually reboot, remove install medium. \n And change boot priority in motherboard settings.') + '\n' items = [MenuItem(action.value, value=action) for action in PostInstallationAction] group = MenuItemGroup(items) From 247f5d09b40eb1c0c98efe7dfa9851c4549135ac Mon Sep 17 00:00:00 2001 From: h8d13 Date: Mon, 5 Jan 2026 09:53:36 +0100 Subject: [PATCH 3/7] Formatting --- archinstall/lib/interactions/general_conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/interactions/general_conf.py b/archinstall/lib/interactions/general_conf.py index d3e6b591f4..ec61a009da 100644 --- a/archinstall/lib/interactions/general_conf.py +++ b/archinstall/lib/interactions/general_conf.py @@ -275,7 +275,7 @@ def ask_post_installation(elapsed_time: float | None = None) -> PostInstallation seconds = int(elapsed_time % 60) header += f' in {minutes}m{seconds}s' + '\n' header += tr('What would you like to do next?') + '\n' - header += tr('Usually reboot, remove install medium. \n And change boot priority in motherboard settings.') + '\n' + header += tr('\nUsually reboot, remove install medium. \nAnd change boot priority in motherboard settings.') + '\n' items = [MenuItem(action.value, value=action) for action in PostInstallationAction] group = MenuItemGroup(items) From 6a2647680109dc3b88c45ba3be217717fba12113 Mon Sep 17 00:00:00 2001 From: h8d13 Date: Mon, 5 Jan 2026 10:14:23 +0100 Subject: [PATCH 4/7] Shorten --- archinstall/lib/interactions/general_conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/interactions/general_conf.py b/archinstall/lib/interactions/general_conf.py index ec61a009da..88e658c549 100644 --- a/archinstall/lib/interactions/general_conf.py +++ b/archinstall/lib/interactions/general_conf.py @@ -275,7 +275,7 @@ def ask_post_installation(elapsed_time: float | None = None) -> PostInstallation seconds = int(elapsed_time % 60) header += f' in {minutes}m{seconds}s' + '\n' header += tr('What would you like to do next?') + '\n' - header += tr('\nUsually reboot, remove install medium. \nAnd change boot priority in motherboard settings.') + '\n' + header += tr('\nUsually reboot, remove install medium. \nAnd change boot priority in BIOS settings.') + '\n' items = [MenuItem(action.value, value=action) for action in PostInstallationAction] group = MenuItemGroup(items) From e81ca2a291a78e28e68518013b97e69ae1d3fe62 Mon Sep 17 00:00:00 2001 From: h8d13 Date: Tue, 6 Jan 2026 11:04:45 +0100 Subject: [PATCH 5/7] Svart feedback --- archinstall/lib/interactions/general_conf.py | 3 +-- archinstall/scripts/guided.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/archinstall/lib/interactions/general_conf.py b/archinstall/lib/interactions/general_conf.py index 88e658c549..e1adf82701 100644 --- a/archinstall/lib/interactions/general_conf.py +++ b/archinstall/lib/interactions/general_conf.py @@ -19,8 +19,8 @@ class PostInstallationAction(Enum): + REBOOT = tr('Reboot system (and remove install media)') EXIT = tr('Exit archinstall') - REBOOT = tr('Reboot system') CHROOT = tr('chroot into installation for post-installation configurations') @@ -275,7 +275,6 @@ def ask_post_installation(elapsed_time: float | None = None) -> PostInstallation seconds = int(elapsed_time % 60) header += f' in {minutes}m{seconds}s' + '\n' header += tr('What would you like to do next?') + '\n' - header += tr('\nUsually reboot, remove install medium. \nAnd change boot priority in BIOS settings.') + '\n' items = [MenuItem(action.value, value=action) for action in PostInstallationAction] group = MenuItemGroup(items) diff --git a/archinstall/scripts/guided.py b/archinstall/scripts/guided.py index 70e6cb89ab..24dc1d04a5 100644 --- a/archinstall/scripts/guided.py +++ b/archinstall/scripts/guided.py @@ -174,10 +174,10 @@ def perform_installation(mountpoint: Path) -> None: action = ask_post_installation(elapsed_time) match action: - case PostInstallationAction.EXIT: - pass case PostInstallationAction.REBOOT: os.system('reboot') + case PostInstallationAction.EXIT: + pass case PostInstallationAction.CHROOT: try: installation.drop_to_shell() From f3d6fe0c6b4c70084bd4e8d08afcf1a9cbac027d Mon Sep 17 00:00:00 2001 From: h8d13 Date: Wed, 7 Jan 2026 00:06:43 +0100 Subject: [PATCH 6/7] Revert previous changes Add simpler header text --- archinstall/lib/interactions/general_conf.py | 5 +++-- archinstall/scripts/guided.py | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/archinstall/lib/interactions/general_conf.py b/archinstall/lib/interactions/general_conf.py index e1adf82701..29abafb238 100644 --- a/archinstall/lib/interactions/general_conf.py +++ b/archinstall/lib/interactions/general_conf.py @@ -19,9 +19,9 @@ class PostInstallationAction(Enum): - REBOOT = tr('Reboot system (and remove install media)') EXIT = tr('Exit archinstall') - CHROOT = tr('chroot into installation for post-installation configurations') + REBOOT = tr('Reboot system') + CHROOT = tr('Chroot into installation for post-installation configurations') def ask_ntp(preset: bool = True) -> bool: @@ -275,6 +275,7 @@ def ask_post_installation(elapsed_time: float | None = None) -> PostInstallation seconds = int(elapsed_time % 60) header += f' in {minutes}m{seconds}s' + '\n' header += tr('What would you like to do next?') + '\n' + header += tr('\nAfter reboot, remove the installation medium') + '\n' items = [MenuItem(action.value, value=action) for action in PostInstallationAction] group = MenuItemGroup(items) diff --git a/archinstall/scripts/guided.py b/archinstall/scripts/guided.py index 24dc1d04a5..70e6cb89ab 100644 --- a/archinstall/scripts/guided.py +++ b/archinstall/scripts/guided.py @@ -174,10 +174,10 @@ def perform_installation(mountpoint: Path) -> None: action = ask_post_installation(elapsed_time) match action: - case PostInstallationAction.REBOOT: - os.system('reboot') case PostInstallationAction.EXIT: pass + case PostInstallationAction.REBOOT: + os.system('reboot') case PostInstallationAction.CHROOT: try: installation.drop_to_shell() From 8394de659e458febe796c6457ecc3a10987bd37d Mon Sep 17 00:00:00 2001 From: h8d13 Date: Wed, 7 Jan 2026 13:01:48 +0100 Subject: [PATCH 7/7] all lowercase --- archinstall/lib/interactions/general_conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/archinstall/lib/interactions/general_conf.py b/archinstall/lib/interactions/general_conf.py index 29abafb238..b0f622e3ec 100644 --- a/archinstall/lib/interactions/general_conf.py +++ b/archinstall/lib/interactions/general_conf.py @@ -19,9 +19,9 @@ class PostInstallationAction(Enum): - EXIT = tr('Exit archinstall') - REBOOT = tr('Reboot system') - CHROOT = tr('Chroot into installation for post-installation configurations') + EXIT = tr('exit archinstall') + REBOOT = tr('reboot system') + CHROOT = tr('chroot into installation for post-installation configurations') def ask_ntp(preset: bool = True) -> bool: