all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tumashu  <tumashu@163.com>
To: help-guix@gnu.org
Subject: guix system reconfigure can not work.
Date: Fri, 13 Jan 2017 12:10:35 +0800 (CST)	[thread overview]
Message-ID: <60b7a422.408b.159960520e0.Coremail.tumashu@163.com> (raw)

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

This is my guixsd config:
-------------------------------------------------------------------------
bash-4.4$ cat guixsd-helper.scm
;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS.

(use-modules (gnu) (gnu system nss))
(use-service-modules desktop)
(use-package-modules certs gnome)

(operating-system
 (host-name "tumashu")
 (timezone "Asia/Shanghai")
 (locale "zh_CN.UTF-8")

 ;; Assuming /dev/sdX is the target hard disk, and "my-root"
 ;; is the label of the target root file system.
 (bootloader (grub-configuration (device "/dev/sda")))

 (swap-devices '("/dev/sda5"))

 (file-systems (cons* (file-system
                       (device "/dev/sda1")
                       (title 'device)
                       (mount-point "/")
                       (type "ext4"))
                      (file-system
                       (device "/dev/sda7")
                       (title 'device)
                       (mount-point "/home")
                       (type "ext4"))
                      (file-system
                       (device "/dev/sda8")
                       (title 'device)
                       (mount-point "/mnt/backup1")
                       (type "ext4"))
                      (file-system
                       (device "/dev/sda6")
                       (title 'device)
                       (mount-point "/mnt/backup2")
                       (type "ext4"))
                      %base-file-systems))

 (users (cons (user-account
               (name "feng")
               (comment "Feng Shu")
               (group "users")
               (supplementary-groups '("wheel" "netdev"
                                       "audio" "video"))
               (home-directory "/home/feng"))
              %base-user-accounts))

 ;; This is where we specify system-wide packages.
 (packages
  (append (map specification->package
               '("gvfs" "nss-certs"
                 "font-wqy-zenhei"
                 "font-ubuntu"
                 "icecat"))
          %base-packages))

 ;; Add GNOME and/or Xfce---we can choose at the log-in
 ;; screen with F1.  Use the "desktop" services, which
 ;; include the X11 log-in service, networking with Wicd,
 ;; and more.
 (services (cons* (xfce-desktop-service)
                  %desktop-services))

 ;; Allow resolution of '.local' host names with mDNS.
 (name-service-switch %mdns-host-lookup-nss))

--------------------------------------------------------------------------
tty1 shows:

------------------------
e2fsck: cannot continue, aborting


File system check on /dev/sda8 failed....
------------------------

The below is output:

--------------------------------------------------------------------------
bash-4.4$ sudo guix system reconfigure guixsd-helper.scm
密码:
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivation will be built:
   /gnu/store/plhaxy8p26sxircfmx0vs05a3arva6v9-grub.cfg.drv
/gnu/store/aqhdcr06max068sc8k3gvqqdvlb8l9dl-system
/gnu/store/4dbisd6wcg494c70yn6y7jrydbw7giph-grub.cfg
/gnu/store/cgl8v4q7x8zc09r9d39l7pgd9cx904f8-grub-2.02beta3
activating system...
making '/gnu/store/aqhdcr06max068sc8k3gvqqdvlb8l9dl-system' the current system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/ba01asqiwhmwrq8scisg3dpkpn8yknyp-etc...
usermod:无改变
usermod:无改变
usermod:无改变
usermod:无改变
usermod:无改变
usermod:无改变
usermod:无改变
usermod:无改变
usermod:无改变
guix system: loading new services: file-system-/mnt/backup1 file-system-/mnt/backup2...
shepherd: Evaluating user expression (register-services (primitive-load "/gn...") #).


-----------------------------------------------------------------------------------------

[-- Attachment #2: Type: text/html, Size: 7777 bytes --]

             reply	other threads:[~2017-01-13  4:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-13  4:10 tumashu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-01-13  8:48 guix system reconfigure can not work tumashu
2017-01-13  9:42 ` Ricardo Wurmus
2017-01-13 11:06 ` John Darrington
2017-01-13 17:28 ` Ludovic Courtès
2017-01-13 18:23   ` tumashu
2017-01-14 13:42     ` Ludovic Courtès
2017-01-14 13:52       ` tumashu
2017-01-14 17:26         ` Ludovic Courtès

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

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

  git send-email \
    --in-reply-to=60b7a422.408b.159960520e0.Coremail.tumashu@163.com \
    --to=tumashu@163.com \
    --cc=help-guix@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.