unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Thompson <dthompson2@worcester.edu>
To: Adam Pribyl <pribyl@lowlevel.cz>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: System installation from a USB stick
Date: Thu, 24 Jul 2014 10:26:47 -0400	[thread overview]
Message-ID: <8761im4yu0.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <alpine.DEB.2.00.1407241601580.13012@sandbox.cz>

Adam Pribyl <pribyl@lowlevel.cz> writes:

> On Thu, 24 Jul 2014, David Thompson wrote:
>
>> Adam Pribyl <pribyl@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	other threads:[~2014-07-24 14:27 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-03 20:39 System installation from a USB stick Ludovic Courtès
2014-06-29 22:22 ` Ludovic Courtès
2014-07-01 12:06   ` David Thompson
2014-07-01 21:50     ` David Thompson
2014-07-02 10:22       ` Ludovic Courtès
2014-07-02 11:40         ` David Thompson
2014-07-02 12:23           ` Ludovic Courtès
2014-07-02 10:45     ` Ludovic Courtès
2014-07-03  0:18       ` David Thompson
2014-07-15 14:27   ` Alex Sassmannshausen
2014-07-16  7:14   ` Adam Pribyl
2014-07-16 14:00     ` Ludovic Courtès
2014-07-16 10:02   ` John Darrington
2014-07-16 14:00     ` Ludovic Courtès
2014-07-18  7:04   ` Ludovic Courtès
2014-07-18 11:27     ` Adam Pribyl
2014-07-18 11:28     ` Adam Pribyl
2014-07-18 11:51       ` David Thompson
2014-07-18 18:12         ` Adam Pribyl
2014-07-19 10:52       ` Ludovic Courtès
2014-07-19 12:02         ` Adam Pribyl
2014-07-19 13:15           ` Ludovic Courtès
2014-07-19 13:39             ` Adam Pribyl
2014-07-19 13:47               ` Adam Pribyl
2014-07-19 16:21                 ` Ludovic Courtès
2014-07-19 17:14                   ` Adam Pribyl
2014-07-20  8:58                     ` Ludovic Courtès
2014-07-20 13:48                       ` Ludovic Courtès
2014-07-23 15:58                         ` Ludovic Courtès
2014-07-24 10:09                           ` Adam Pribyl
2014-07-24 11:17                             ` Ludovic Courtès
2014-07-24 11:57                             ` David Thompson
2014-07-24 14:10                               ` Adam Pribyl
2014-07-24 14:26                                 ` David Thompson [this message]
2014-07-24 21:03                             ` Ludovic Courtès
2014-07-21  7:44                       ` Adam Pribyl
2014-07-21 16:09                         ` Ludovic Courtès
2014-07-21 18:16                           ` Adam Pribyl
2014-07-21 18:43                             ` Adam Pribyl
2014-07-21 21:30                               ` Ludovic Courtès
2014-07-21 19:02                           ` Adam Pribyl
2014-07-21 21:40                             ` Ludovic Courtès
2014-07-21 21:59                             ` Ludovic Courtès
2014-07-22 16:21                               ` Ludovic Courtès
2014-07-22 20:26     ` Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761im4yu0.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me \
    --to=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    --cc=pribyl@lowlevel.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).