From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabian Boucsein Subject: Problems with grub2 Date: Tue, 28 Jul 2015 23:07:19 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c28b62069992051bf5db56 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKC5q-0005AN-6x for guix-devel@gnu.org; Tue, 28 Jul 2015 17:07:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKC5o-0007id-Pa for guix-devel@gnu.org; Tue, 28 Jul 2015 17:07:22 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:34123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKC5o-0007iH-E3 for guix-devel@gnu.org; Tue, 28 Jul 2015 17:07:20 -0400 Received: by wibud3 with SMTP id ud3so196472186wib.1 for ; Tue, 28 Jul 2015 14:07:19 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --001a11c28b62069992051bf5db56 Content-Type: text/plain; charset=UTF-8 Hello Guix hackers, i am trying to install GuixSD 0.8.3. I am using this configuration and try to install it on a USB disk: ;; This is an operating system configuration template ;; for a "bare bones" setup, with no X11 display server. (use-modules (gnu)) (use-service-modules networking ssh) (use-package-modules admin) (operating-system (host-name "amanita") (timezone "Europe/Berlin") (locale "en_US.UTF-8") ;; Assuming /dev/sdX is the target hard disk, and "root" is ;; the label of the target root file system. (bootloader (grub-configuration (device "/dev/sdb"))) (file-systems (cons (file-system (device "/dev/sdb1") (title 'device) (mount-point "/") (type "ext4")) %base-file-systems)) ;; This is where user accounts are specified. The "root" ;; account is implicit, and is initially created with the ;; empty password. (users (cons (user-account (name "fabian") (comment "fabian") (group "users") ;; Adding the account to the "wheel" group ;; makes it a sudoer. Adding it to "audio" ;; and "video" allows the user to play sound ;; and access the webcam. (supplementary-groups '("wheel" "audio" "video")) (home-directory "/home/fabian")) %base-user-accounts)) ;; Globally-installed packages. (packages (cons tcpdump %base-packages)) ;; Add services to the baseline: a DHCP client and ;; an SSH server. (services (cons* (dhcp-client-service) (lsh-service #:port-number 2222) %base-services))) First i tried it with (locale "de_DE.UTF-8") but guix told me that de_DE is not available. This is of course changeable after installation but will it be added to the guix installation later? When i try the installation as mentioned above everything is fine until the installation of grub. Grub tells me that there are multiple labels assigned to the device. When i look into /dev/disk/by-label i find one label for a partition. Is there a way to get rid of this disk labels? I tried it with parted but that brought no help. In the configuration i am telling that i want to use device names. Why is grub2 using labels anyway??? I am not sure what is the source of the problem. With Nix i have the same issue when i try to install grub2. Grub1 is working fine. Will Grub1 be added to guix? I have not found a Nix configuration which tells nix to use devices instead of labels. Looking forward for any help. By the way i really want to have a working Guix system. After seeing Ludovics Fosdem talk i am so excited about guix. What a wonderful idea! Yours sincerely, Fabian --001a11c28b62069992051bf5db56 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello Guix hackers,

i am tryin= g to install GuixSD 0.8.3. I am using this configuration
and = try to install it on a USB disk:

;; This is an o=
perating system configuration template
;; for a "bare bones" setup, with no X11 display server.

(use-modules (gnu))
(use-service-modules networking ssh)
(use-package-modules admin)

(operating-system
  (host-name "amanita")
  (timezone "Europe/Berlin")
  (locale "en_US.UTF-8")

  ;; Assuming /dev/sdX is the target hard disk, and "root" is
  ;; the label of the target root file system.
  (bootloader (grub-configuration (device "/dev/sdb")))
  (file-systems (cons (file-system
                        (device "/dev/sdb1")
                        (title 'device)
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))

  ;; This is where user accounts are specified.  The "root"
  ;; account is implicit, and is initially created with the
  ;; empty password.
  (users (cons (user-account
                (name "fabian")
                (comment "fabian")
                (group "users")

                ;; Adding the account to the "wheel" group
                ;; makes it a sudoer.  Adding it to "audio"
                ;; and "video" allows the user to play sound
                ;; and access the webcam.
                (supplementary-groups '("wheel"
                                        "audio" "video"=
))
                (home-directory "/home/fabian"))
               %base-user-accounts))

  ;; Globally-installed packages.
  (packages (cons tcpdump %base-packages))

  ;; Add services to the baseline: a DHCP client and
  ;; an SSH server.
  (services (cons* (dhcp-client-service)
                   (lsh-service #:port-number 2222)
                   %base-services)))
First i tried it with (locale &qu= ot;de_DE.UTF-8") but guix told me that de_DE is not available. This is= of course changeable after installation but will it be added to the guix i= nstallation later?

When i try the installation as mention= ed above everything is fine until the installation of grub. Grub tells me t= hat there are multiple labels assigned to the device. When i look into /dev= /disk/by-label i find one label for a partition. Is there a way to get rid = of this disk labels? I tried it with parted but that brought no help. In th= e configuration i am telling that i want to use device names. Why is grub2 = using labels anyway??? I am not sure what is the source of the problem. Wit= h Nix i have the same issue when i try to install grub2. Grub1 is working f= ine. Will Grub1 be added to guix? I have not found a Nix configuration whic= h tells nix to use devices instead of labels.

Looking for= ward for any help. By the way i really want to have a working Guix system. = After seeing Ludovics Fosdem talk i am so excited about guix. What a wonder= ful idea!

Yours sincerely,
Fabian

<= /div> --001a11c28b62069992051bf5db56--