Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean install & LUKS errors #1

Open
df0ecc opened this issue Aug 14, 2017 · 6 comments
Open

Clean install & LUKS errors #1

df0ecc opened this issue Aug 14, 2017 · 6 comments

Comments

@df0ecc
Copy link

df0ecc commented Aug 14, 2017

Clean install with LUKS gives the following error...

03:16:48 [0]: Starting job "luksopenswaphookcfg"
03:16:48 [1]: Job "luksopenswaphookcfg" -> "This module sets up the openswap hook for a resumable encrypted swap."
03:16:48 [1]: tbMsg " File "/usr/lib/calamares/modules/luksopenswaphookcfg/main.py", line 84, in run\n partitions, root_mount_point, openswap_conf_path\n\n File "/usr/lib/calamares/modules/luksopenswaphookcfg/main.py", line 48, in write_openswap_conf\n openswap_conf_path), 'r') as openswap_file:\n"
03:16:48 [0]: Installation failed:
03:16:48 [0]: - message: "Boost.Python error in job "luksopenswaphookcfg"."
03:16:48 [0]: - details: "

<class 'FileNotFoundError'>
[Errno 2] No such file or directory: '/tmp/calamares-root-fgm6sdrh/etc/openswap.conf'
Traceback:
  File "/usr/lib/calamares/modules/luksopenswaphookcfg/main.py", line 84, in run\n    partitions, root_mount_point, openswap_conf_path\n\n  File "/usr/lib/calamares/modules/luksopenswaphookcfg/main.py", line 48, in write_openswap_conf\n    openswap_conf_path), 'r') as openswap_file:\n
"
03:16:48 [0]: Calamares will quit when the dialog closes.

@df0ecc df0ecc changed the title Clean install & LUKS Clean install & LUKS errors Aug 14, 2017
@cromerc
Copy link
Member

cromerc commented Aug 18, 2017

Alright, it looks like the new iso should be luks ready actually. Please make sure to download the latest iso and it should now work.

@df0ecc
Copy link
Author

df0ecc commented Aug 18, 2017

When I submitted this comment I had tried the latest available ISO from sourceforge (artix-lxqt-rolling-x86_64.iso from Aug 8th)

@cromerc
Copy link
Member

cromerc commented Aug 18, 2017

Hmm, not sure what could still be wrong then. Any ideas @udeved ?

@adriaandegroot
Copy link

Mostly looks like the installed system doesn't end up with an /etc/openswap.conf file, and the luks module is configured to do something with it. Are you sure it's getting installed from your squashfs (or whatever you use to populate the target filesystem)?

@udeved
Copy link
Member

udeved commented Nov 28, 2017

@adriaandegroot

We use a custom module called chrootcfg, which is essentially a netbootstrap.
We don't extract images, we need to double check if mkinitcpio-openswap is in netinstall yaml, but I think it is.

@udeved
Copy link
Member

udeved commented Nov 28, 2017

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

No branches or pull requests

4 participants