From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabian Boucsein Subject: Re: Problems with grub2 Date: Thu, 30 Jul 2015 08:33:05 +0200 Message-ID: References: <874mknmn3i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c28b623c972e051c11e0d1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKhOx-00019J-He for guix-devel@gnu.org; Thu, 30 Jul 2015 02:33:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKhOt-0005wA-7y for guix-devel@gnu.org; Thu, 30 Jul 2015 02:33:11 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:38026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKhOs-0005vz-T8 for guix-devel@gnu.org; Thu, 30 Jul 2015 02:33:07 -0400 Received: by wibxm9 with SMTP id xm9so54322178wib.1 for ; Wed, 29 Jul 2015 23:33:05 -0700 (PDT) In-Reply-To: <874mknmn3i.fsf@gmail.com> 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: Alex Kost Cc: guix-devel@gnu.org --001a11c28b623c972e051c11e0d1 Content-Type: text/plain; charset=UTF-8 Hi Alex, thanks for yiur answer. The error i get when guix is trying to install grub2 is about too many disk label. With devices in mind there are three ways to configure grub2. Devices, label and uuids. Looking at my configuration i am already saying that i want to use device names to identify my devices. Or is something wrong with my configuration and / or my understanding of it? Why is grub bothering about disk label anyway? Looking at my arch linux with its automatically configured grub2 there are uuids in use. Are device names unusual in grub2 and should i use uuids instead? Thanks for all the help. Yours sincerely, Fabian 2015-07-29 9:36 GMT+02:00 Alex Kost : > 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 > --001a11c28b623c972e051c11e0d1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Alex,

t= hanks for yiur answer. The error i get when guix is trying to install grub2= is about too many disk label. With devices in mind there are three ways to= configure grub2. Devices, label and uuids. Looking
at my co= nfiguration i am already saying that i want to use device names to identify= my devices. Or is something wrong with my configuration and / or my unders= tanding of it? Why is grub bothering about disk label anyway? Looking at my= arch linux with its automatically configured grub2 there are uuids in use.=
Are device names unusual in grub2 and should i use uuids instead?=

Thanks for all the help.

Yours sincer= ely,
Fabian


2015-07-29 9:36 GMT+02:00 Alex Kost <= alezost@gmail.com>:
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<= br> > 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.<= br>
Apparently the source of the problem is not Nix or Guix.=C2=A0 IIUC = the error
happens during "grub-install" call, so you have to figure it out = why
grub doesn't want to be installed.=C2=A0 You may look at the output of<= br> "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").=C2=A0 If you are brave enough, check if the following command also fails:

grub-install --boot-directory=3D/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

--001a11c28b623c972e051c11e0d1--