From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fredrik Salomonsson Subject: Re: sha256 hash mismatch Date: Wed, 21 Nov 2018 10:23:13 -0800 Message-ID: References: <87tvkaga1b.fsf@gmail.com> <99bc1728-8a95-b3ac-1595-f2a0f77b6236@riseup.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a7b2d0057b30d815" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPX9u-0007I2-VB for help-guix@gnu.org; Wed, 21 Nov 2018 13:23:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPX9t-0002Jf-0T for help-guix@gnu.org; Wed, 21 Nov 2018 13:23:30 -0500 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]:46940) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPX9s-0002HC-M8 for help-guix@gnu.org; Wed, 21 Nov 2018 13:23:28 -0500 Received: by mail-qt1-x830.google.com with SMTP id y20so4868964qtm.13 for ; Wed, 21 Nov 2018 10:23:28 -0800 (PST) In-Reply-To: <99bc1728-8a95-b3ac-1595-f2a0f77b6236@riseup.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: swedebugia Cc: help-guix --000000000000a7b2d0057b30d815 Content-Type: text/plain; charset="UTF-8" > swedebugia writes: > Installing a simpler config.scm and going incrementally forward with > small changes might be worth considering. Yeah, I refactored my config.scm to clean up all the mount flags I need for btrfs. As well as to make sure the root is mounted before the other mounts (gnu/store, grub etc). So I might have screwed up something. Although I have never got GuixSD to work with this config so could be something completely different. Is there a quick way to just load the config.scm into the guile REPL when booted into the iso and inspect the operating-system record? To make sure everything looks good before running the whole install process. As the whole task of setup wifi -> setup ssh -> guix system init -> reboot turn around is quite long. I guess I could just write script and put that on the iso to speed it up. > Especially given that our guix/guile error messages can sometimes be > quite cryptic if you dont know exactly what change caused the error. Indeed, I had to look into the source code for why it was complaining about my home file-system couldn't list the root file-system as a dependency. Turns out it was because root has `needed-for-boot?' set to true where as home didn't. Den ons 21 nov. 2018 kl 08:00 skrev swedebugia : > On 2018-11-21 08:33, Fredrik Salomonsson wrote: > > swedebugia writes: > snip > > > > > Put berlin first in the --substitute-urls and did a guix pull to one > > commit that had the most packages built. Using > > http://berlin.guixsd.org/jobset/guix-master to pick out the commit. > > > > The install took less than 20min on my x220. Thanks for all the help! > > > :D Great that you got past the init state. > > > > > Though I needed to manually hack the grub.cfg to be able to > > boot. Otherwise it wouldn't find the kernel. > > > > Now it get stuck when trying to mount the filesystem. Backtrace shows > > it's failing in ./gnu/build/file-system.scm 613:6 > > > > Might have something misconfigured in my config file. Anyways that's not > > what this thread is about. If I cannot figure it out I'll send another > > email. > > > > Thanks again for the help! > > > > Installing a simpler config.scm and going incrementally forward with > small changes might be worth considering. > > Especially given that our guix/guile error messages can sometimes be > quite cryptic if you dont know exactly what change caused the error. > > -- > Cheers Swedebugia > -- s/Fred[re]+i[ck]+/Fredrik/g --000000000000a7b2d0057b30d815 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> swedebugia <swedebugia@riseup.net> writes:

&g= t; Installing a simpler config.scm and going incrementally forward with=C2= =A0
> small changes might be worth considering.

=
Yeah, I refactored my config.scm to clean up all the mount flags= I need
for btrfs. As well as to make sure the root is mounted be= fore the other
mounts (gnu/store, grub etc). So I might have scre= wed up
something. Although I have never got GuixSD to work with t= his config so
could be something completely different.
=
Is there a quick way to just load the config.scm into the gu= ile REPL
when booted into the iso and inspect the operating-syste= m record? To
make sure everything looks good before running the w= hole install
process.=C2=A0

As the whole= task of setup wifi -> setup ssh -> guix system init ->
= reboot turn around is quite long. I guess I could just write script and
put that on the iso to speed it up.

> Es= pecially given that our guix/guile error messages can sometimes be=C2=A0
> quite cryptic if you dont know exactly what change caused the = error.

Indeed, I had to look into the source code = for why it was complaining
about my home file-system couldn't= list the root file-system as a
dependency. Turns out it was beca= use root has `needed-for-boot?' set to
true where as home did= n't.

Den ons 21 nov. 2018 kl 08:00 skrev swedebugia <swedebugia@riseup.net>:
On 2018-11-21 08:33, Fredrik Salomonsso= n wrote:
> swedebugia <swedebugia@riseup.net> writes:
snip

>
> Put berlin first in the --substitute-urls and did a guix pull to one > commit that had the most packages built. Using
> http://berlin.guixsd.org/jobset/guix-master to p= ick out the commit.
>
> The install took less than 20min on my x220. Thanks for all the help!<= br>

:D Great that you got past the init state.

>
> Though I needed to manually hack the grub.cfg to be able to
> boot. Otherwise it wouldn't find the kernel.
>
> Now it get stuck when trying to mount the filesystem. Backtrace shows<= br> > it's failing in ./gnu/build/file-system.scm 613:6
>
> Might have something misconfigured in my config file. Anyways that'= ;s not
> what this thread is about. If I cannot figure it out I'll send ano= ther
> email.
>
> Thanks again for the help!
>

Installing a simpler config.scm and going incrementally forward with
small changes might be worth considering.

Especially given that our guix/guile error messages can sometimes be
quite cryptic if you dont know exactly what change caused the error.

--
Cheers Swedebugia


--
s/Fred[re]+i[ck]+/Fredrik/g
=
--000000000000a7b2d0057b30d815--