From: "Tomáš Čech" <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: Tue, 10 Mar 2015 09:41:46 +0100 [thread overview]
Message-ID: <20150310084146.GD16813@crashnator.suse.cz> (raw)
In-Reply-To: <87wq2pqo6o.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 2610 bytes --]
On Tue, Mar 10, 2015 at 08:58:07AM +0100, Ludovic Courtès wrote:
>Tomáš Čech <sleep_walker@suse.cz> 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’s 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’t expect to see.) So the next time you
>>>boot into Gentoo, Gentoo will basically be somewhat broken.
>>>
>>>IOW, using ‘guix system init’ on the current root should be thought of
>>>as a one-way transition. It’s not documented because it’s brittle and
>>>it’s 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’t want to encourage users to bypass
>‘reconfigure’. 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 “grub store is not copied” in the title
>as “/gnu/store is not copied.” Sorry for the confusion.
I'm glad we finally made it clear :)
Best regards,
S_W
[-- Attachment #2: Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2015-03-10 8:42 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
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 [this message]
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=20150310084146.GD16813@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).