all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Fredrik Salomonsson <plattfot@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: btrfs and subvolumes for root, take 2
Date: Sun, 02 Dec 2018 15:31:25 +0100	[thread overview]
Message-ID: <87efb0ngoy.fsf@gnu.org> (raw)
In-Reply-To: <87mupoedkr.fsf@gmail.com> (Fredrik Salomonsson's message of "Sat, 01 Dec 2018 20:51:16 -0800")

Hi,

Fredrik Salomonsson <plattfot@gmail.com> skribis:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> The Guile backtrace you sent shows that /etc/ssl already existed when
>> your system booted and was not a symlink.  This led the “activation
>> code” of GuixSD to fail:
>>
>>   https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/build/activation.scm#n320
>>
>> The solution is to remove /etc/ssl (is it coming from another distro
>> previously installed on this device?).  You can boot a separate medium, 
>> mount the root partition, and “rm -rf /etc/ssl” from there.  Or you can,
>> at the boot REPL that you get after the backtrace, type something like:
>>
>>   ,use (guix build utils)
>>   (delete-file-recursively "/etc/ssl")
>>   ,q
>>
>> Note that you might have similar issues with /etc/pam.d, for instance,
>> if there’s such a stale directory.
>
> Thanks for the reply. That pointed me in the right direction. Although
> the solution you suggested wasn't an option for me. As it turned out, it
> was actually mounting my Arch Linux root (__current/arch-root). Which I
> had set to be the default subvolume if no ~subvol=~ option is given when
> mounting the disk.

Clearly / or /etc cannot be shared between GuixSD and another distro;
each distro needs to have full control over these.  My suggestion would
be to share nothing but /home (and /gnu, /var/guix, and /etc/guix if you
want to able to use Guix on the other distro).

I can’t really advise more than this since the specifics are then a
matter of taste.  :-)

Thanks,
Ludo’.

  reply	other threads:[~2018-12-02 14:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <877eh1otpy.fsf@gmail.com>
2018-11-28 17:17 ` btrfs and subvolumes for root, take 2 Ludovic Courtès
2018-12-02  4:51   ` Fredrik Salomonsson
2018-12-02 14:31     ` Ludovic Courtès [this message]
2018-12-03  1:56       ` Fredrik Salomonsson

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

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

  git send-email \
    --in-reply-to=87efb0ngoy.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=plattfot@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.