From: Danny Milosavljevic <dannym@scratchpost.org>
To: Brendan Tildesley <brendan.tildesley@openmailbox.org>
Cc: 32313@debbugs.gnu.org
Subject: bug#32313: Failed to boot after reconfiguring with a btrfs drive.
Date: Tue, 31 Jul 2018 22:40:05 +0200 [thread overview]
Message-ID: <20180731224005.5c8af200@scratchpost.org> (raw)
In-Reply-To: <858aabfa-ef6e-c1fb-52f1-41eff9384a7f@openmailbox.org>
[-- Attachment #1: Type: text/plain, Size: 1775 bytes --]
Hi,
On Tue, 31 Jul 2018 12:04:54 +1000
Brendan Tildesley <brendan.tildesley@openmailbox.org> wrote:
> On 07/31/18 02:55, Danny Milosavljevic wrote:
> > Hi,
> >
> > hmm, where's the "file-systems" form in your system config?
> >
> > The first important part is whether your file-system entry is needed-for-boot? or not.
> >
> Sorry, I forgot to un-kill it before copying the whole definition. It's here
>
> (file-systems
> (cons*
> (file-system
> (device (file-system-label "1tb"))
> (mount-point "/mnt/1tb/")
> (type "btrfs"))
> (file-system
> ;;(device
> "/dev/disk/by-id/ata-Samsung_SSD_850_EVO_1TB_S2PWNX0J204086P-part1")
> (device (file-system-label "1ssd"))
> (mount-point "/")
> (type "ext4"))
> %base-file-systems))
So it defaults to needed-for-boot? #f.
I think this is a real bug.
There is code in Guix to create an initrd. It will also create a correct
modules.devname and also create a linux-boot module which will run on
system boot and set up some files in /dev (reading from modules.devname),
among those btrfs-control, IF THERE'S A btrfs FILESYSTEM WITH
needed-for-boot? #t .
Here there isn't. So the initrd won't create /dev/btrfs-control .
But when needed-for-boot? is #f that means the file system will be mounted
somewhen later (not in the initrd) when the root fs and store is already there.
That means there should be a shepherd service or activation part that
parses linux-libre*/modules.devname and creates the still-missing /dev entries.
Where is that part? It should be either a dependency of the part that mounts
the filesystem or just be right before it. So we need a backtrace...
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2018-07-31 20:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-30 15:25 bug#32313: Failed to boot after reconfiguring with a btrfs drive Brendan Tildesley
2018-07-30 16:55 ` Danny Milosavljevic
2018-07-31 2:04 ` Brendan Tildesley
2018-07-31 20:40 ` Danny Milosavljevic [this message]
2018-07-31 21:01 ` Danny Milosavljevic
2018-07-31 20:38 ` Danny Milosavljevic
2018-07-31 21:06 ` Danny Milosavljevic
2018-08-01 15:14 ` Brendan Tildesley
2018-08-01 1:58 ` Brendan Tildesley
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=20180731224005.5c8af200@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=32313@debbugs.gnu.org \
--cc=brendan.tildesley@openmailbox.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 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.