# Having trouble doing system reconfigure with new install

**URL:** <https://forum.systemcrafters.net/t/having-trouble-doing-system-reconfigure-with-new-install/1148>\
**Category:** Guix\
**Created:** [November 17, 2024, 11:18pm UTC](https://forum.systemcrafters.net/t/having-trouble-doing-system-reconfigure-with-new-install/1148 "2024-11-17T23:18:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcl](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@mcl](https://forum.systemcrafters.net/u/mcl)\
**Post date:** [November 17, 2024, 11:18pm UTC](https://forum.systemcrafters.net/t/having-trouble-doing-system-reconfigure-with-new-install/1148/1 "2024-11-17T23:18:31Z")

</div>

I installed guix onto a laptop using the system crafters installer (Nov 8th version). The system reconfigure at the end of the install process exits with an error. Looking at the log (attached) it’s not readily clear to me what the issue is:

> make[2]: \*\*\* [scripts/Makefile.vmlinux\_o:62: vmlinux.o] Error 137  
> make[2]: \*\*\* Deleting file ‘vmlinux.o’  
> make[1]: \*\*\* [/tmp/guix-build-linux-6.11.7.drv-0/linux-6.11.7/Makefile:1138: vmlinux\_o] Error 2  
> make: \*\*\* [Makefile:224: \_\_sub-make] Error 2  
> error: in phase ‘build’: uncaught exception:  
> %exception #\<&invoke-error program: “make” arguments: (“-j” “4”) exit-status: 2 term-signal: #f stop-signal: #f\>  
> phase `build’ failed after 17825.9 seconds  
> command “make” “-j” “4” failed with status 2  
> build process 6 exited with status 256

What’s weird is that the reconfigure runs for ~3-4 hours before exiting with an error. My laptop has 8 Gb of ram. Maybe that’s not enough? Thanks.

[reconfigure-log.txt](https://forum.systemcrafters.net/uploads/short-url/fQYN05zbpDKfszsfdlZ9RNN2wsp.txt) (5.6 MB)

---

<div class="post-metadata">

**Author:** ![dgr](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.systemcrafters.net/dgr/32/394_2.png) [@dgr](https://forum.systemcrafters.net/u/dgr)\
**Post date:** [November 18, 2024, 8:21am UTC](https://forum.systemcrafters.net/t/having-trouble-doing-system-reconfigure-with-new-install/1148/2 "2024-11-18T08:21:07Z")

</div>

Compiling the kernel on a laptop isn’t optimal. Did you enable the substitutes?

[https://systemcrafters.net/craft-your-system-with-guix/everyday-package-management/#avoiding-package-compilation](https://systemcrafters.net/craft-your-system-with-guix/everyday-package-management/#avoiding-package-compilation)

---

<div class="post-metadata">

**Author:** ![mcl](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@mcl](https://forum.systemcrafters.net/u/mcl)\
**Post date:** [November 19, 2024, 9:42pm UTC](https://forum.systemcrafters.net/t/having-trouble-doing-system-reconfigure-with-new-install/1148/3 "2024-11-19T21:42:48Z")

</div>

That’s what I missed! I added the non guix channel, but I didn’t do the last two crucial steps specified in the [nonguix readme](https://gitlab.com/nonguix/nonguix/-/blob/master/README.org):

> Guix System will only use the substitution server after it has been  
> reconfigured. The substitution server will therefore by default not  
> be used the first time you run guix system reconfigure after adding  
> the substitution server. It is therefore recommended to explicitly  
> specify the use of the substitution server the first time  
> you reconfigure your system:

```auto
sudo guix archive --authorize < signing-key.pub
sudo guix system reconfigure /etc/config.scm --substitute-urls='https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org'

```

Once I did the steps specified above I was able to reconfigure! Thanks for the help!
