unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Tomas Cech <sleep_walker@suse.cz>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 20024@debbugs.gnu.org
Subject: bug#20024: grub store is not copied to target system
Date: Mon, 9 Mar 2015 11:34:24 +0100	[thread overview]
Message-ID: <20150309103424.GB30937@crashnator.suse.cz> (raw)
In-Reply-To: <8761aatx2m.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2349 bytes --]

On Mon, Mar 09, 2015 at 09:05:37AM +0100, Ludovic Courtès wrote:
>Tomáš Čech <sleep_walker@suse.cz> skribis:
>
>> On Sun, Mar 08, 2015 at 10:49:37PM +0100, Ludovic Courtès 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.
>
>OK.
>
>>>> Result system installed Grub into partition but did not copied it's
>>>> store to /gnu/store/ on target partition.
>>>
>>>Indeed, ‘guix system reconfigure’ 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 ‘guix system reconfigure’ 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’t think we’d want it to automagically migrate 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’m 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 copies
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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2015-03-09 10:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-07  0:01 bug#20024: grub store is not copied to target system tcech
2015-03-08 21:49 ` Ludovic Courtès
2015-03-08 21:57   ` Tomáš Čech
2015-03-09  8:05     ` Ludovic Courtès
2015-03-09 10:34       ` Tomas Cech [this message]
2015-03-09 17:00         ` Ludovic Courtès
2015-03-09 20:04           ` Tomáš Čech
2015-03-10  7:58             ` Ludovic Courtès
2015-03-10  8:41               ` Tomáš Čech
2015-03-10 10:54                 ` Ludovic Courtès
2015-03-10 11:50                   ` Tomáš Čech
2015-03-10 12:36                     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150309103424.GB30937@crashnator.suse.cz \
    --to=sleep_walker@suse.cz \
    --cc=20024@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).