From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Installing the system from another distro Date: Tue, 25 Nov 2014 15:48:44 +0100 Message-ID: <87r3wrfi9f.fsf@gnu.org> References: <87a93gww7l.fsf@gmail.com> <87lhn0zf9c.fsf@gnu.org> <87wq6jv3nx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtHQF-0006fS-Bh for guix-devel@gnu.org; Tue, 25 Nov 2014 09:49:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtHQ6-0006du-Aj for guix-devel@gnu.org; Tue, 25 Nov 2014 09:48:55 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:39513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtHQ6-0006dl-3Y for guix-devel@gnu.org; Tue, 25 Nov 2014 09:48:46 -0500 In-Reply-To: <87wq6jv3nx.fsf@gmail.com> (Alex Kost's message of "Tue, 25 Nov 2014 15:57:22 +0300") 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 Alex Kost skribis: > Ludovic Court=C3=A8s (2014-11-24 20:21 +0300) wrote: >> Could it be an ABI issue that vanishes after =E2=80=9Cmake clean-go && m= ake=E2=80=9D? > > That's it! It was very unexpected for me as I did "make clean-go" not so > long ago, but anyway it works now. Thank you very much for such a > verbose answer and even testing (!) Good news. :-) > I have another question. I used "--no-grub" option, so I don't have a > proper grub.cfg. I expected to see =E2=80=9C/boot=E2=80=9D directory wit= h symlinks to > the linux and initram images but there is no such dir. Do I understand > it right that =E2=80=9C/gnu/store/=E2=80=A6-linux-libre-3.17.4/bzImage=E2= =80=9D and > =E2=80=9C/gnu/store/=E2=80=A6-base-initrd/initrd=E2=80=9D are hardcoded i= n the "grub.cfg"? Yes, that=E2=80=99s correct. Actually, when passing --no-grub, =E2=80=98guix system=E2=80=99 doesn=E2=80= =99t even bother generating grub.cfg (see =E2=80=98perform-action=E2=80=99 in (guix scripts = system).) So if you really want to use --no-grub, you should retrieve the kernel and initrd file names, and manually add them to your bootloader=E2=80=99s config. One way to do that is to run: guix system build my-system-config.scm The returned directory name contains the initrd and kernel, among other things. Note that you=E2=80=99ll also need to pass --root=3D and --system=3D on the= kernel command line (see the =E2=80=98operating-system-grub.cfg=E2=80=99 procedure= .) As you see, passing --no-grub is not an optimized use case. :-) Ludo=E2=80=99.