From unknown Mon Jun 23 16:45:12 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#20024 <20024@debbugs.gnu.org> To: bug#20024 <20024@debbugs.gnu.org> Subject: Status: grub store is not copied to target system Reply-To: bug#20024 <20024@debbugs.gnu.org> Date: Mon, 23 Jun 2025 23:45:12 +0000 retitle 20024 grub store is not copied to target system reassign 20024 guix submitter 20024 tcech@suse.cz severity 20024 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 06 19:02:15 2015 Received: (at submit) by debbugs.gnu.org; 7 Mar 2015 00:02:15 +0000 Received: from localhost ([127.0.0.1]:37954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YU2C7-0006M0-36 for submit@debbugs.gnu.org; Fri, 06 Mar 2015 19:02:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50601) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YU2C5-0006Ll-F3 for submit@debbugs.gnu.org; Fri, 06 Mar 2015 19:02:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YU2Bz-0001FB-Av for submit@debbugs.gnu.org; Fri, 06 Mar 2015 19:02:08 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU2Bz-0001F7-8M for submit@debbugs.gnu.org; Fri, 06 Mar 2015 19:02:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU2By-00047v-Ak for bug-guix@gnu.org; Fri, 06 Mar 2015 19:02:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YU2Bt-0001Eq-Ar for bug-guix@gnu.org; Fri, 06 Mar 2015 19:02:06 -0500 Received: from cantor2.suse.de ([195.135.220.15]:57589 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU2Bt-0001El-4z for bug-guix@gnu.org; Fri, 06 Mar 2015 19:02:01 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 2DB50AC7B for ; Sat, 7 Mar 2015 00:02:00 +0000 (UTC) Date: Sat, 7 Mar 2015 01:01:59 +0100 From: tcech@suse.cz To: bug-guix@gnu.org Subject: grub store is not copied to target system Message-ID: <20150307000159.GA1292@venom> Mail-Followup-To: bug-guix@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline With guix at revision df81e046c57e5f767738113e4e7a28b212c03d63 I tried to deploy Guix to another partition. Result system installed Grub into partition but did not copied it's store to /gnu/store/ on target partition. As a result, no graphics was working (font loading depends on the store) and no grub reinstallation was possible. Configuration used: (use-modules (gnu) (gnu packages bash) (gnu packages emacs) (gnu packages enlightenment) (gnu packages grub) (gnu packages linux) (gnu packages mc) (gnu packages wicd) (gnu packages xorg) (gnu packages dwm) (gnu services ssh) (gnu services dbus) (gnu services networking) (gnu services xorg)) (operating-system (host-name "venom") (timezone "Europe/Prague") (locale "cs_CZ.utf8") (bootloader (grub-configuration (device "/dev/sda"))) (file-systems (append (list (file-system (device "/dev/sda4") ; or partition label (mount-point "/") (type "ext4")) ; (file-system ; (device "/dev/venom/home") ; (mount-point "/home") ; (type "ext4")) ) %base-file-systems)) ; (swap-devices '("/dev/sda2")) (users (list (user-account (name "tcech") (uid 1000) (group "users") (comment "Tomas Cech") (home-directory "/home/tcech")))) (packages (append (list emacs lvm2 mc bash xterm slock dwm terminology iw wicd) %base-packages)) (services (append (list (lsh-service #:port-number 2222 #:root-login? #t) (slim-service) (wicd-service) (dbus-service '())) %base-services)) (kernel linux-libre) ) --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlT6P/cACgkQ37XrCapiVCP7TwCgyI+aAPMudug2BfNHKE769HNo iYQAoL3GRDb8X35q/lw1/fVE9HZA/I/8 =tTWP -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk-- From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 08 17:49:43 2015 Received: (at 20024) by debbugs.gnu.org; 8 Mar 2015 21:49:43 +0000 Received: from localhost ([127.0.0.1]:39820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUj4x-0005by-4s for submit@debbugs.gnu.org; Sun, 08 Mar 2015 17:49:43 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:48373 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUj4v-0005bq-2Y for 20024@debbugs.gnu.org; Sun, 08 Mar 2015 17:49:41 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:33767 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YUj4u-0001mU-7E; Sun, 08 Mar 2015 17:49:40 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: tcech@suse.cz Subject: Re: bug#20024: grub store is not copied to target system References: <20150307000159.GA1292@venom> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 =?utf-8?Q?Vent=C3=B4se?= an 223 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Sun, 08 Mar 2015 22:49:37 +0100 In-Reply-To: <20150307000159.GA1292@venom> (tcech@suse.cz's message of "Sat, 7 Mar 2015 01:01:59 +0100") Message-ID: <87lhj7nor2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20024 Cc: 20024@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tcech@suse.cz skribis: > With guix at revision df81e046c57e5f767738113e4e7a28b212c03d63 I tried > to deploy Guix to another partition. Do you mean that you wanted to use a different root partition than the one that was being used? > Result system installed Grub into partition but did not copied it's > store to /gnu/store/ on target partition. Indeed, =E2=80=98guix system reconfigure=E2=80=99 assumes that the root par= tition remains the same and does not try to copy the store. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 08 17:57:25 2015 Received: (at 20024) by debbugs.gnu.org; 8 Mar 2015 21:57:25 +0000 Received: from localhost ([127.0.0.1]:39831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUjCO-0005nr-DZ for submit@debbugs.gnu.org; Sun, 08 Mar 2015 17:57:24 -0400 Received: from cantor2.suse.de ([195.135.220.15]:42139 helo=mx2.suse.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUjCM-0005ni-3N for 20024@debbugs.gnu.org; Sun, 08 Mar 2015 17:57:22 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id AC934AB09; Sun, 8 Mar 2015 21:57:20 +0000 (UTC) Date: Sun, 8 Mar 2015 22:57:19 +0100 From: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#20024: grub store is not copied to target system Message-ID: <20150308215719.GB22135@venom> References: <20150307000159.GA1292@venom> <87lhj7nor2.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O5XBE6gyVG5Rl6Rj" Content-Disposition: inline In-Reply-To: <87lhj7nor2.fsf@gnu.org> User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20024 Cc: 20024@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --O5XBE6gyVG5Rl6Rj Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 08, 2015 at 10:49:37PM +0100, Ludovic Court=C3=A8s wrote: >tcech@suse.cz skribis: > >> With guix at revision df81e046c57e5f767738113e4e7a28b212c03d63 I tried >> to deploy Guix to another partition. > >Do you mean that you wanted to use a different root partition than the >one that was being used? Yes. I am running from my Gentoo `guix system init -c 3 /guix' where /guix = is different partition planned to be booted as root filesystem for GuixSD. >> Result system installed Grub into partition but did not copied it's >> store to /gnu/store/ on target partition. > >Indeed, =E2=80=98guix system reconfigure=E2=80=99 assumes that the root pa= rtition >remains the same and does not try to copy the store. I'm runnning `guix system init' though. S_W --O5XBE6gyVG5Rl6Rj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlT8xb8ACgkQ37XrCapiVCNusQCgwvqzCdsRxqnTo0KI6Lw5AN1d 9cQAoKIGqotYwqjLQ6uvJ9oQKFU48O3z =DzzK -----END PGP SIGNATURE----- --O5XBE6gyVG5Rl6Rj-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 09 04:05:44 2015 Received: (at 20024) by debbugs.gnu.org; 9 Mar 2015 08:05:44 +0000 Received: from localhost ([127.0.0.1]:40091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUsh5-0000ag-OQ for submit@debbugs.gnu.org; Mon, 09 Mar 2015 04:05:44 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:58587 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUsh3-0000aY-IR for 20024@debbugs.gnu.org; Mon, 09 Mar 2015 04:05:42 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:56737 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YUsh2-0007Ir-QE; Mon, 09 Mar 2015 04:05:41 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= Subject: Re: bug#20024: grub store is not copied to target system References: <20150307000159.GA1292@venom> <87lhj7nor2.fsf@gnu.org> <20150308215719.GB22135@venom> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 =?utf-8?Q?Vent=C3=B4se?= an 223 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Mon, 09 Mar 2015 09:05:37 +0100 In-Reply-To: <20150308215719.GB22135@venom> (=?utf-8?B?IlRvbcOhxaEgxIxl?= =?utf-8?B?Y2giJ3M=?= message of "Sun, 8 Mar 2015 22:57:19 +0100") Message-ID: <8761aatx2m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20024 Cc: 20024@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Tom=C3=A1=C5=A1 =C4=8Cech skribis: > On Sun, Mar 08, 2015 at 10:49:37PM +0100, Ludovic Court=C3=A8s wrote: >>tcech@suse.cz skribis: >> >>> With guix at revision df81e046c57e5f767738113e4e7a28b212c03d63 I tried >>> to deploy Guix to another partition. >> >>Do you mean that you wanted to use a different root partition than the >>one that was being used? > > Yes. I am running from my Gentoo `guix system init -c 3 /guix' where /gui= x is > different partition planned to be booted as root filesystem for GuixSD. OK. >>> Result system installed Grub into partition but did not copied it's >>> store to /gnu/store/ on target partition. >> >>Indeed, =E2=80=98guix system reconfigure=E2=80=99 assumes that the root p= artition >>remains the same and does not try to copy the store. > > I'm runnning `guix system init' though. Yeah your expectations for =E2=80=98guix system reconfigure=E2=80=99 were t= oo high I guess. ;-) Seriously, I don=E2=80=99t think we=E2=80=99d want it to automagically migr= ate the store. Maybe it could check whether the root partition in the OS declaration is the same as the one that holds the current store, but I=E2=80=99m not sure = if that can be done reliably. Thoughts? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 09 06:34:29 2015 Received: (at 20024) by debbugs.gnu.org; 9 Mar 2015 10:34:29 +0000 Received: from localhost ([127.0.0.1]:40161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUv12-0004FT-I1 for submit@debbugs.gnu.org; Mon, 09 Mar 2015 06:34:28 -0400 Received: from cantor2.suse.de ([195.135.220.15]:50145 helo=mx2.suse.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUv10-0004FK-Hs for 20024@debbugs.gnu.org; Mon, 09 Mar 2015 06:34:27 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 53EF3AAC9; Mon, 9 Mar 2015 10:34:25 +0000 (UTC) Date: Mon, 9 Mar 2015 11:34:24 +0100 From: Tomas Cech To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#20024: grub store is not copied to target system Message-ID: <20150309103424.GB30937@crashnator.suse.cz> References: <20150307000159.GA1292@venom> <87lhj7nor2.fsf@gnu.org> <20150308215719.GB22135@venom> <8761aatx2m.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s9fJI615cBHmzTOP" Content-Disposition: inline In-Reply-To: <8761aatx2m.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20024 Cc: 20024@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --s9fJI615cBHmzTOP Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 09, 2015 at 09:05:37AM +0100, Ludovic Court=C3=A8s wrote: >Tom=C3=A1=C5=A1 =C4=8Cech skribis: > >> On Sun, Mar 08, 2015 at 10:49:37PM +0100, Ludovic Court=C3=A8s wrote: >>>tcech@suse.cz skribis: >>> >>>> With guix at revision df81e046c57e5f767738113e4e7a28b212c03d63 I tried >>>> to deploy Guix to another partition. >>> >>>Do you mean that you wanted to use a different root partition than the >>>one that was being used? >> >> Yes. I am running from my Gentoo `guix system init -c 3 /guix' where /gu= ix is >> different partition planned to be booted as root filesystem for GuixSD. > >OK. > >>>> Result system installed Grub into partition but did not copied it's >>>> store to /gnu/store/ on target partition. >>> >>>Indeed, =E2=80=98guix system reconfigure=E2=80=99 assumes that the root = partition >>>remains the same and does not try to copy the store. >> >> I'm runnning `guix system init' though. > >Yeah your expectations for =E2=80=98guix system reconfigure=E2=80=99 were = too high I >guess. ;-) I'm afraid that I don't understand the relation between `guix system init' = and `guix system reconfigure' you insist on. My understanding was, that `guix system init' will create new system in subdirectory as it is described in manual (6.1.4 Proceeding with the Installation). >Seriously, I don=E2=80=99t think we=E2=80=99d want it to automagically mig= rate the >store. How does it differ from building new VM image? >Maybe it could check whether the root partition in the OS declaration is >the same as the one that holds the current store, but I=E2=80=99m not sure= if >that can be done reliably. Thoughts? Again, I'm afraid we misunderstood each other. One thing is that you can expose it to configuration and let user configure= it correctly. I was already thinking that I'm wasting disk space with two copi= es of /gnu/store on my computer (on Gentoo and on GuixSD). I may sound like Cpt. Obvious here, but you can also be sure that store is elsewhere if you need to create /gnu/store directory... And also note that it worked for me for every package but grub. My opinion = is that grub binaries are not part of %base-packages or similar package set and noone noticed until now because grub was installed from different distribution. I hope I made it a bit more clear now. Best regards and thanks, S_W --s9fJI615cBHmzTOP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlT9dy0ACgkQ37XrCapiVCNxBACfRC5Dmq2q1lMph7g0Ip5HSkh+ VvYAoLWfBTiwuUVhHceWMs3+30q6Mu4H =74XF -----END PGP SIGNATURE----- --s9fJI615cBHmzTOP-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 09 13:00:33 2015 Received: (at 20024) by debbugs.gnu.org; 9 Mar 2015 17:00:33 +0000 Received: from localhost ([127.0.0.1]:40887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YV12d-0007Gx-WE for submit@debbugs.gnu.org; Mon, 09 Mar 2015 13:00:33 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:40691 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YV12a-0007Go-UD for 20024@debbugs.gnu.org; Mon, 09 Mar 2015 13:00:29 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:59143 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YV12Z-0005bx-7d; Mon, 09 Mar 2015 13:00:27 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Tomas Cech Subject: Re: bug#20024: grub store is not copied to target system References: <20150307000159.GA1292@venom> <87lhj7nor2.fsf@gnu.org> <20150308215719.GB22135@venom> <8761aatx2m.fsf@gnu.org> <20150309103424.GB30937@crashnator.suse.cz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 =?utf-8?Q?Vent=C3=B4se?= an 223 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Mon, 09 Mar 2015 18:00:24 +0100 In-Reply-To: <20150309103424.GB30937@crashnator.suse.cz> (Tomas Cech's message of "Mon, 9 Mar 2015 11:34:24 +0100") Message-ID: <877fuqkswn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20024 Cc: 20024@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Tomas Cech skribis: > I'm afraid that I don't understand the relation between `guix system init= ' and > `guix system reconfigure' you insist on. My understanding was, that `guix > system init' will create new system in subdirectory as it is described in > manual (6.1.4 Proceeding with the Installation). =E2=80=98guix system init=E2=80=99 initializes a GuixSD root file system. = It is typically used from the USB installation image. Conversely, =E2=80=98guix system reconfigure=E2=80=99 is used to reconfigur= e an already installed GuixSD system, with the untold assumption that the root partition remains the same (which is reasonable, IMO.) >>Seriously, I don=E2=80=99t think we=E2=80=99d want it to automagically mi= grate the >>store. > > How does it differ from building new VM image? =E2=80=98init=E2=80=99 is similar to building a new VM image; =E2=80=98reco= nfigure=E2=80=99 is not. Specifically, =E2=80=98reconfigure=E2=80=99 changes things to have immediat= e effect, such as switching /run/current-system/ to the new (reconfigured) system. Eventually it will also offer to restart dmd services whose definition have changed. >>Maybe it could check whether the root partition in the OS declaration is >>the same as the one that holds the current store, but I=E2=80=99m not sur= e if >>that can be done reliably. Thoughts? > > Again, I'm afraid we misunderstood each other. > > One thing is that you can expose it to configuration and let user configu= re it > correctly. I was already thinking that I'm wasting disk space with two co= pies > of /gnu/store on my computer (on Gentoo and on GuixSD). Oh, I see. So you had installed Guix atop Gentoo, and from there you wanted to install GuixSD while (1) keeping Gentoo, and (2) not rebuilding a new store, right? The solution to is to run, from your Gentoo system: # guix system init config.scm / The =E2=80=9C/=E2=80=9D here means that you keep the same root file system,= and thus the same store. If you want to still be able to boot into Gentoo, you need to specify GRUB menu entries in config.scm, like (define gentoo-entry (menu-entry (label "Gentoo") (linux "/whatever/bzImage") (linux-arguments '("answer=3D42")) (initrd "/something/initrd.gz"))) (operating-system ;; ... (bootloader (grub-configuration (device "/dev/sda") (menu-entries (list gentoo-entry))))) But! Beware that GuixSD wants to own /etc. So in practice, when you boot GuixSD, it may override most of the files in there with its own (it might also bork of some of its assumptions do not hold, like if Gentoo left files in /etc that it doesn=E2=80=99t expect to see.) So the next tim= e you boot into Gentoo, Gentoo will basically be somewhat broken. IOW, using =E2=80=98guix system init=E2=80=99 on the current root should be= thought of as a one-way transition. It=E2=80=99s not documented because it=E2=80=99s = brittle and it=E2=80=99s most likely not what you want. Does that better answer your questions? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 09 16:04:38 2015 Received: (at 20024) by debbugs.gnu.org; 9 Mar 2015 20:04:38 +0000 Received: from localhost ([127.0.0.1]:40955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YV3un-0004tk-Mq for submit@debbugs.gnu.org; Mon, 09 Mar 2015 16:04:38 -0400 Received: from cantor2.suse.de ([195.135.220.15]:44011 helo=mx2.suse.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YV3uZ-0004tQ-T4 for 20024@debbugs.gnu.org; Mon, 09 Mar 2015 16:04:36 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E951EAC64; Mon, 9 Mar 2015 20:04:22 +0000 (UTC) Date: Mon, 9 Mar 2015 21:04:21 +0100 From: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#20024: grub store is not copied to target system Message-ID: <20150309200421.GA1222@venom> References: <20150307000159.GA1292@venom> <87lhj7nor2.fsf@gnu.org> <20150308215719.GB22135@venom> <8761aatx2m.fsf@gnu.org> <20150309103424.GB30937@crashnator.suse.cz> <877fuqkswn.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <877fuqkswn.fsf@gnu.org> User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 20024 Cc: 20024@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --9amGYk9869ThD9tj Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 09, 2015 at 06:00:24PM +0100, Ludovic Court=C3=A8s wrote: >Tomas Cech skribis: > >> I'm afraid that I don't understand the relation between `guix system ini= t' and >> `guix system reconfigure' you insist on. My understanding was, that `guix >> system init' will create new system in subdirectory as it is described in >> manual (6.1.4 Proceeding with the Installation). > >=E2=80=98guix system init=E2=80=99 initializes a GuixSD root file system. = It is >typically used from the USB installation image. > >Conversely, =E2=80=98guix system reconfigure=E2=80=99 is used to reconfigu= re an already >installed GuixSD system, with the untold assumption that the root >partition remains the same (which is reasonable, IMO.) Thank you for your verification. It means I understand it correctly. I reread whole bug again and I couldn't find the reason you even consider me using `guix system reconfigure'. My assumption is that you didn't expect me to have Guix on my Gentoo. Guix is (as you have to know the best) non-intrusive for OS so I have standard Gentoo installation and Guix built from GIT and installed to system. Binaries are in /gnu/store so it is not colliding with the rest of my system. I'll keep that in mind to mention it better in future bugs. Sorry for confusion. TL;DR I run `guix system init' from Gentoo to separate partition to _init_ root filesystem and after reboot to boot into GuixSD. >>>Seriously, I don=E2=80=99t think we=E2=80=99d want it to automagically m= igrate the >>>store. >> >> How does it differ from building new VM image? > >=E2=80=98init=E2=80=99 is similar to building a new VM image; =E2=80=98rec= onfigure=E2=80=99 is not. > >Specifically, =E2=80=98reconfigure=E2=80=99 changes things to have immedia= te effect, >such as switching /run/current-system/ to the new (reconfigured) system. >Eventually it will also offer to restart dmd services whose definition >have changed. I hope it is now obvious that I didn't `reconfigure', but `init'. >>>Maybe it could check whether the root partition in the OS declaration is >>>the same as the one that holds the current store, but I=E2=80=99m not su= re if >>>that can be done reliably. Thoughts? >> >> Again, I'm afraid we misunderstood each other. >> >> One thing is that you can expose it to configuration and let user config= ure it >> correctly. I was already thinking that I'm wasting disk space with two c= opies >> of /gnu/store on my computer (on Gentoo and on GuixSD). > >Oh, I see. So you had installed Guix atop Gentoo, and from there you >wanted to install GuixSD while (1) keeping Gentoo, and (2) not >rebuilding a new store, right? Yes. >The solution to is to run, from your Gentoo system: > > # guix system init config.scm / > >The =E2=80=9C/=E2=80=9D here means that you keep the same root file system= , and thus the >same store. > >If you want to still be able to boot into Gentoo, you need to specify >GRUB menu entries in config.scm, like > > (define gentoo-entry > (menu-entry > (label "Gentoo") > (linux "/whatever/bzImage") > (linux-arguments '("answer=3D42")) > (initrd "/something/initrd.gz"))) > > (operating-system > ;; ... > (bootloader (grub-configuration > (device "/dev/sda") > (menu-entries (list gentoo-entry))))) I'm aware of this feature, I'm preparing bug report for that :) >But! Beware that GuixSD wants to own /etc. So in practice, when you >boot GuixSD, it may override most of the files in there with its own (it >might also bork of some of its assumptions do not hold, like if Gentoo >left files in /etc that it doesn=E2=80=99t expect to see.) So the next ti= me you >boot into Gentoo, Gentoo will basically be somewhat broken. > >IOW, using =E2=80=98guix system init=E2=80=99 on the current root should b= e thought of >as a one-way transition. It=E2=80=99s not documented because it=E2=80=99s= brittle and >it=E2=80=99s most likely not what you want. Yes, that would be way to hell. So the better solution can be putting /gnu on separate partition and share it among the systems like you can do for /home, /boot etc. >Does that better answer your questions? Yes and no. I really appreciate your patience here but we diverged =66rom original reported issue. Let me the whole bug rephrase into single simple question: Shouldn't `grub' be in `%base-packages'? Thanks and best regards, S_W --9amGYk9869ThD9tj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlT9/MUACgkQ37XrCapiVCPr1wCeOSCrZanKDkgwZa28++nz8c9B Y+sAoNGOnGDfQdBGWi5Axp+YxqnZTjW8 =Kwj1 -----END PGP SIGNATURE----- --9amGYk9869ThD9tj-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 03:58:14 2015 Received: (at 20024) by debbugs.gnu.org; 10 Mar 2015 07:58:14 +0000 Received: from localhost ([127.0.0.1]:41163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVF3N-0002Ys-I2 for submit@debbugs.gnu.org; Tue, 10 Mar 2015 03:58:13 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:56758 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVF3K-0002Yh-4f for 20024@debbugs.gnu.org; Tue, 10 Mar 2015 03:58:10 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:59297 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YVF3J-0003Ka-9l; Tue, 10 Mar 2015 03:58:09 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= Subject: Re: bug#20024: grub store is not copied to target system References: <20150307000159.GA1292@venom> <87lhj7nor2.fsf@gnu.org> <20150308215719.GB22135@venom> <8761aatx2m.fsf@gnu.org> <20150309103424.GB30937@crashnator.suse.cz> <877fuqkswn.fsf@gnu.org> <20150309200421.GA1222@venom> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?utf-8?Q?Vent=C3=B4se?= an 223 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Tue, 10 Mar 2015 08:58:07 +0100 In-Reply-To: <20150309200421.GA1222@venom> (=?utf-8?B?IlRvbcOhxaEgxIxlY2gi?= =?utf-8?B?J3M=?= message of "Mon, 9 Mar 2015 21:04:21 +0100") Message-ID: <87wq2pqo6o.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20024 Cc: 20024@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Tom=C3=A1=C5=A1 =C4=8Cech skribis: > TL;DR > I run `guix system init' from Gentoo to separate partition to > _init_ root filesystem and after reboot to boot into GuixSD. OK, that=E2=80=99s not what I had understood, so thanks for bearing with me! ;-) >>But! Beware that GuixSD wants to own /etc. So in practice, when you >>boot GuixSD, it may override most of the files in there with its own (it >>might also bork of some of its assumptions do not hold, like if Gentoo >>left files in /etc that it doesn=E2=80=99t expect to see.) So the next t= ime you >>boot into Gentoo, Gentoo will basically be somewhat broken. >> >>IOW, using =E2=80=98guix system init=E2=80=99 on the current root should = be thought of >>as a one-way transition. It=E2=80=99s not documented because it=E2=80=99= s brittle and >>it=E2=80=99s most likely not what you want. > > Yes, that would be way to hell. So the better solution can be putting > /gnu on separate partition and share it among the systems like you can > do for /home, /boot etc. Possibly, yes. > Let me the whole bug rephrase into single simple question: > > Shouldn't `grub' be in `%base-packages'? It could be there; OTOH, we don=E2=80=99t want to encourage users to bypass =E2=80=98reconfigure=E2=80=99. WDYT? Is it really the only thing you were asking for? If yes, I think we could have been more efficient in our communication. :-) I just realized that I misread =E2=80=9Cgrub store is not copied=E2=80=9D i= n the title as =E2=80=9C/gnu/store is not copied.=E2=80=9D Sorry for the confusion. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 04:41:50 2015 Received: (at 20024) by debbugs.gnu.org; 10 Mar 2015 08:41:51 +0000 Received: from localhost ([127.0.0.1]:41172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVFja-0003cQ-CY for submit@debbugs.gnu.org; Tue, 10 Mar 2015 04:41:50 -0400 Received: from cantor2.suse.de ([195.135.220.15]:40836 helo=mx2.suse.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVFjY-0003cF-A0 for 20024@debbugs.gnu.org; Tue, 10 Mar 2015 04:41:49 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 32FD2AC64; Tue, 10 Mar 2015 08:41:47 +0000 (UTC) Date: Tue, 10 Mar 2015 09:41:46 +0100 From: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#20024: grub store is not copied to target system Message-ID: <20150310084146.GD16813@crashnator.suse.cz> References: <20150307000159.GA1292@venom> <87lhj7nor2.fsf@gnu.org> <20150308215719.GB22135@venom> <8761aatx2m.fsf@gnu.org> <20150309103424.GB30937@crashnator.suse.cz> <877fuqkswn.fsf@gnu.org> <20150309200421.GA1222@venom> <87wq2pqo6o.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oC1+HKm2/end4ao3" Content-Disposition: inline In-Reply-To: <87wq2pqo6o.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2011-07-01) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20024 Cc: 20024@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --oC1+HKm2/end4ao3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 10, 2015 at 08:58:07AM +0100, Ludovic Court=C3=A8s wrote: >Tom=C3=A1=C5=A1 =C4=8Cech skribis: > >> TL;DR >> I run `guix system init' from Gentoo to separate partition to >> _init_ root filesystem and after reboot to boot into GuixSD. > >OK, that=E2=80=99s not what I had understood, so thanks for bearing with m= e! >;-) > >>>But! Beware that GuixSD wants to own /etc. So in practice, when you >>>boot GuixSD, it may override most of the files in there with its own (it >>>might also bork of some of its assumptions do not hold, like if Gentoo >>>left files in /etc that it doesn=E2=80=99t expect to see.) So the next = time you >>>boot into Gentoo, Gentoo will basically be somewhat broken. >>> >>>IOW, using =E2=80=98guix system init=E2=80=99 on the current root should= be thought of >>>as a one-way transition. It=E2=80=99s not documented because it=E2=80= =99s brittle and >>>it=E2=80=99s most likely not what you want. >> >> Yes, that would be way to hell. So the better solution can be putting >> /gnu on separate partition and share it among the systems like you can >> do for /home, /boot etc. > >Possibly, yes. > >> Let me the whole bug rephrase into single simple question: >> >> Shouldn't `grub' be in `%base-packages'? > >It could be there; OTOH, we don=E2=80=99t want to encourage users to bypass >=E2=80=98reconfigure=E2=80=99. WDYT? Aha! Now it makes sense! Yes, you're right, but there is also chance that after initialization of GuixSD and reboot you will have no way back to original distribution. I understand that that is probably just corner case and typical Guix user (yay! :) would just reboot to the image he used for installation... After my installation I got into state where Guix couldn't access network so `guix system reconfigure' was not possible and my graphic card needs some special care during boot to make KMS work (which I was hardly googling on tablet to fix it). We could just add note in documentation that one can add grub as system package as safety belt and remove it when confirmed it works. OTOH this may encourage users to bypass reconfigure even more. >Is it really the only thing you were asking for? If yes, I think we >could have been more efficient in our communication. :-) I'm afraid that yes. I wasn't able to say it in this simple way before as I didn't know the reason. And yes, I'll do my best to explain it better next time. >I just realized that I misread =E2=80=9Cgrub store is not copied=E2=80=9D = in the title >as =E2=80=9C/gnu/store is not copied.=E2=80=9D Sorry for the confusion. I'm glad we finally made it clear :) Best regards, S_W --oC1+HKm2/end4ao3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlT+rkgACgkQ37XrCapiVCM2mwCfZo98GyDMTpPNbWhjLTNqfZjx PycAn2OOPOPRX3UFpz1h/bVtW+VeXsws =Dq+X -----END PGP SIGNATURE----- --oC1+HKm2/end4ao3-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 06:55:07 2015 Received: (at 20024) by debbugs.gnu.org; 10 Mar 2015 10:55:07 +0000 Received: from localhost ([127.0.0.1]:41236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVHoY-00074p-Rx for submit@debbugs.gnu.org; Tue, 10 Mar 2015 06:55:07 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:60437 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVHoX-00074i-6F for 20024@debbugs.gnu.org; Tue, 10 Mar 2015 06:55:05 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:60810 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YVHoW-0007Nq-24; Tue, 10 Mar 2015 06:55:04 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= Subject: Re: bug#20024: grub store is not copied to target system References: <20150307000159.GA1292@venom> <87lhj7nor2.fsf@gnu.org> <20150308215719.GB22135@venom> <8761aatx2m.fsf@gnu.org> <20150309103424.GB30937@crashnator.suse.cz> <877fuqkswn.fsf@gnu.org> <20150309200421.GA1222@venom> <87wq2pqo6o.fsf@gnu.org> <20150310084146.GD16813@crashnator.suse.cz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?utf-8?Q?Vent=C3=B4se?= an 223 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Tue, 10 Mar 2015 11:54:53 +0100 In-Reply-To: <20150310084146.GD16813@crashnator.suse.cz> (=?utf-8?B?IlRv?= =?utf-8?B?bcOhxaEgxIxlY2giJ3M=?= message of "Tue, 10 Mar 2015 09:41:46 +0100") Message-ID: <87mw3lnmv6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20024 Cc: 20024@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Tom=C3=A1=C5=A1 =C4=8Cech skribis: > On Tue, Mar 10, 2015 at 08:58:07AM +0100, Ludovic Court=C3=A8s wrote: >>Tom=C3=A1=C5=A1 =C4=8Cech skribis: [...] >>> Shouldn't `grub' be in `%base-packages'? >> >>It could be there; OTOH, we don=E2=80=99t want to encourage users to bypa= ss >>=E2=80=98reconfigure=E2=80=99. WDYT? > > Aha! Now it makes sense! > > Yes, you're right, but there is also chance that after initialization of > GuixSD and reboot you will have no way back to original distribution. As I wrote before, once you=E2=80=99ve booted into GuixSD, chances are that= the original distro on that partition is in a bad state because GuixSD has fiddle with /etc and other global directories. > After my installation I got into state where Guix couldn't access network= so > `guix system reconfigure' was not possible and my graphic card needs some > special care during boot to make KMS work (which I was hardly googling on > tablet to fix it). Could you explain the KMS issue in a separate thread? > We could just add note in documentation that one can add grub as system > package as safety belt and remove it when confirmed it works. OTOH this m= ay > encourage users to bypass reconfigure even more. It=E2=80=99s enough to modify grub.cfg. GRUB itself is not needed. But anyway, the take-home message is that if you run =E2=80=98guix system i= nit=E2=80=99 on your current root, then you can assume the former distro to no longer be bootable. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 07:50:14 2015 Received: (at 20024) by debbugs.gnu.org; 10 Mar 2015 11:50:14 +0000 Received: from localhost ([127.0.0.1]:41276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVIft-0001YF-Dz for submit@debbugs.gnu.org; Tue, 10 Mar 2015 07:50:13 -0400 Received: from cantor2.suse.de ([195.135.220.15]:53773 helo=mx2.suse.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVIfr-0001Y7-AW for 20024@debbugs.gnu.org; Tue, 10 Mar 2015 07:50:11 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 6145BAC70; Tue, 10 Mar 2015 11:50:10 +0000 (UTC) Date: Tue, 10 Mar 2015 12:50:10 +0100 From: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#20024: grub store is not copied to target system Message-ID: <20150310115010.GE16813@crashnator.suse.cz> References: <20150307000159.GA1292@venom> <87lhj7nor2.fsf@gnu.org> <20150308215719.GB22135@venom> <8761aatx2m.fsf@gnu.org> <20150309103424.GB30937@crashnator.suse.cz> <877fuqkswn.fsf@gnu.org> <20150309200421.GA1222@venom> <87wq2pqo6o.fsf@gnu.org> <20150310084146.GD16813@crashnator.suse.cz> <87mw3lnmv6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ghzN8eJ9Qlbqn3iT" Content-Disposition: inline In-Reply-To: <87mw3lnmv6.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2011-07-01) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20024 Cc: 20024@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --ghzN8eJ9Qlbqn3iT Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 10, 2015 at 11:54:53AM +0100, Ludovic Court=C3=A8s wrote: >Tom=C3=A1=C5=A1 =C4=8Cech skribis: > >> On Tue, Mar 10, 2015 at 08:58:07AM +0100, Ludovic Court=C3=A8s wrote: >>>Tom=C3=A1=C5=A1 =C4=8Cech skribis: > >[...] > >>>> Shouldn't `grub' be in `%base-packages'? >>> >>>It could be there; OTOH, we don=E2=80=99t want to encourage users to byp= ass >>>=E2=80=98reconfigure=E2=80=99. WDYT? >> >> Aha! Now it makes sense! >> >> Yes, you're right, but there is also chance that after initialization of >> GuixSD and reboot you will have no way back to original distribution. > >As I wrote before, once you=E2=80=99ve booted into GuixSD, chances are tha= t the >original distro on that partition is in a bad state because GuixSD has >fiddle with /etc and other global directories. Irrelevant. As I wrote before - I have two separate partitions with root filesystem. Problem is that when `guix system init' takes care of grub configuration. >> After my installation I got into state where Guix couldn't access networ= k so >> `guix system reconfigure' was not possible and my graphic card needs some >> special care during boot to make KMS work (which I was hardly googling on >> tablet to fix it). > >Could you explain the KMS issue in a separate thread? Irrelevant. It is not related to Guix and it may be even fixed already in vanilla. >> We could just add note in documentation that one can add grub as system >> package as safety belt and remove it when confirmed it works. OTOH this = may >> encourage users to bypass reconfigure even more. > >It=E2=80=99s enough to modify grub.cfg. GRUB itself is not needed. > >But anyway, the take-home message is that if you run =E2=80=98guix system = init=E2=80=99 >on your current root, then you can assume the former distro to no longer >be bootable. No, I'm initializing GuixSD root filesystem, not the Gentoo one. Lets just stop to avoid further confusion. I take it that my usecase is corner case and I should add grub as system package by myself. My goal was to consider providing grub and you have your reasons. And it looks like I have too weird setup - separate /boot, LVM, bootloader chainloading. I have found my way to workaround it. Please close the bug. --ghzN8eJ9Qlbqn3iT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlT+2m8ACgkQ37XrCapiVCMArQCfeAzYopBedKy/YmWmNJtmfD1y 8DQAnimEddefdhKCXfy8ObryMCeq7Edc =FUO/ -----END PGP SIGNATURE----- --ghzN8eJ9Qlbqn3iT-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 08:36:14 2015 Received: (at 20024-done) by debbugs.gnu.org; 10 Mar 2015 12:36:14 +0000 Received: from localhost ([127.0.0.1]:41305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVJOQ-0002ur-Ek for submit@debbugs.gnu.org; Tue, 10 Mar 2015 08:36:14 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:34519 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVJOO-0002uj-EE for 20024-done@debbugs.gnu.org; Tue, 10 Mar 2015 08:36:13 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:33435 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YVJON-0007jd-Hq; Tue, 10 Mar 2015 08:36:11 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= Subject: Re: bug#20024: grub store is not copied to target system References: <20150307000159.GA1292@venom> <87lhj7nor2.fsf@gnu.org> <20150308215719.GB22135@venom> <8761aatx2m.fsf@gnu.org> <20150309103424.GB30937@crashnator.suse.cz> <877fuqkswn.fsf@gnu.org> <20150309200421.GA1222@venom> <87wq2pqo6o.fsf@gnu.org> <20150310084146.GD16813@crashnator.suse.cz> <87mw3lnmv6.fsf@gnu.org> <20150310115010.GE16813@crashnator.suse.cz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?utf-8?Q?Vent=C3=B4se?= an 223 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Tue, 10 Mar 2015 13:36:08 +0100 In-Reply-To: <20150310115010.GE16813@crashnator.suse.cz> (=?utf-8?B?IlRv?= =?utf-8?B?bcOhxaEgxIxlY2giJ3M=?= message of "Tue, 10 Mar 2015 12:50:10 +0100") Message-ID: <878uf5ni6f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20024-done Cc: 20024-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Tom=C3=A1=C5=A1 =C4=8Cech skribis: > I take it that my usecase is corner case and I should add grub as system > package by myself. My goal was to consider providing grub and you have yo= ur > reasons. And it looks like I have too weird setup - separate /boot, LVM, > bootloader chainloading. I have found my way to workaround it. Hmm OK. GuixSD doesn=E2=80=99t support LVM though (although that would be nice!), so I guess there=E2=80=99s another part of the story that I=E2=80= =99m not aware of. > Please close the bug. Done. Apologies if that discussion frustrated you, I tried hard to understand and address the issue. Thanks, Ludo=E2=80=99. From unknown Mon Jun 23 16:45:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 08 Apr 2015 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator