From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fredrik Salomonsson Subject: error: rmdir: Device or resource busy Date: Sat, 08 Dec 2018 00:05:33 -0800 Message-ID: <87pnuccuk2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVXcW-0003gL-Cg for help-guix@gnu.org; Sat, 08 Dec 2018 03:05:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVXcO-0001Zu-UN for help-guix@gnu.org; Sat, 08 Dec 2018 03:05:47 -0500 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:34340) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gVXcK-0001XD-UY for help-guix@gnu.org; Sat, 08 Dec 2018 03:05:42 -0500 Received: by mail-pl1-x636.google.com with SMTP id w4so2901872plz.1 for ; Sat, 08 Dec 2018 00:05:36 -0800 (PST) Received: from localhost (node-1w7jr9qqzgfuwcnbgqt087sv8.ipv6.telus.net. [2001:569:7a06:3a00:c0b8:4631:b615:e5e4]) by smtp.gmail.com with ESMTPSA id m9sm5911570pgd.32.2018.12.08.00.05.33 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 08 Dec 2018 00:05:34 -0800 (PST) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix --=-=-= Content-Type: text/plain Hello, tried installing GuixSD 0.16. But hitting a cryptic error. guix system init /mnt/etc/config.scm /mnt --substitute-urls="http://berlin.guixsd.org http://mirror.hydra.gnu.org" ... /gnu/store/sh9x3mhl5q60yxhl861kpk6vm70l3w81-bootloader-installer initializing operating system under '/mnt'... guix system: error: rmdir: Device or resource busy This was working fine with 0.15. Is there a way to get a better backtrace from system init? Or does anyone know what the error might be? Thanks --=-=-= Content-Type: text Content-Disposition: attachment; filename=config.scm Content-Description: GuixSD config ;; This is an operating system configuration template ;; for a "desktop" setup without full-blown desktop ;; environments. (use-modules (gnu) (gnu packages) (gnu system nss) (gnu system locale) (gnu services nfs) (ice-9 rdelim) (ice-9 format)) (use-service-modules desktop networking ssh base xorg) (use-package-modules wm certs shells xdisorg) (define plattfot (user-account (name "plattfot") (group "users") ;; Define a G-Expr to find the path of the zsh binary: ;; https://gitlab.com/rain1/guix-wiki/wikis/FAQ#how-do-i-make-my-login-shell-zsh (shell #~(string-append #$zsh "/bin/zsh")) (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/plattfot"))) ;; (define keyboard-conf ;; (call-with-input-file "/etc/config.d/00-keyboard.conf" read-string)) ;; Specify a mapped device for the encrypted root partition. ;; The UUID is that returned by 'cryptsetup luksUUID'. (define mapped-root (mapped-device (source (uuid "ab43f8be-1a18-4999-836d-71dac382dfb5")) (target "root") (type luks-device-mapping))) (define mapped-swap (mapped-device (source (uuid "9f04f917-efd3-4036-b3f5-24705fee7ffa")) (target "swap") (type luks-device-mapping))) ;; Partion layout for /dev/sda3 ;; under __current/ ;; | subvol | Mountpoint | Comment | Shared | ;; |-------------+--------------+--------------------+----------| ;; | arch-root | / | root for Arch | no | ;; | guixsd-root | / | root for GuixSD | no | ;; | grub | /boot/grub | grub config | yes | ;; | guix | /var/guix | guix stuff | yes | ;; | gnu | /gnu | Store etc | yes | ;; | home | /home | home partition | yes | (define btrfs-common-options '("defaults" "discard" "compress=lzo" "space_cache" "autodefrag")) (define (btrfs-mount-options subvol) "Return the btrfs mount options I use. Where SUBVOL is the subvolume to mount" (string-join `(,@btrfs-common-options ,(format #f "subvol=~a" subvol)) ",")) (define fs-root (file-system (mount-point "/") (type "btrfs") (device (file-system-label "root")) (options (btrfs-mount-options "__current/guixsd-root")) (needed-for-boot? #t) (dependencies `(,mapped-root)))) (define fs-grub (file-system (mount-point "/boot/grub") (type "btrfs") (device (file-system-label "root")) (options (btrfs-mount-options "__current/grub")) (needed-for-boot? #t) (dependencies `(,fs-root)))) (define fs-gnu (file-system (mount-point "/gnu") (type "btrfs") (device (file-system-label "root")) (options (btrfs-mount-options "__current/gnu")) (needed-for-boot? #t) (dependencies `(,fs-root)))) (define fs-guix (file-system (mount-point "/var/guix") (type "btrfs") (device (file-system-label "root")) (options (btrfs-mount-options "__current/guix")) (needed-for-boot? #t) (dependencies `(,fs-root)))) (define fs-home (file-system (mount-point "/home") (type "btrfs") (device (file-system-label "root")) (options (btrfs-mount-options "__current/home")) (needed-for-boot? #t) (dependencies `(,fs-root)))) (define fs-valhalla (file-system (device "fafner:/srv/nfs4/Valhalla") (mount-point "/media/Valhalla") (type "nfs4") (mount? #f) (check? #f))) (define menu-arch (menu-entry (label "Arch Linux") (linux "/boot/vmlinux") (linux-arguments '("luks.uuid=ab43f8be-1a18-4999-836d-71dac382dfb5" "luks.name=ab43f8be-1a18-4999-836d-71dac382dfb5=root" "luks.key=ab43f8be-1a18-4999-836d-71dac382dfb5=/boot/rootkey.bin" "luks.options=ab43f8be-1a18-4999-836d-71dac382dfb5=discard,luks" "luks.uuid=9f04f917-efd3-4036-b3f5-24705fee7ffa" "luks.name=9f04f917-efd3-4036-b3f5-24705fee7ffa=swap" "luks.key=9f04f917-efd3-4036-b3f5-24705fee7ffa=/boot/swapkey.bin" "luks.options=9f04f917-efd3-4036-b3f5-24705fee7ffa=swap,discard,luks" "root=LABEL=root" "resume=/dev/mapper/swap" "rootflags=compress=lzo,subvol=__current/arch-root")) (initrd "/boot/initramfs-linux.img"))) (operating-system (host-name "loke") (timezone "Canada/Pacific") (locale "en_US.utf8") (locale-definitions (list (locale-definition (name "en_US.utf8") (source "en_US") (charset "UTF-8")) (locale-definition (name "sv_SE.utf8") (source "sv_SE") (charset "UTF-8")))) ;; Assuming /dev/sda is the target hard disk, and "root" ;; is the label of the target root file system. (bootloader (grub-configuration (target "/dev/sda") ;; Need to mount __current/arch-root ;; (menu-entries '(menu-arch)) )) ;; Kernel arguments (kernel-arguments '("rootflags=compress=lzo,subvol=__current/guixsd-root")) (mapped-devices (list mapped-root mapped-swap)) (file-systems (cons* fs-home fs-grub fs-gnu fs-guix fs-root %base-file-systems)) (swap-devices '("/dev/mapper/swap")) (users (cons plattfot %base-user-accounts)) ;; Add a bunch of window managers; we can choose one at ;; the log-in screen with F1. (packages (cons* i3-wm i3status rofi ;window managers zsh nss-certs ;for HTTPS access %base-packages)) ;; Use the "desktop" services, which include the X11 ;; log-in service, networking with Wicd, and more. (services %desktop-services ;; (cons* ;; (service openssh-service-type ;; ;; (openssh-configuration ;; ;; (port-number 6060) ;; ;; (password-authentication? #f))) ;; ;; (extra-special-file "/bin/env" (file-append coreutils "/bin/env")) ;; %desktop-services ;; ;; (modify-services %desktop-services ;; ;; (slim-service-type ;; ;; config => (slim-configuration ;; ;; (inherit config) ;; ;; (startx (xorg-start-command ;; ;; #:configuration-file ;; ;;(xorg-configuration-file ;; ;;#:extra-config ;; ;;(list keyboard-conf))))))) ;; ) ) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) --=-=-= Content-Type: text/plain -- s/Fred[re]+i[ck]+/Fredrik/g --=-=-=--