unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Installing the system from another distro
@ 2014-11-24 13:43 Alex Kost
  2014-11-24 17:21 ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Alex Kost @ 2014-11-24 13:43 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

Hello, I've tried to install the Guix system from my current system
("Arch Linux") where I use the Guix package manager:

  ./pre-inst-env guix system init /path/to/my-os-config.scm /mnt/guix

Unfortunately it failed (os-config and the backtrace are attached).
So I wonder: is installing from another distro supported? or the only
right way is to use an usb image?

Thanks in advance.


[-- Attachment #2: os-config.scm --]
[-- Type: text/plain, Size: 485 bytes --]

(use-modules (gnu))

(operating-system
  (host-name "hn")
  (timezone "Europe/Paris")

  (bootloader
   (grub-configuration (device "/dev/sda")))

  (file-systems
   (cons (file-system
           (device "/dev/sda7")
           (mount-point "/")
           (type "ext4"))
         %base-file-systems))

  (users
   (list (user-account
          (name "al")
          (home-directory "/home/al")
          (group "users")
          (supplementary-groups '("wheel" "audio" "video"))))))

[-- Attachment #3: fail-log --]
[-- Type: text/plain, Size: 1335 bytes --]

Backtrace:
In ice-9/boot-9.scm:
 157: 17 [catch #t #<catch-closure 85f7c10> ...]
In unknown file:
   ?: 16 [apply-smob/1 #<catch-closure 85f7c10>]
In ice-9/boot-9.scm:
  63: 15 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 14 [eval # #]
In ice-9/boot-9.scm:
2401: 13 [save-module-excursion #<procedure 8606ca0 at ice-9/boot-9.scm:4045:3 ()>]
4050: 12 [#<procedure 8606ca0 at ice-9/boot-9.scm:4045:3 ()>]
1724: 11 [%start-stack load-stack ...]
1729: 10 [#<procedure 860c708 ()>]
In unknown file:
   ?: 9 [primitive-load "/media/storage/src/guix/scripts/guix"]
In guix/ui.scm:
 776: 8 [run-guix-command system "init" ...]
In ice-9/boot-9.scm:
 157: 7 [catch srfi-34 #<procedure 8f7ceb0 at guix/ui.scm:217:2 ()> ...]
 157: 6 [catch system-error ...]
In guix/monads.scm:
 469: 5 [run-with-store # ...]
In guix/scripts/system.scm:
 309: 4 [#<procedure 92a7e10 at guix/scripts/system.scm:309:2 (store)> #]
In gnu/system.scm:
 702: 3 [#<procedure 9781150 at gnu/system.scm:702:2 (store)> #]
 449: 2 [#<procedure 9781168 at gnu/system.scm:449:2 (store)> #]
 455: 1 [#<procedure 8fd76e0 at gnu/system.scm:449:2 (services)> (# # # # ...)]
In unknown file:
   ?: 0 [concatenate (() () () () () () () () () ...)]

ERROR: In procedure concatenate:
ERROR: In procedure append: Wrong type argument in position 19 (expecting empty list): #f

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-11-29 21:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-24 13:43 Installing the system from another distro Alex Kost
2014-11-24 17:21 ` Ludovic Courtès
2014-11-25 12:57   ` Alex Kost
2014-11-25 14:48     ` Ludovic Courtès
2014-11-26 20:25       ` Alex Kost
2014-11-26 22:06         ` Ludovic Courtès
2014-11-29 21:00           ` Alex Kost
2014-11-29 21:18             ` Ludovic Courtès

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