From: ludo@gnu.org (Ludovic Courtès)
To: Adam Pribyl <pribyl@lowlevel.cz>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: System installation from a USB stick
Date: Mon, 21 Jul 2014 23:59:00 +0200 [thread overview]
Message-ID: <87d2cy1ihn.fsf@gnu.org> (raw)
In-Reply-To: <alpine.DEB.2.00.1407212100310.2164@sandbox.cz> (Adam Pribyl's message of "Mon, 21 Jul 2014 21:02:10 +0200 (CEST)")
[-- Attachment #1: Type: text/plain, Size: 195 bytes --]
Adam Pribyl <pribyl@lowlevel.cz> skribis:
> deco stop udev
> mount -t devtmpfs dev /dev
> deco start udev
>
> then /dev is correctly populated.
This patch apparently does the trick similarly:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 517 bytes --]
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index ae12c8e..31f1b74 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -497,6 +497,7 @@ passed to @command{guix-daemon}."
(setenv "LINUX_MODULE_DIRECTORY"
"/run/booted-system/kernel/lib/modules")
+ (mount "none" "/dev" "devtmpfs")
(let ((pid (primitive-fork)))
(case pid
((0)
[-- Attachment #3: Type: text/plain, Size: 123 bytes --]
(We can’t use devtmpfs in ‘mount-essential-file-systems’, which is used
before udev starts, though.)
Ludo’.
next prev parent reply other threads:[~2014-07-21 21:59 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
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 [this message]
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=87d2cy1ihn.fsf@gnu.org \
--to=ludo@gnu.org \
--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).