You are not logged in.

#1 2023-03-30 16:25:40

ArchMark
Member
Registered: 2023-03-30
Posts: 36

archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

I have been attempting to install Arch Linux for some time now on a MSI Katana 15 B13VEK-277US Laptop without success.  I have installed Arch Linux on other systems, older Dell computers, without a problem.  I have been trying archinstall 2.5.3 and now 2.5.4 with more errors and problem.

With archinstall 2.5.3, I found partition the M.2 NVME SSD impossible due to a bug I found documented. Created partitions do not appear in archinstall install process. This prevented me from installing Arch Linux in a dual-boot Windows 10/11 setup. I even tried manually installing Arch Linux many times without success.

When booting archlinux=2023.03.01-x86_64.iso from bootable USB, I attempted to install Arch Linux many times with archinstall 2.5.3 and 2.5.4.  The archinstall 2.5.4 is much worse than previous versions. Archinstall shows errors when trying to save these files and keeps locking randomly throughout the setup process.

ArchInstall 2.5.3 and 2.5.4:

Set/Modify the below options

ArchInstall Language:       set: English (100%)
Keyboard layout             set: us
Mirror region               set: ['United States']
Locale language             set: en_US
Locale encoding             set: utf-8
Drive(s)                    set: 1 Drive(s)
Disk Layout                 set: 2 Partitions
Disk encryption
Bootloader                  set: systemd-bootctl
Swap                        set: True
Hostname:                   set: arch1
Root password               set: ******
User account                set: 1 User(s)
Profile                     set: Profile(desktop)
Audio                       set: pipewire
Kernels                     set: ['linux']
Additional packages         set: ['linux-headers','linux-firmware','firefox','vim']
Network configuration       set: Use NetworkManager
Timezone                    set: US/Eastern
Automatic time sync (NTP)   set: True
Optional repositories       set: ['multilib']

Save configuration
Install
Abort
(Press "/" to search)

Note: when I select 'Save configuration', I saved all configuration files to / or /root and they are never found.  I like to re-use these config files when I re-install Arch Linux (if I ever get it installed on this MSI laptop).

When selecting the Drive(s), I experienced in a dual-boot situation with Windows 10 Pro x64 and Windows 11 Pro x64 setups that creating partiions in archinstall does not create partitions. The partitions do not appear in the list.  Found a bug documented that this is a known issue with NVME SSD's, something to do with the UUIDs I believe. Note that I do not

When selecting the Drive(s) in a UEFI/Secure Boot disabled setup on the MSI laptop in non-dual-boot setup, archinstall 2.5.4 randomly locks up after entering the additional packages or when selecting Install.  When I try to "Save configuration", archinstall 2.5.4 always errors out:

Traceback (most recent call last)"
  File "/usr/bin/archinstall", line 8, in <module>
    sys.exit(run_as_a_module())
  File "/usr/lib/python3.10/site-packages/archinstall/__init__.py" line 312, in run_as_a_module script.execute())
  File "/usr/lib/python3.10/site-packages/archinstall/lib/profiles.py", line 195, in execute self.spec.loader.exec_module(sys.modules[self.namespace])
  File "(frozen importlib._bootstrap_external)", line 883, in exec_module
  File "(frozen importlib._bootstrap)", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/archinstall/examples/lib/configuration.py", line 49, in __init__self.process.config()
  File "/usr/lib/python3.10/archinstall/lib.configuration.py", line 75, in _process_config self._user_credentials['encryption_password'] = self._conf[key].encryption_password
AttributeError:'NoneType' object has no attribute 'encryption_password'

If do not update to archinstall 2.5.4, this error does not occur in 2.5.3.

I have been trying to get Arch Linux installed for several months and keep finding all kinds of problems/bugs.

Are there any known bugs with archinstall 2.5.x (other than partitioning NVME SSDs) running on an Intel i7-13620H CPU?  I have used many linux distributions without problems, especially during the installation phase, and prefer to use/run Arch Linux. Beyond this installation problem, Arch Linux runs great.

System information:

MSI Katana 15 B13VEK-277US Laptop
Intel i7-13620H 1.8Ghz/4.9Ghz
16GB DDR5-5600 (64GB max)
Micron 2400 1TB M.2 Gen 4x4 SSD drive
Nvidia GeForce RTX 4050 Laptop GPU GDDR6
Wireless: Intel Wi-Fi 6 AX201 160MHz
LAN: Realtek PCIe GbE Family Controller

Note: UEFI mode, Secure Boot disabled

ArchLinux ISO images used:
archlinux=2023.01.01-x86_64.iso
archlinux=2023.02.01-x86_64.iso

archlinux=2023.03.01-x86_64.iso

Last edited by ArchMark (2023-03-30 21:39:56)

Offline

#2 2023-03-30 18:24:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,331

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

Moving to the guided installer subsection, please try to do so directly as that way the installer developer gets notified directly.

Might also want to wrap the outputs in code tags to make them more readable.

Last edited by V1del (2023-03-30 18:25:07)

Offline

#3 2023-03-30 21:41:21

ArchMark
Member
Registered: 2023-03-30
Posts: 36

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

V1del wrote:

Moving to the guided installer subsection, please try to do so directly as that way the installer developer gets notified directly.

Might also want to wrap the outputs in code tags to make them more readable.

