Adam Pribyl <pri...@lowlevel.cz> writes:

> On Thu, 24 Jul 2014, David Thompson wrote:
>
>> Adam Pribyl <pri...@lowlevel.cz> writes:
>>
>>> I can not boot installed system, boot looks for /dev/sda1 which is not
>>> present. It smells to me like the same problem with devtmpfs previously in
>>> live USB... I found in grub the reference to /dev/sda1 (as LiveUSB now
>>> with udev in devtmpfs and kernel 3.15.6 asigns the HDD /dev/sda) but it
>>> looks like the kernel booting from HDD is not seeing it like this.
>>
>> This could be an instance of the problem that bit me last night.  The
>> version of Guix that gets installed (0.6, as you mentioned in your
>> notes), uses an initrd that cannot see SATA hard disks.  So, as a
>> work-around, you must explicitly add the relevant kernel modules in your
>> operating-system definition like so:
>>
>>  (use-modules (gnu) (srfi srfi-26))
>>
>>  (define my-os
>>    (operating-system
>>      ...
>>      (initrd (cut base-initrd <> #:extra-modules '("libahci.ko" "ahci.ko")))
>>      ...))
>
> OK, this was it. No it's booting! Thanks.

Awesome!

> Notes continued:
>
> - guix package -i results in a need to "chgrp 30000 
> /gnu/store..."

This issue is resolved in guix master, which as we know is different
than what got installed on your system.

> - attempt to install any package I tried results in a build 
> process of many packages including gcc and linux-libre-3.3.8-gnu
> I do not understand why this is happening

This is because you need to authorize hydra.gnu.org for fetching
substitutes, it is not authorized by default.  You need to run:

  guix archive --authorize < 
/gnu/store/p8wran9sj59ryl2fz2vlrhzy55xh7hny-guix-0.6.20b1d19/share/guix/hydra.gnu.org.pub

I think it would be nice if hydra.gnu.org was authorized by default.

Thanks for trying things out!

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

Reply via email to