help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guix system reconfigure can not work.


From: tumashu
Subject: guix system reconfigure can not work.
Date: Fri, 13 Jan 2017 12:10:35 +0800 (CST)

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

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]