From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Subject: bug#20024: grub store is not copied to target system Date: Tue, 10 Mar 2015 09:41:46 +0100 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" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVFjp-0000ns-IZ for bug-guix@gnu.org; Tue, 10 Mar 2015 04:42:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVFjm-00034A-72 for bug-guix@gnu.org; Tue, 10 Mar 2015 04:42:05 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:42604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVFjm-00033z-4Q for bug-guix@gnu.org; Tue, 10 Mar 2015 04:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YVFjl-0003cr-Kt for bug-guix@gnu.org; Tue, 10 Mar 2015 04:42:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87wq2pqo6o.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 20024@debbugs.gnu.org --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--