unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Tomáš Čech" <sleep_walker@suse.cz>
To: 20071@debbugs.gnu.org
Cc: guix-devel@gnu.org
Subject: bug#20071: none
Date: Tue, 10 Mar 2015 12:59:30 +0100	[thread overview]
Message-ID: <20150310115930.GG16813@crashnator.suse.cz> (raw)
In-Reply-To: <874mta7au9.wl%sleep_walker@suse.cz>

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


On Fri, Dec 05, 2014 at 09:35:42AM +0100, Tomas Cech wrote:
>At Fri, 05 Dec 2014 00:04:23 +0100,
>Ludovic Courtès wrote:
>>
>> Tomas Cech <sleep_walker@suse.cz> skribis:
>>
>> > I tried to install Guix as alternative OS to my Gentoo and openSUSE
>> > installations to give a try. I tried unsupported scenario -
>> > installation on LVM volume and separate /boot partition until I was
>> > told it is unsupported. Separate boot wasn't hard as I had to just
>> > copy generated files so they are loaded.
>>
>> OK, but there’s still an open bug on that topic.  :-)
>> http://bugs.gnu.org/19220
>
>Good, I'll give a try again.
>
>> > 1] if you set device to partition (and not to disk) in your grub-configuration like this:
>> >
>> >  (bootloader (grub-configuration
>> >                (device "/dev/sda4")))
>>
>> Why would you want to use a partition and not a disk?  I didn’t know
>> this was even possible.
>
>Because this way I can separate Grub managed by Guix and Grub from my
>Gentoo. As I'm playing with that on my notebook I need for work, this
>way can reduce risks.
>
>I'm not sure how Guix installer can manipulate with grub.cfg and I'd
>like to always have some working system...
>
>>
>> > `guix system init' will fail on grub installation. By default Grub
>> > tries to fit in the beginning of partition and fails if it can't fit
>> > in. I asked about this behaviour on Grub mailing list and it seems
>> > that there are two options:
>> >
>> >   a] add `--force' to command line and use block list for keeping information about position of Grub's core.img
>> >   b] use filesystem which allows embedding - BtrFS or ZFS
>> >
>> > I verified both options (a] and then b] with BtrFS) and it no longer fails.
>> >
>> > But,
>> > ad a] - I don't feel safe passing `--force' to grub-install every
>> > time. So if installation fails on this point and you'd like to use
>> > your FS anyway, you can pass `--no-grub' to `guix system init' and
>> > then rung grub-install manually.
>> >
>> > ad b] - I don't feel safe using still experimental BtrFS.
>>
>> OK.  I think the conclusion for Guix is to leave the defaults unchanged.
>> Perhaps we could add a ‘force?’ field to the ‘grub-configuration’ data
>> type to allow those who know what they doing to get the effect of
>> ‘--force’.  WDYT?

After giving some more thoughts and after more experience with the process I
do agree that exposing `--force' parameter into grub-configuration is good idea.

I'm filing bug for that.

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

       reply	other threads:[~2015-03-10 12:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87a9347gtj.wl%sleep_walker@suse.cz>
     [not found] ` <87wq67qao8.fsf@gnu.org>
     [not found]   ` <874mta7au9.wl%sleep_walker@suse.cz>
2015-03-10 11:59     ` Tomáš Čech [this message]
2019-11-12 20:21       ` bug#20071: Bug Hunting: status? zimoun
2019-11-13 13:37         ` Ludovic Courtès
2019-11-13 15:31           ` zimoun
2019-11-20 17:36             ` zimoun

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=20150310115930.GG16813@crashnator.suse.cz \
    --to=sleep_walker@suse.cz \
    --cc=20071@debbugs.gnu.org \
    --cc=guix-devel@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).