From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomas Cech Subject: bug#20024: grub store is not copied to target system Date: Mon, 9 Mar 2015 11:34:24 +0100 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" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUv1f-0005sV-3t for bug-guix@gnu.org; Mon, 09 Mar 2015 06:35:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUv1b-0002eL-0F for bug-guix@gnu.org; Mon, 09 Mar 2015 06:35:07 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:41593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUv1a-0002eA-UQ for bug-guix@gnu.org; Mon, 09 Mar 2015 06:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YUv1a-0004GJ-Hf for bug-guix@gnu.org; Mon, 09 Mar 2015 06:35:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <8761aatx2m.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 --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--