help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error system reconfigure with guix-latest


From: 宋文武
Subject: Re: Error system reconfigure with guix-latest
Date: Sun, 04 Mar 2018 23:01:59 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Jone <address@hidden> writes:

> Hello!
> I'm newbie. After update system (guix pull) I see this error:
>
> address@hidden ~# guix system -n reconfigure /etc/CURRENT.scm
> /etc/CURRENT.scm:37:24: error: you need these modules in the initrd for
> /dev/sdb2: sata_nv pata_acpi

Hello, this is due to recently added functinon to detect missing modules
in the initrd: <https://debbugs.gnu.org/30629>.

To fix it, you can use 'initrd-modules' instead of the 'initrd' field in
the 'operating-system' record.

>
> BUT:
> 1. Prior to this (before upgrade) everything was OK
> 2. sata_nv and pata_acpi already selected in CURRENT.scm:
>
> (operating-system
> (host-name "guix")
> (timezone "Europe/Moscow")
> (locale "en_US.utf8")
> (bootloader (bootloader-configuration
> (bootloader grub-bootloader)
> (target "/dev/sdd")))
> (initrd (lambda (file-systems . rest)
> (apply base-initrd file-systems
> #:extra-modules '("sata_nv" "pata_acpi")
> rest)))

This '#:extra-modules' usage is deprecated by the newly added
'initrd-modules' field in 'operating-system'.  For example:
<https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/examples/beaglebone-black.tmpl#n19>

> (file-systems (cons*
> (file-system
> (device "two")
> (mount-point "/")
> (type "ext4")
> (title 'label))
> (file-system
> (device "one")
> (mount-point "/home")
> (type "ext4")
> (title 'label))
> %base-file-systems))
>
> I didn't find any answers in GuixSD documentation..

Well, the guix info manual did got updated, but currently 'guix pull'
won't bring it, for reference: <https://debbugs.gnu.org/22629>.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]