From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Problems with grub2 Date: Wed, 29 Jul 2015 10:36:49 +0300 Message-ID: <874mknmn3i.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKLv6-00052y-V0 for guix-devel@gnu.org; Wed, 29 Jul 2015 03:36:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKLv3-00088G-Mq for guix-devel@gnu.org; Wed, 29 Jul 2015 03:36:56 -0400 Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]:33369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKLv3-00087j-FG for guix-devel@gnu.org; Wed, 29 Jul 2015 03:36:53 -0400 Received: by lbbyj8 with SMTP id yj8so1243525lbb.0 for ; Wed, 29 Jul 2015 00:36:51 -0700 (PDT) In-Reply-To: (Fabian Boucsein's message of "Tue, 28 Jul 2015 23:07:19 +0200") 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: Fabian Boucsein Cc: guix-devel@gnu.org Fabian Boucsein (2015-07-29 00:07 +0300) wrote: > Hello Guix hackers, Hello! [...] > 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? I think "de_DE.utf8" should work. > 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. Apparently the source of the problem is not Nix or Guix. IIUC the error happens during "grub-install" call, so you have to figure it out why grub doesn't want to be installed. You may look at the output of "blkid" to see if there are the same labels (I don't know why grub wouldn't like them). Before experimenting with grub, read its info manual: (info "(grub) Invoking grub-install"). If you are brave enough, check if the following command also fails: grub-install --boot-directory=/mnt/boot /dev/sdb ("/mnt/boot" is where "grub" directory will be put) As for grub1, since it is a free software, I think it may be added to Guix if someone will decide to make a package for it (but you may be the only person who want it :-)). -- Alex