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 07:57:56 -0400	[thread overview]
Message-ID: <87d2cv3r5n.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <alpine.DEB.2.00.1407241027200.27509@sandbox.cz>

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")))
      ...))

Additionally, as Ludovic has already mentioned, I find that using device
labels is much better than hoping that the /dev nodes on the
installation image are the same as the /dev nodes on the installed
system.

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

  parent reply	other threads:[~2014-07-24 11:58 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 [this message]
2014-07-24 14:10                               ` Adam Pribyl
2014-07-24 14:26                                 ` David Thompson
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=87d2cv3r5n.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).