Thank you for moving to the appropriate section.  I am new to Arch Linux, but not to Linux.  Updated my post with some BBCode tags.

Offline

#4 2023-03-30 22:50:32

ArchMark
Member
Registered: 2023-03-30
Posts: 36

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

ArchMark wrote:
Traceback (most recent call last)"
  File "/usr/bin/archinstall", line 8, in <module>
    sys.exit(run_as_a_module())
  File "/usr/lib/python3.10/site-packages/archinstall/__init__.py" line 312, in run_as_a_module script.execute())
  File "/usr/lib/python3.10/site-packages/archinstall/lib/profiles.py", line 195, in execute self.spec.loader.exec_module(sys.modules[self.namespace])
  File "(frozen importlib._bootstrap_external)", line 883, in exec_module
  File "(frozen importlib._bootstrap)", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/archinstall/examples/lib/configuration.py", line 49, in __init__self.process.config()
  File "/usr/lib/python3.10/archinstall/lib.configuration.py", line 75, in _process_config self._user_credentials['encryption_password'] = self._conf[key].encryption_password
AttributeError:'NoneType' object has no attribute 'encryption_password'

I hope this fix gets released soon so I can install ArchLinux.

Offline

#5 2023-03-30 23:11:17

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

You can always install using the Installation Guide -- it is really not that hard, especially if you are "not new to Linux".

Offline

#6 2023-03-31 07:19:16

Torxed
Member
Registered: 2013-01-10
Posts: 200

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

This has been patched in PR#1705

Last edited by Torxed (2023-03-31 07:19:46)

Offline

#7 2023-03-31 10:34:30

ArchMark
Member
Registered: 2023-03-30
Posts: 36

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

2ManyDogs wrote:

You can always install using the Installation Guide -- it is really not that hard, especially if you are "not new to Linux".

I have already tried that several times. I have had varied experiences with Arch Linux installation process results that ended up in error due to a dual-boot setup with Windows 10/11.  Majority of the errors experienced I found as bugs or other problems with installed interfaces.

When I used to install Red Hat Linux 1.0 (some time ago), I used to manually install Linux all the time.  Over the decades/years of using automated installers has made it easy to install Linux and when I am trying to re-learn those manual methods is somewhat challenging now.  Technology has changed.

Offline

#8 2023-04-01 10:01:56

Cheeto
Member
Registered: 2022-09-11
Posts: 64

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

Any updates on this?

I waited until today to get the April iso, but I'm still getting this error.

I believe it's related to not selecting encryption...? I don't want encryption, but there's no option for "none" or "false". As a result, if you just skip the encryption setting (equivalent to setting it to false/none IMO), then there is therefore no way to set a password for it (obviously) but then archinstall shits the bed because there's no password for it.

Last edited by Cheeto (2023-04-01 11:18:43)

Offline

#9 2023-04-01 10:35:51

progandy
Member
Registered: 2012-05-17
Posts: 5,269

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

Cheeto wrote:

Any updates on this?

I waited until today to get the April iso, but I'm still getting this error.

There has not been a new release of archinstall yet, so the april 1st iso is still using 2.5.4.

You can try to apply the fix yourself in /usr/lib/python3.10/site-packages/archinstall/lib/configuration.py: https://github.com/archlinux/archinstal … cfeca42dd5


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#10 2023-04-02 19:14:34

Torxed
Member
Registered: 2013-01-10
Posts: 200

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

I released v2.5.5, so a simple `pacman -Sy archinstall` in the ISO should do the trick smile

Offline

#11 2023-04-03 00:53:41

ArchMark
Member
Registered: 2023-03-30
Posts: 36

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

Torxed wrote:

I released v2.5.5, so a simple `pacman -Sy archinstall` in the ISO should do the trick smile

Thank you!  This allowed me to get Arch Linux installed.

Offline

#12 2023-04-03 13:28:45

Torxed
Member
Registered: 2013-01-10
Posts: 200

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

Felt bad reading it a second time, I released a new version but a huge thank you goes out to those who package the actual package! It's a team effort!

Glad it worked out! smile

Offline

#13 2023-04-04 17:33:23

Tart Cart
Member
Registered: 2022-12-02
Posts: 5

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

Torxed wrote:

I released v2.5.5, so a simple `pacman -Sy archinstall` in the ISO should do the trick smile

Thank you, this worked for me also!

Offline

#14 2023-04-10 07:33:57

vann
Member
Registered: 2023-04-10
Posts: 1

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

Torxed wrote:

I released v2.5.5, so a simple `pacman -Sy archinstall` in the ISO should do the trick smile

Thanks it work

Last edited by vann (2023-04-10 07:34:14)

Offline

#15 2023-04-21 17:00:41

timblaktu
Member
Registered: 2023-04-21
Posts: 4

Re: archinstall 2.5.4 (and 2.5.3) errors while installing Arch LInux

Thanks Torxed, this unblocked me as well, installing arch 1st time on a new thinkpad.

@Torxed, Is there not any test automation for the archinstall script? IMO its not worth having an install script if it's only tested manually by newbies who would have saved time by doing the manual install.

Everyone's time is valuable, and I just want to make things better, so do point me in the right direction towards how/where i can help with this effort. Thanks.

Offline

Board footer

Powered by FluxBB